A custom slot, implementable by external code. More...
Public Member Functions | |
ShaderPassCustomSlot (System *system) noexcept | |
virtual | ~ShaderPassCustomSlot () |
nkMemory::StringView | getTypeName () const |
virtual unsigned int | getDataByteSize ()=0 |
virtual void | fillDataBuffer (void *buffer)=0 |
A custom slot, implementable by external code.
|
noexcept |
Constructor.
system | The system the resource should live in. |
|
virtual |
Destructor.
nkMemory::StringView nkGraphics::ShaderPassCustomSlot::getTypeName | ( | ) | const |
|
pure virtual |
Implemented in nkGraphics::ShaderPassCustomDummySlot.
|
pure virtual |
A call to fill memory before a pass. The slot is supposed to write the data needed in the memory provided.
buffer | The pointer to the memory to write. |
Implemented in nkGraphics::ShaderPassCustomDummySlot.