SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_VertexAttribute Struct Reference

Vertex attribute definition. More...

#include <sbgl_types.h>

Data Fields

uint32_t location
 
uint32_t offset
 
sbgl_Format format
 

Detailed Description

Vertex attribute definition.

Definition at line 166 of file sbgl_types.h.

Field Documentation

◆ format

sbgl_Format sbgl_VertexAttribute::format

Data format of the attribute.

Definition at line 169 of file sbgl_types.h.

◆ location

uint32_t sbgl_VertexAttribute::location

Shader input location.

Definition at line 167 of file sbgl_types.h.

◆ offset

uint32_t sbgl_VertexAttribute::offset

Byte offset within the vertex structure.

Definition at line 168 of file sbgl_types.h.


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