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

Vertex input binding. More...

#include <vertex-input-binding.hpp>

Public Attributes

std::uint32_t binding {0}
 Binding number that this structure describes. More...
 
std::uint32_t stride {0}
 Byte stride between consecutive elements within the buffer. More...
 
vertex_input_rate input_rate {vertex_input_rate::vertex}
 Specifies whether vertex attribute addressing is a function of the vertex index or of the instance index. More...
 

Detailed Description

Vertex input binding.

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

Member Data Documentation

◆ binding

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

Binding number that this structure describes.

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

◆ input_rate

vertex_input_rate gl::vertex_input_binding::input_rate {vertex_input_rate::vertex}

Specifies whether vertex attribute addressing is a function of the vertex index or of the instance index.

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

◆ stride

std::uint32_t gl::vertex_input_binding::stride {0}

Byte stride between consecutive elements within the buffer.

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


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