|
API Documentation
|
|
|
void setAsWorldMatrixInvTranspose()
A memory slot in a memory resource.
Definition: ShaderMemorySlot.h:15
ShaderInstanceMemorySlot(System *system) noexcept
Main interface with the component system.
Definition: System.h:14
DATA_TYPE
Definition: ShaderInstanceMemorySlot.h:21
A custom slot, implementable by external code.
Definition: ShaderInstanceCustomSlot.h:12
@ CUSTOM
Custom instance slot, coming from external code.
virtual nkMemory::StringView getDataTypeAsString() const override
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
virtual void exportClassToTree(nkExport::Node *rootNode) override
@ WORLD_MATRIX
Instance's world matrix.
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
virtual ~ShaderInstanceMemorySlot()
void setAsCustom(ShaderInstanceCustomSlot *slot)
@ WORLD_MATRIX_INV_TRANSPOSE
Instance's world matrix, inversed and transposed.
nkMemory::StringView getSemanticName() const
@ UNKNOWN
Unknown place holder.
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
DATA_TYPE getType() const
virtual unsigned int getDataSize() const
virtual void importClassFromTree(nkExport::Node *rootNode) override
A memory slot for per instance data in a Shader.
Definition: ShaderInstanceMemorySlot.h:14