Nebula
|
Public Member Functions | |
MaterialBuffer (const char *name) | |
Ids::Id32 | Alloc () |
Allocate a new material. | |
INTERFACE_TYPE & | Get (Ids::Id32 id) |
Get material instance for updating. | |
void | Flush (const CoreGraphics::CmdBufferId id, const CoreGraphics::QueueType queue) |
Flush. | |
Public Attributes | |
Ids::IdGenerationPool | pool |
CoreGraphics::BufferCreateInfo | hostBufferCreateInfo |
CoreGraphics::BufferCreateInfo | deviceBufferCreateInfo |
INTERFACE_TYPE * | hostBufferData |
CoreGraphics::BufferId | hostBuffer |
CoreGraphics::BufferId | deviceBuffer |
Util::PinnedArray< 0xFFFF, INTERFACE_TYPE > | cpuBuffer |
bool | dirty |
|
inline |
|
inline |
Allocate a new material.
|
inline |
Flush.
|
inline |
Get material instance for updating.
Util::PinnedArray<0xFFFF, INTERFACE_TYPE> Materials::MaterialBuffer< INTERFACE_TYPE >::cpuBuffer |
CoreGraphics::BufferId Materials::MaterialBuffer< INTERFACE_TYPE >::deviceBuffer |
CoreGraphics::BufferCreateInfo Materials::MaterialBuffer< INTERFACE_TYPE >::deviceBufferCreateInfo |
bool Materials::MaterialBuffer< INTERFACE_TYPE >::dirty |
CoreGraphics::BufferId Materials::MaterialBuffer< INTERFACE_TYPE >::hostBuffer |
CoreGraphics::BufferCreateInfo Materials::MaterialBuffer< INTERFACE_TYPE >::hostBufferCreateInfo |
INTERFACE_TYPE* Materials::MaterialBuffer< INTERFACE_TYPE >::hostBufferData |
Ids::IdGenerationPool Materials::MaterialBuffer< INTERFACE_TYPE >::pool |