ShaderCompiler::MemberInfo struct

Member of a struct or std140 uniform block.

Public variables

String Name
Member name.
GlslType Type
Data type of the member.
String TypeName
Name of the user struct type (only when Type is GlslType::Struct).
std::uint32_t ArraySize
Array element count, or 0 when the member is not an array.
bool SymbolicArray
Whether the array is sized by the symbolic BATCH_SIZE constant.
std::uint32_t Offset
std140 offset from the start of the aggregate
std::uint32_t ArrayStride
std140 element stride (arrays only)