Skip to content

LiteFX::Rendering::BufferAttribute::semantic

Returns the semantic of the buffer attribute.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] AttributeSemantic semantic() 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 of the buffer attribute.

See Also

semanticIndex