The interface for an input assembler state.
Synopsis
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] IInputAssembler
: public SharedObject
Base Classes
| Name | Description |
SharedObject | Base class for an object that can be shared. |
Type Aliases
Member Functions
| Name | Description |
~IInputAssembler [destructor] [virtual] | Destructor |
controlPoints [virtual] | The number of control points for a patch, if the topology is set to PrimitiveTopology::PatchList. |
indexBufferLayout [virtual] | Returns a pointer to the index buffer layout, or nullptr if the input assembler does not handle indices. |
shared_from_this | Returns a shared pointer to the current object instance. |
topology [virtual] | Returns the primitive topology. |
vertexBufferLayout [virtual] | Returns a pointer the vertex buffer layout for binding provided with binding. |
vertexBufferLayouts | Returns all vertex buffer layouts of the input assembly. |
weak_from_this | Returns a weak pointer to the current object instance. |
Protected Types
| Name | Description |
Allocator | An allocator used to allocate the shared object. |
Protected Member Functions
Protected Static Member Functions
| Name | Description |
create | Generic factory method used to create instances of the shared object. |
Derived Classes