cohtml.ConstantBuffers

Public Functions

Name
ConstantBuffers()
boolCreateCB(CBType type, ConstantBufferObject obj, uint size)
voidDestroyCB(ConstantBufferObject obj)
voidBuildCBMappingToData(IntPtr CBOUpdates, uint CBOUpdatesCount)
voidSetConstantBuffer(ConstantBufferObject obj, ref MaterialPropertyBlock propertyBlock)
voidSetPathInstanceId(uint cbIndices, ref MaterialPropertyBlock propertyBlock)
voidUpdateConstantBuffer(UpdateConstantBufferCmd cmd, ref MaterialPropertyBlock propertyBlock)

Public Functions Documentation

function ConstantBuffers

ConstantBuffers()

function CreateCB

bool CreateCB(
    CBType type,
    ConstantBufferObject obj,
    uint size
)

function DestroyCB

void DestroyCB(
    ConstantBufferObject obj
)

function BuildCBMappingToData

void BuildCBMappingToData(
    IntPtr CBOUpdates,
    uint CBOUpdatesCount
)

function SetConstantBuffer

void SetConstantBuffer(
    ConstantBufferObject obj,
    ref MaterialPropertyBlock propertyBlock
)

function SetPathInstanceId

void SetPathInstanceId(
    uint cbIndices,
    ref MaterialPropertyBlock propertyBlock
)

function UpdateConstantBuffer

void UpdateConstantBuffer(
    UpdateConstantBufferCmd cmd,
    ref MaterialPropertyBlock propertyBlock
)