Struct TextureHeader
Texture header structure.
Assembly: FlaxEngine.dll
File: Engine/Graphics/Textures/Types.h
Syntax
public struct TextureHeader
Constructors
TextureHeader()
Declaration
public TextureHeader()
TextureHeader(const TextureHeader_Deprecated& old)
Declaration
public TextureHeader(const TextureHeader_Deprecated& old)
Parameters
TextureHeader_Deprecated
old
|
Fields
CustomData
The custom data to be used per texture storage layer (faster access).
Declaration
public byte CustomData[10]
Field Value
byte
|
Depth
Depth in pixels
Declaration
public int32 Depth
Field Value
int32
|
Format
Height
Height in pixels
Declaration
public int32 Height
Field Value
int32
|
IsCubeMap
True if texture is a cubemap (has 6 array slices per mip).
Declaration
public byte IsCubeMap
Field Value
byte
|
IsSRGB
True if texture contains sRGB colors data
Declaration
public byte IsSRGB
Field Value
byte
|
MipLevels
Amount of mip levels
Declaration
public int32 MipLevels
Field Value
int32
|
NeverStream
True if disable dynamic texture streaming
Declaration
public byte NeverStream
Field Value
byte
|
TextureGroup
Texture group for streaming (negative if unused).
Declaration
public int32 TextureGroup
Field Value
int32
|
Type
Width
Width in pixels
Declaration
public int32 Width
Field Value
int32
|