Class MeshRef
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
A reference to a mesh that's been uploaded onto the graphics card (i.e. that has been placed in an OpenGL VAO). This reference can be used for rendering it. Open in GitHub
public abstract class MeshRef : IDisposable
- Inheritance
-
MeshRef
- Implements
- Inherited Members
- Extension Methods
Properties
Disposed
Am I disposed?
public bool Disposed { get; protected set; }
Property Value
Initialized
public abstract bool Initialized { get; }
Property Value
MultidrawByTextureId
public bool MultidrawByTextureId { get; protected set; }
Property Value
Methods
Dispose()
Frees up any gpu allocated memory. Equivalent to calling api.Render.DeleteMesh()
public virtual void Dispose()