nn::gfx::VertexAttributeStateInfo class

Base classes

template<class TData>
class DataContainer<VertexAttributeStateInfoData>

Public types

using DataType = VertexAttributeStateInfoData

Public static functions

static auto DataToAccessor(VertexAttributeStateInfoData* pData) -> Caster<DataContainer>
static auto DataToAccessor(const VertexAttributeStateInfoData* pData) -> Caster<const DataContainer>
static auto DataToAccessor(volatile VertexAttributeStateInfoData*) -> Caster<volatile DataContainer>
static auto DataToAccessor(const volatile VertexAttributeStateInfoData*) -> Caster<const volatile DataContainer>
static auto DataToAccessor(VertexAttributeStateInfoData& data) -> Caster<DataContainer>
static auto DataToAccessor(const VertexAttributeStateInfoData& data) -> Caster<const DataContainer>
static auto DataToAccessor(volatile VertexAttributeStateInfoData&) -> Caster<volatile DataContainer>
static auto DataToAccessor(const volatile VertexAttributeStateInfoData&) -> Caster<const volatile DataContainer>

Constructors, destructors, conversion operators

VertexAttributeStateInfo()

Public functions

void SetDefault()
void SetSemanticIndex(int i)
void SetShaderSlot(int s)
void SetBufferIndex(int i)
void SetOffset(ptrdiff_t o)
void SetFormat(AttributeFormat f)
void SetNamePtr(const char* n)
auto GetSemanticIndex() const -> int
auto GetShaderSlot() const -> int
auto GetBufferIndex() const -> int
auto GetOffset() const -> ptrdiff_t
auto GetFormat() const -> AttributeFormat
auto GetNamePtr() const -> const char*
auto ToData() -> Caster<VertexAttributeStateInfoData>
auto ToData() const -> Caster<const VertexAttributeStateInfoData>
auto ToData() volatile -> Caster<volatile VertexAttributeStateInfoData>
auto ToData() const volatile -> Caster<const volatile VertexAttributeStateInfoData>

Protected variables

uint8_t semanticIndex
char reserved2
int16_t shaderSlot
uint16_t bufferIndex
char reserved3
uint32_t offset
Bit32 format
detail::Ptr<const char> pName
char reserved

Typedef documentation

typedef VertexAttributeStateInfoData nn::gfx::VertexAttributeStateInfo::DataType

Function documentation

static Caster<DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(VertexAttributeStateInfoData* pData)

static Caster<const DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(const VertexAttributeStateInfoData* pData)

static Caster<volatile DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(volatile VertexAttributeStateInfoData*)

static Caster<const volatile DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(const volatile VertexAttributeStateInfoData*)

static Caster<DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(VertexAttributeStateInfoData& data)

static Caster<const DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(const VertexAttributeStateInfoData& data)

static Caster<volatile DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(volatile VertexAttributeStateInfoData&)

static Caster<const volatile DataContainer> nn::gfx::VertexAttributeStateInfo::DataToAccessor(const volatile VertexAttributeStateInfoData&)

Caster<VertexAttributeStateInfoData> nn::gfx::VertexAttributeStateInfo::ToData()

Caster<const VertexAttributeStateInfoData> nn::gfx::VertexAttributeStateInfo::ToData() const

Caster<volatile VertexAttributeStateInfoData> nn::gfx::VertexAttributeStateInfo::ToData() volatile

Caster<const volatile VertexAttributeStateInfoData> nn::gfx::VertexAttributeStateInfo::ToData() const volatile

Variable documentation

uint8_t nn::gfx::VertexAttributeStateInfo::semanticIndex

char nn::gfx::VertexAttributeStateInfo::reserved2

int16_t nn::gfx::VertexAttributeStateInfo::shaderSlot

uint16_t nn::gfx::VertexAttributeStateInfo::bufferIndex

char nn::gfx::VertexAttributeStateInfo::reserved3

uint32_t nn::gfx::VertexAttributeStateInfo::offset

Bit32 nn::gfx::VertexAttributeStateInfo::format

detail::Ptr<const char> nn::gfx::VertexAttributeStateInfo::pName

char nn::gfx::VertexAttributeStateInfo::reserved