Home -> IRenderableNode
Declaration
class IRenderableNode :public IStateContainer;Description
The IRenderableNode interface represents a renderable object in the render tree. Renderable objects can only be added as children an IStateGroupNode. This node is responsible for defining an object to be drawn during the rendering process. Without at least one renderable node in the tree, the scene contains no content.
Enumerations
| Name | Description | |
|---|---|---|
| PrimitiveMode |
Specifies the available options for configuring the primitive drawing mode, as set by the SetPrimitiveMode method.
|
Structures
| Name | Description | |
|---|---|---|
| IndirectDrawParams |
Defines the command structure consumed for non-indexed indirect drawing.
|
|
| IndexedIndirectDrawParams |
Defines the command structure consumed for indexed indirect drawing.
|
Members
Initialization methods
| Name | Description | |
|---|---|---|
| Delete |
Schedules the object for deletion. After calling this method, the object will be destroyed after the current
frame completes drawing.
|
Binding methods
| Name | Description | |
|---|---|---|
| BindVertexAttribute |
Binds the specified vertex attribute to this renderable object
|
|
| BindVertexInstanceAttribute |
Binds the specified vertex instance attribute to this renderable object
|
|
| BindIndexAttribute |
Binds the specified index attribute to this renderable object
|
Primitive mode methods
| Name | Description | |
|---|---|---|
| SetPrimitiveMode |
Sets the primitive mode and associated settings
|
|
| SetVertexCount |
Sets the vertex count and associated vertex and index settings
|
|
| SetInstanceMode |
Configures the instance mode rendering for this object, allowing it to be drawn more than once.
|
|
| SetIndirectDraw |
Configures indirect drawing for this object, allowing draw settings to be sourced from an IDataArray
rather than set directly by application code.
|
Resource binding methods (Inherited from IStateContainer)
| Name | Description | |
|---|---|---|
| BindTextureWithCombinedSampler |
Creates a texture resource binding with a combined image sampler for the current shader program
|
|
| BindTexture |
Creates a texture resource binding for the current shader program
|
|
| UnbindTexture |
Removes a previously established texture resource binding, with or without a combined image sampler.
|
|
| BindSampler |
Creates a sampler resource binding for the current shader program
|
|
| UnbindSampler |
Removes a previously established sampler binding for the current shader program
|
|
| BindStateBuffer |
Creates a state buffer resource binding for the current shader program
|
|
| UnbindStateBuffer |
Removes a previously established state buffer binding for the current shader program
|
|
| BindResourceArray |
Creates a resource array binding for the current shader program
|
|
| UnbindResourceArray |
Removes a previously established resource array binding for the current shader program
|
State value methods (Inherited from IStateContainer)
| Name | Description | |
|---|---|---|
| SetStateValue |
Sets the current target shader state variable to the specified value for this node and any child nodes
|
|
| ResetStateValue |
Restores the target shader state variable to its default or inherited value
|
Debug methods
| Name | Description | |
|---|---|---|
| SetDebugName |
Sets a debug name for this renderable node, where supported by the renderer and native graphics API.
|