Type:TextureFormat: Difference between revisions

From Resonite Wiki
link to unity, for comparision purpose
mNo edit summary
 
Line 39: Line 39:


== See also ==
== See also ==
* [https://github.com/Unity-Technologies/UnityCsReference/blob/2019.4/Runtime/Export/Graphics/GraphicsEnums.cs UnityCsReference definition]
* [https://github.com/Unity-Technologies/UnityCsReference/blob/2019.4/Runtime/Export/Graphics/GraphicsEnums.cs UnityEngine.TextureFormat source code]
* [https://docs.unity3d.com/2019.4/Documentation/ScriptReference/TextureFormat.html UnityEngine.TextureFormat on Unity Script Reference]
 
[[Category:Enums]]
[[Category:Enums]]
[[Category:Type]]
[[Category:Type]]


{{stub}}
{{stub}}

Latest revision as of 18:39, 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.