Skip to content

LiteFX::Rendering::BufferAttribute::semanticIndex

Returns the semantic index of the buffer attribute.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] UInt32 semanticIndex() const noexcept;

Description

Semantics are only used in DirectX and HLSL, however it is a good practice to provide them anyway.

Return Value

The semantic index of the buffer attribute.

See Also

semantic