LiteFX::Rendering::GlobalDescriptorHeaps::create¶
Creates a new descriptor heaps instance.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
template<typename TBackend>
[[nodiscard]] static UniquePtr<GlobalDescriptorHeaps> create(
UInt32 resourceDescriptors,
UInt32 samplerDescriptors);Return Value¶
A pointer to the newly created descriptor heaps instance.
Note
The return value should not be discarded.
Template Parameters¶
| Name | Description |
|---|---|
| TBackend | The type of the backend from which the global descriptor heaps are allocated. |
Parameters¶
| Name | Description |
|---|---|
| resourceDescriptors | The number of available resource descriptors. |
| samplerDescriptors | The number of available sampler descriptors. |