MayaFlux 0.5.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 24 of file ShaderProcessor.hpp.

25 : set(s)
26 , binding(b)
28 , count(c)
29 {
30 }
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)