nCine::RHI::Software::SwAttribute 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

SwAttribute()
SwAttribute(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