MayaFlux 0.3.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 
)
inline

Construct with semantic role — preferred public API.

Definition at line 22 of file ShaderProcessor.hpp.

23 : set(s)
24 , binding(b)
26 {
27 }
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.