MDLTextureChannelEncoding MDLTextureChannelEncoding Enum

Definition

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

public enum MDLTextureChannelEncoding
type MDLTextureChannelEncoding = 
Inheritance
MDLTextureChannelEncodingMDLTextureChannelEncoding

Fields

Float16 Float16 258

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

Float16SR Float16SR 770
Float32 Float32 260

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

UInt16 UInt16 2

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

UInt24 UInt24 3

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

UInt32 UInt32 4

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

UInt8 UInt8 1

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

Applies to