Type:TextureFormat: Difference between revisions

From Resonite Wiki
Created page with "{{stub}} {{Table EnumValues |Unknown|0| |Alpha8|1| |R8|2| |RGB24|16| |ARGB32|17| |RGBA32|18| |BGRA32|19| |RGB565|24| |RGBAHalf|32| |ARGBHalf|33| |RHalf|34| |RGHalf|35| |RGBAFloat|48| |ARGBFloat|49| |RFloat|50| |RGFloat|51| |BC1|64| |BC2|65| |BC3|66| |BC4|67| |BC5|68| |BC6H|69| |BC7|70| |ETC2_RGB|96| |ETC2_RGBA1|97| |ETC2_RGBA8|98| |ASTC_4x4|128| |ASTC_5x5|129| |ASTC_6x6|130| |ASTC_8x8|131| |ASTC_10x10|132| |ASTC_12x12|133| }} Category:Enums Category:Type"
 
link to unity, for comparision purpose
Line 1: Line 1:
{{stub}}
TextureFormat describes how Texture's pixel are stored in the VRAM. Note that values are different from Unity's definition.
 
However, it may be valueable to understand corresponding.


{{Table EnumValues
{{Table EnumValues
Line 36: Line 38:
}}
}}


== See also ==
* [https://github.com/Unity-Technologies/UnityCsReference/blob/2019.4/Runtime/Export/Graphics/GraphicsEnums.cs UnityCsReference definition]
[[Category:Enums]]
[[Category:Enums]]
[[Category:Type]]
[[Category:Type]]
{{stub}}

Revision as of 18:37, 27 September 2024

TextureFormat describes how Texture's pixel are stored in the VRAM. Note that values are different from Unity's definition.

However, it may be valueable to understand corresponding.

Values
Name Value Description
Unknown 0
Alpha8 1
R8 2
RGB24 16
ARGB32 17
RGBA32 18
BGRA32 19
RGB565 24
RGBAHalf 32
ARGBHalf 33
RHalf 34
RGHalf 35
RGBAFloat 48
ARGBFloat 49
RFloat 50
RGFloat 51
BC1 64
BC2 65
BC3 66
BC4 67
BC5 68
BC6H 69
BC7 70
ETC2_RGB 96
ETC2_RGBA1 97
ETC2_RGBA8 98
ASTC_4x4 128
ASTC_5x5 129
ASTC_6x6 130
ASTC_8x8 131
ASTC_10x10 132
ASTC_12x12 133


See also


This article or section is a Stub. You can help the Resonite Wiki by expanding it.