MDLTextureChannelEncoding Enum

Definition

Enumerates values that specify data types and sizes for texel channels.

public enum MDLTextureChannelEncoding
type MDLTextureChannelEncoding = 
Inheritance
MDLTextureChannelEncoding

Fields

Name Value Description
UInt8 1

Indicates that each channel is an unsigned 8-bit integer.

UInt16 2

Indicates that each channel is an unsigned 16-bit integer.

UInt24 3

Indicates that each channel is an unsigned 24-bit integer.

UInt32 4

Indicates that each channel is an unsigned 32-bit integer.

Float16 258

Indicates that each channel is a 16-bit floating-point number.

Float32 260

Indicates that each channel is a 32-bit floating-point number.

Float16SR 770

Applies to