Skip to content

Engine → Renderer → mesh_asset.h

packed_vertex_attributes

Syntax

struct packed_vertex_attributes

Variables

AccessNameTypeDefaultDescription
publiccolouru320xFFFFFFFFu
publicnormalstd::array<i16, 4>{0, 0, 0, 0}
publictangentstd::array<i16, 4>{0, 0, 0, 0}
publicuv0math::vec2math::vec2(0.0f)
publicuv1std::array<u16, 2>{0, 0}

Operator Overloads

Public

operator==

[[nodiscard]] bool operator==(
    const packed_vertex_attributes &other) const noexcept = default;