![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
A descriptor is a data structure representing a shader resource such as a buffer, image or sampler.
Descriptors are organized into descriptor sets, which are bound during command recording for use in subsequent drawing commands. The arrangement of content in each descriptor set is determined by a descriptor layout, which determines what descriptors can be stored within it. The sequence of descriptor layouts that can be used by a pipeline is specified by creating a pipeline resources object.
Shaders access resources via variables decorated with a set/space number and a binding number that link them to a descriptor in a descriptor set.
There are a number of different resources types :