Toast Engine
Loading...
Searching...
No Matches
assets::BrickEntry Struct Reference

Public Member Functions

constexpr auto tag () const noexcept -> BrickTag
constexpr auto payload () const noexcept -> uint32_t
constexpr auto isPooled () const noexcept -> bool
constexpr auto operator== (const BrickEntry &) const noexcept -> bool=default

Static Public Member Functions

static constexpr auto make (BrickTag tag, uint32_t payload) noexcept -> BrickEntry

Public Attributes

uint32_t value = 0

Member Function Documentation

◆ payload()

auto voxel::BrickEntry::payload ( ) const -> uint32_t
inlinenodiscardconstexprnoexcept
Returns
a palette index for uniform and a pool id for shared or owned

The documentation for this struct was generated from the following file: