MultiMesh.ColorFormat/colorFormat - multiple declarations
Function MultiMesh.colorFormat
Format of colors in color array that gets passed to shader.
MultiMesh . ColorFormat colorFormat() nothrow @property @nogc;
void colorFormat
(
long v
) nothrow @property @nogc;
Enum MultiMesh.ColorFormat
enum ColorFormat
: int { ... }
Enum members
Name | Description |
---|---|
color8bit
|
Compress Color data into 8 bits when passing to shader. This uses less memory and can be faster, but the Color loses precision.
|
colorFloat
|
The Color passed into setInstanceColor will use 4 floats. Use this for highest precision Color .
|
colorNone
|
Use when you are not using per-instance Color s.
|