Table of Contents

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

int

Properties

Disposed

Am I disposed?

public bool Disposed { get; protected set; }

Property Value

bool

Size

Size in Bytes

public int Size { get; set; }

Property Value

int

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

data object
offset int
size int

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

data T
offset int
size int

Type Parameters

T