nCine::RHI::PVR::PvrAttribute class

Reflected metadata of a single active vertex attribute (aliased as RHI::Attribute).

Public static variables

static std::uint32_t MaxNameLength constexpr

Constructors, destructors, conversion operators

PvrAttribute()
PvrAttribute(const char* name, ShaderCompiler::UniformType type, std::int32_t location)

Public functions

auto GetLocation() const -> std::int32_t
auto GetType() const -> ShaderCompiler::UniformType
auto GetName() const -> const char*
auto GetComponentCount() const -> std::int32_t