A dummy custom pass slot. More...
Public Member Functions | |
ShaderPassCustomDummySlot (System *system) noexcept | |
void | setTypeName (nkMemory::StringView value) |
virtual unsigned int | getDataByteSize () override |
virtual void | fillDataBuffer (void *buffer) override |
Public Member Functions inherited from nkGraphics::ShaderPassCustomSlot | |
ShaderPassCustomSlot (System *system) noexcept | |
virtual | ~ShaderPassCustomSlot () |
nkMemory::StringView | getTypeName () const |
A dummy custom pass slot.
Used as a place holder when importing shaders featuring custom slots. The dummy slot will have to be replaced by the application knowing about the precise custom slot to use, after resource loading.
|
noexcept |
Constructor.
system | The system the resource should live in. |
void nkGraphics::ShaderPassCustomDummySlot::setTypeName | ( | nkMemory::StringView | value | ) |
value | The type name to override. |
|
overridevirtual |
See SHaderPassCustomSlot::getDataByteSize().
Implements nkGraphics::ShaderPassCustomSlot.
|
overridevirtual |
See ShaderPassCustomSlot::fillDataBuffer().
Implements nkGraphics::ShaderPassCustomSlot.