LiteFX::Rendering::StateResource::StateResource¶
Constructors
Synopses¶
Declared in <litefx/rendering_api.hpp>
Initializes a new state resource instance with a default name.
[[dllimport, dllexport]] StateResource();
Copy constructor
StateResource(StateResource const& other) = delete;
Move constructor
[[dllimport, dllexport]] StateResource(StateResource&& other) noexcept;
Initializes a new state resource instance.
[[dllimport, dllexport]] explicit StateResource(StringView name);
Parameters¶
| Name | Description |
|---|---|
| name | The name of the resource. |