struct UniformBinding
Defined at line 16 of file ../../src/ui/lib/escher/renderer/uniform_binding.h
Struct that describes where to bind a range of uniform data. UniformBinding
is often used as per-frame data in a RenderQueue. In such cases, it is
common to allocate the struct itself via Frame::Allocate
<UniformBinding
>(),
and to allocate the uniform data to bind via Frame::AllocateUniform().
Public Members
uint32_t descriptor_set_index
uint32_t binding_index
Buffer * buffer
vk::DeviceSize offset
vk::DeviceSize size
Public Methods
void Bind (CommandBuffer * cb)
Defined at line 25 of file ../../src/ui/lib/escher/renderer/uniform_binding.h