struct
ColorVertex color.
Contents
Color4, however defaults to Color3 if MAGNUM_
Base classes
-
template<UnsignedInt location, class T>class Magnum::GL::Attribute
- Base class for attribute location and type.
Constructors, destructors, conversion operators
- Color(Components components, DataType dataType = DataType::Float, DataOptions dataOptions = {}) explicit constexpr
- Constructor.
- Color(DataType dataType = DataType::Float, DataOptions dataOptions = {}) deprecated explicit constexpr
- Constructor.
Function documentation
Magnum:: Shaders:: Generic:: Color:: Color(Components components,
DataType dataType = DataType::Float,
DataOptions dataOptions = {}) explicit constexpr
Constructor.
Parameters | |
---|---|
components | Component count |
dataType | Type of passed data |
dataOptions | Data options |
Magnum:: Shaders:: Generic:: Color:: Color(DataType dataType = DataType::Float,
DataOptions dataOptions = {}) explicit constexpr
Constructor.