Expand description
Unity textures (Texture2D): the pixel format, the mip chain from the object or its streamed resource, colour
space, how the texture is used, and its sampler state.
Unity stores rows bottom first (row 0 is v = 0, its texture origin being bottom-left); the bytes are returned as stored.
Structs§
- Unity
Texture - A
Texture2Das stored.
Enums§
- Texture
Format - The pixel formats of Unity’s
TextureFormatthis reader names. Crunched formats (28, 29, 64, 65) need Unity’s crunch decoder and are refused.
Constants§
- USAGE_
NORMAL_ DXT5NM - Unity’s TextureUsageMode for a normal map stored as DXT5nm: X in alpha, Y in green.
- USAGE_
NORMAL_ PLAIN - Unity’s TextureUsageMode for a normal map stored as RGB.