|
CeresEngine 0.2.0
A game development framework
|
A class that offers high-level access to a GPUResourceSetBindings slot.
More...
#include <CeresEngine/RenderAPI/GPUResourceSet.hpp>
Public Attributes | |
| GPUResourceSetBindingsType & | bindings |
The bindings object that this TGPUResourceSetBindingSlot was created from. | |
| UInt32 | slot |
The slot the TGPUResourceSetBindingSlot object is representing. | |
Private Types | |
| using | GPUResourceSetBindingsType = std::conditional_t< Const, const GPUResourceSetBindings, GPUResourceSetBindings > |
Private Member Functions | |
| TGPUResourceSetBindingSlot (GPUResourceSetBindingsType &bindings, const UInt32 slot) | |
Creates a new TGPUResourceSetBindingSlot from an existing. | |
Friends | |
| class | GPUResourceSetBindings |
A class that offers high-level access to a GPUResourceSetBindings slot.
|
private |
|
inlineprivate |
Creates a new TGPUResourceSetBindingSlot from an existing.
| bindings | The bindings object to access values from. |
| slot | The slot index to be accessed. |
|
inline |
Adds a new GPUResourceBinding.
| binding | The value to set the binding to. |
|
inline |
Gets a GPUResourceBinding at the given index.
| index | The index of the binding to be retrieved. |
nullptr if it's not present on the resource binding set.
|
inline |
Gets a GPUResourceBinding at the given index.
| index | The index of the binding to be retrieved. |
nullptr if it's not present on the resource binding set.
|
inlineexplicitnoexcept |
|
inline |
Adds a new GPUResourceBinding.
| binding | The value to set the binding to. |
|
inline |
Sets the GPUResourceBinding for the given index.
binding.| binding | The value to set the binding to. |
|
inline |
Gets a GPUResourceBinding at the given index.
| index | The index of the binding to be retrieved. |
nullptr if it's not present on the resource binding set.
|
inline |
Gets a GPUResourceBinding at the given index.
| index | The index of the binding to be retrieved. |
nullptr if it's not present on the resource binding set.
|
inline |
Removes a GPUResourceBinding for the slot.
|
inline |
Removes a GPUResourceBinding for the given index.
| index | The index of the binding to be removed. |
|
inline |
Sets the GPUResourceBinding for the given index.
binding.| binding | The value to set the binding to. |
|
inline |
Sets the GPUResourceBinding for the given index.
| index | The index of the binding to be set. |
| binding | The value to set the binding to. |
|
inline |
Gets the number of GPUResourceBinding bound on the slot.
|
friend |
| GPUResourceSetBindingsType& CeresEngine::TGPUResourceSetBindingSlot< Const >::bindings |
The bindings object that this TGPUResourceSetBindingSlot was created from.
| UInt32 CeresEngine::TGPUResourceSetBindingSlot< Const >::slot |
The slot the TGPUResourceSetBindingSlot object is representing.