|
@@ -166,6 +166,7 @@
|
|
</constant>
|
|
</constant>
|
|
<constant name="ARRAY_COMPRESS_COLOR" value="4096" enum="ArrayFormat">
|
|
<constant name="ARRAY_COMPRESS_COLOR" value="4096" enum="ArrayFormat">
|
|
Flag used to mark a compressed (half float) color array.
|
|
Flag used to mark a compressed (half float) color array.
|
|
|
|
+ [b]Note:[/b] If this flag is enabled, vertex colors will be stored as 8-bit unsigned integers. This will clamp overbright colors to [code]Color(1, 1, 1, 1)[/code] and reduce colors' precision.
|
|
</constant>
|
|
</constant>
|
|
<constant name="ARRAY_COMPRESS_TEX_UV" value="8192" enum="ArrayFormat">
|
|
<constant name="ARRAY_COMPRESS_TEX_UV" value="8192" enum="ArrayFormat">
|
|
Flag used to mark a compressed (half float) UV coordinates array.
|
|
Flag used to mark a compressed (half float) UV coordinates array.
|
|
@@ -193,6 +194,7 @@
|
|
</constant>
|
|
</constant>
|
|
<constant name="ARRAY_COMPRESS_DEFAULT" value="2194432" enum="ArrayFormat">
|
|
<constant name="ARRAY_COMPRESS_DEFAULT" value="2194432" enum="ArrayFormat">
|
|
Used to set flags [constant ARRAY_COMPRESS_VERTEX], [constant ARRAY_COMPRESS_NORMAL], [constant ARRAY_COMPRESS_TANGENT], [constant ARRAY_COMPRESS_COLOR], [constant ARRAY_COMPRESS_TEX_UV], [constant ARRAY_COMPRESS_TEX_UV2], [constant ARRAY_COMPRESS_WEIGHTS], and [constant ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION] quickly.
|
|
Used to set flags [constant ARRAY_COMPRESS_VERTEX], [constant ARRAY_COMPRESS_NORMAL], [constant ARRAY_COMPRESS_TANGENT], [constant ARRAY_COMPRESS_COLOR], [constant ARRAY_COMPRESS_TEX_UV], [constant ARRAY_COMPRESS_TEX_UV2], [constant ARRAY_COMPRESS_WEIGHTS], and [constant ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION] quickly.
|
|
|
|
+ [b]Note:[/b] Since this flag enables [constant ARRAY_COMPRESS_COLOR], vertex colors will be stored as 8-bit unsigned integers. This will clamp overbright colors to [code]Color(1, 1, 1, 1)[/code] and reduce colors' precision.
|
|
</constant>
|
|
</constant>
|
|
<constant name="ARRAY_VERTEX" value="0" enum="ArrayType">
|
|
<constant name="ARRAY_VERTEX" value="0" enum="ArrayType">
|
|
Array of vertices.
|
|
Array of vertices.
|