Skip to main content

VertexAttributeLayout Struct

Full binding description for one attribute in a vertex layout. More...

Declaration​

struct helios::engine::rendering::mesh::types::VertexAttributeLayout { ... }

Public Member Attributes Index​

VertexAttributeattribute

Logical attribute description. More...

std::uint32_tlocation

Shader input location index. More...

std::uint32_tstride

Byte stride between consecutive elements. More...

std::uint32_toffset

Byte offset to this attribute within one element. More...

std::uint32_tdivisor

Instance divisor (0 per-vertex, >0 instanced step rate). More...

Description​

Full binding description for one attribute in a vertex layout.

Definition at line 18 of file VertexAttributeLayout.ixx.

Public Member Attributes​

attribute​

VertexAttribute helios::engine::rendering::mesh::types::VertexAttributeLayout::attribute

Logical attribute description.

Definition at line 23 of file VertexAttributeLayout.ixx.

divisor​

std::uint32_t helios::engine::rendering::mesh::types::VertexAttributeLayout::divisor

Instance divisor (0 per-vertex, >0 instanced step rate).

Definition at line 43 of file VertexAttributeLayout.ixx.

43 std::uint32_t divisor;

location​

std::uint32_t helios::engine::rendering::mesh::types::VertexAttributeLayout::location

Shader input location index.

Definition at line 28 of file VertexAttributeLayout.ixx.

28 std::uint32_t location;

offset​

std::uint32_t helios::engine::rendering::mesh::types::VertexAttributeLayout::offset

Byte offset to this attribute within one element.

Definition at line 38 of file VertexAttributeLayout.ixx.

38 std::uint32_t offset;

stride​

std::uint32_t helios::engine::rendering::mesh::types::VertexAttributeLayout::stride

Byte stride between consecutive elements.

Definition at line 33 of file VertexAttributeLayout.ixx.

33 std::uint32_t stride;

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


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.