Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Attributes | List of all members
Program::StaticBufferState Struct Reference

Internal state for a static (external) uniform buffer. More...

Public Attributes

std::string name
 Name.
 
std::vector< VkBuffer > buffers = { VK_NULL_HANDLE}
 Native buffer handle.
 
std::vector< uint > offsets = {0}
 Start offset in the buffer.
 
uint size = 0
 Region size in the buffer.
 
uint count = 1
 Number of buffers bound at this slot.
 
uint lastSet = 0
 Keep track of one of the buffers that has been set (and is thus valid).
 
bool storage = false
 Is the buffer used as storage.
 

Detailed Description

Internal state for a static (external) uniform buffer.


The documentation for this struct was generated from the following file: