Skip to content

LiteFX::Rendering::BufferAttribute::BufferAttribute

Constructors

Synopses

Declared in <litefx/rendering_api.hpp>

Initializes an empty buffer attribute.

[[dllimport, dllexport]] BufferAttribute() noexcept;

» more...

Creates a copy of a buffer attribute.

[[dllimport, dllexport]] BufferAttribute(BufferAttribute const& _other);

» more...

Takes over another instance of a buffer attribute.

[[dllimport, dllexport]] BufferAttribute(BufferAttribute&& _other) noexcept;

» more...

Initializes a new buffer attribute.

[[dllimport, dllexport]] BufferAttribute(
    UInt32 location,
    UInt32 offset,
    BufferFormat format,
    AttributeSemantic semantic,
    UInt32 semanticIndex = 0) noexcept;

» more...

Parameters

NameDescription
_otherThe buffer attribute instance to copy.
locationThe location the buffer attribute is bound to.
offsetThe offset of the attribute relative to the buffer.
formatThe format of the buffer attribute.
semanticThe semantic of the buffer attribute.
semanticIndexThe semantic index of the buffer attribute.