Class UBORef
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public abstract class UBORef : IDisposable
- Inheritance
-
UBORef
- Implements
- Inherited Members
- Extension Methods
Fields
Handle
public int Handle
Field Value
Properties
Disposed
Am I disposed?
public bool Disposed { get; protected set; }
Property Value
Size
Size in Bytes
public int Size { get; set; }
Property Value
Methods
Bind()
public abstract void Bind()
Dispose()
Frees up any gpu allocated memory. Equivalent to calling api.Render.DeleteMesh()
public virtual void Dispose()
Unbind()
public abstract void Unbind()
Update(object, int, int)
public abstract void Update(object data, int offset, int size)
Parameters
Update<T>(T)
public abstract void Update<T>(T data) where T : struct
Parameters
data
T
Type Parameters
T
Update<T>(T, int, int)
public abstract void Update<T>(T data, int offset, int size) where T : struct
Parameters
Type Parameters
T