MDLTextureChannelEncoding Enum

Definition

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

public enum MDLTextureChannelEncoding
type MDLTextureChannelEncoding = 
Inheritance
MDLTextureChannelEncoding

Fields

Float16 258

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

Float16SR 770
Float32 260

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

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.

UInt8 1

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

Applies to