Skip to content

LiteFX::Rendering::BufferAttribute::location

Returns the location of the buffer attribute.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Description

Locations can only be specified in Vulkan and are implicitly generated based on semantics for DirectX. However, it is a good practice to provide them anyway.

Return Value

The location of the buffer attribute.