MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ ShaderBinding() [2/3]

MayaFlux::Buffers::ShaderBinding::ShaderBinding ( uint32_t  s,
uint32_t  b,
Portal::Graphics::DescriptorRole  role = Portal::Graphics::DescriptorRole::STORAGE,
uint32_t  c = 1 
)
inline

Construct with semantic role — preferred public API.

Definition at line 23 of file ShaderProcessor.hpp.

24 : set(s)
25 , binding(b)
27 , count(c)
28 {
29 }
size_t b
vk::DescriptorType to_vk_descriptor_type(DescriptorRole role)
Convert DescriptorRole to the corresponding vk::DescriptorType.
uint32_t binding
Binding point within set.
uint32_t set
Descriptor set index.
uint32_t count
Array count for array descriptors (default 1)