GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::FieldDescription Struct Reference

Description of a field in a field struct for a shader-read buffer. More...

#include <GREM/graphics/FieldDescription.hpp>

Public Attributes

FieldType type
 Field value type.
CStringView name
 Identifier that the field or array is accessed by in the shader source code.
size_t arrayElementCount
 Number of elements in the array, or 0 if not an array.

Detailed Description

Description of a field in a field struct for a shader-read buffer.

Member Data Documentation

◆ type

FieldType grem::graphics::FieldDescription::type

Field value type.

◆ name

CStringView grem::graphics::FieldDescription::name

Identifier that the field or array is accessed by in the shader source code.

◆ arrayElementCount

size_t grem::graphics::FieldDescription::arrayElementCount

Number of elements in the array, or 0 if not an array.


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