SPARK
0.1.0
A general purpose game engine written in C++.
|
Describes a resource binding in a descriptor set. More...
#include <DescriptorBinding.h>
Public Attributes | |
std::optional< unsigned int > | binding = std::nullopt |
Binding point in the descriptor set. | |
std::variant< std::monostate, std::reference_wrapper< IBuffer >, std::reference_wrapper< IImage >, std::reference_wrapper< ISampler > > | resource |
Resource to bind or std::monostate if the binding is empty. | |
unsigned int | firstDescriptor = 0 |
Index of the descriptor array at which the resource array starts. | |
unsigned int | firstElement = 0 |
Index of the first element (layer for images) of the resource array to bind, starting at DescriptorBinding::firstDescriptor. | |
unsigned int | elements = 0 |
Number of elements or image layers to bind, starting at DescriptorBinding::firstDescriptor. | |
unsigned int | firstLevel = 0 |
If the resource is an IImage, this property specifies the first level to bind. | |
unsigned int | levels = 0 |
If the resource is an IImage, this property specifies the number of levels to bind. | |
Describes a resource binding in a descriptor set.
unsigned int spark::render::DescriptorBinding::elements = 0 |
Number of elements or image layers to bind, starting at DescriptorBinding::firstDescriptor.
unsigned int spark::render::DescriptorBinding::firstDescriptor = 0 |
Index of the descriptor array at which the resource array starts.
unsigned int spark::render::DescriptorBinding::firstElement = 0 |
Index of the first element (layer for images) of the resource array to bind, starting at DescriptorBinding::firstDescriptor.
unsigned int spark::render::DescriptorBinding::firstLevel = 0 |
If the resource is an IImage, this property specifies the first level to bind.
unsigned int spark::render::DescriptorBinding::levels = 0 |
If the resource is an IImage, this property specifies the number of levels to bind.