Antkeeper  0.0.1
Public Attributes | List of all members
gl::vertex_input_attribute Struct Reference

Vertex input attribute. More...

#include <vertex-input-attribute.hpp>

Public Attributes

std::uint32_t location {0}
 Shader input location number for this attribute. More...
 
std::uint32_t binding {0}
 Binding number which this attribute takes its data from. More...
 
gl::format format {gl::format::undefined}
 Size and type of the vertex attribute data. More...
 
std::uint32_t offset {0}
 Byte offset of this attribute relative to the start of an element in the vertex input binding. More...
 

Detailed Description

Vertex input attribute.

Definition at line 29 of file vertex-input-attribute.hpp.

Member Data Documentation

◆ binding

std::uint32_t gl::vertex_input_attribute::binding {0}

Binding number which this attribute takes its data from.

Definition at line 35 of file vertex-input-attribute.hpp.

◆ format

gl::format gl::vertex_input_attribute::format {gl::format::undefined}

Size and type of the vertex attribute data.

Definition at line 38 of file vertex-input-attribute.hpp.

◆ location

std::uint32_t gl::vertex_input_attribute::location {0}

Shader input location number for this attribute.

Definition at line 32 of file vertex-input-attribute.hpp.

◆ offset

std::uint32_t gl::vertex_input_attribute::offset {0}

Byte offset of this attribute relative to the start of an element in the vertex input binding.

Definition at line 41 of file vertex-input-attribute.hpp.


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