Skip to content

LiteFX::Rendering::Backends::DirectX12IndexBufferLayout::binding

Returns the binding point, the buffer will be bound to.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual UInt32 binding() const noexcept override;

Description

In GLSL, the binding point is identified by the binding keyword, whilst in HLSL the binding maps to a register.

Return Value

The binding point, the buffer will be bound to.