Edytuj

Udostępnij za pośrednictwem


MDLVertexFormat Enum

Definition

Enumerates vertex data descriptions.

public enum MDLVertexFormat
type MDLVertexFormat = 
Inheritance
MDLVertexFormat

Fields

Name Value Description
Invalid 0

Indicates an invalid format.

PackedBits 4096

Indicates a packed vector format.

UCharBits 65536

Indicates unsigned two's complement 8-bit values.

UChar 65537

Indicates one unsigned two's complement 8-bit value.

UChar2 65538

Indicates two unsigned two's complement 8-bit values.

UChar3 65539

Indicates three unsigned two's complement 8-bit values.

UChar4 65540

Indicates four unsigned two's complement 8-bit values.

CharBits 131072

Indicate 8-bit signed integer values.

Char 131073

Indicates a signed two's complement 8-bit value.

Char2 131074

Indicates two signed two's complement 8-bit values.

Char3 131075

Indicates three signed two's complement 8-bit values.

Char4 131076

Indicates four signed two's complement 8-bit values.

UCharNormalizedBits 196608

Indicates normalized unsigned two's complement 8-bit values.

UCharNormalized 196609

Indicates one normalized unsigned two's complement 8-bit values.

UChar2Normalized 196610

Indicates two normalized unsigned two's complement 8-bit values.

UChar3Normalized 196611

Indicates three normalized unsigned two's complement 8-bit values.

UChar4Normalized 196612

Indicates four normalized unsigned two's complement 8-bit values.

CharNormalizedBits 262144

Indicates a normalized 8-bit value.

CharNormalized 262145

Indicates a normalized 8-bit value.

Char2Normalized 262146

Indicates two normalized 8-bit values.

Char3Normalized 262147

Indicates three normalized 8-bit values.

Char4Normalized 262148

Indicates four normalized 8-bit values.

UShortBits 327680

Indicates 16-bit unsigned two's complement value.

UShort 327681

Indicates one 16-bit signed two's complement values.

UShort2 327682

Indicates two 16-bit unsigned two's complement values.

UShort3 327683

Indicates three 16-bit unsigned two's complement values.

UShort4 327684

Indicates four 16-bit unsigned two's complement values.

ShortBits 393216

Indicates 16-bit signed two's complement values.

Short 393217

Indicates one 16-bit signed two's complement value.

Short2 393218

Indicates two 16-bit signed two's complement values.

Short3 393219

Indicates three 16-bit signed two's complement values.

Short4 393220

Indicates four 16-bit signed two's complement values.

UShortNormalizedBits 458752

Indicates 16-bit normalized unsigned two's complement value.

UShortNormalized 458753

Indicates one 16-bit normalized unsigned two's complement value.

UShort2Normalized 458754

Indicates two 16-bit normalized unsigned two's complement values.

UShort3Normalized 458755

Indicates three 16-bit normalized unsigned two's complement values.

UShort4Normalized 458756

Indicates four 16-bit normalized unsigned two's complement values.

ShortNormalizedBits 524288

Indicates 16-bit signed two's complement values.

ShortNormalized 524289

Indicates one normalized 16-bit signed two's complement value.

Short2Normalized 524290

Indicates two normalized 16-bit signed two's complement values.

Short3Normalized 524291

Indicates three normalized 16-bit signed two's complement values.

Short4Normalized 524292

Indicates four normalized 16-bit signed two's complement values.

UIntBits 589824

Indicates 32-bit unsigned integer values.

UInt 589825

Indicates one 32-bit unsigned integer value.

UInt2 589826

Indicates two 32-bit unsigned integer values.

UInt3 589827

Indicates three 32-bit unsigned integer values.

UInt4 589828

Indicates four 32-bit unsigned integer values.

UInt1010102Normalized 593924

Indicates a packed 32-bit value with four unsigned two's complement integers arranged 10/10/10/2.

IntBits 655360

Indicates 32-bit two's complement values.

Int 655361

Indicates one 32-bit two's complement value.

Int2 655362

Indicates two 32-bit two's complement values.

Int3 655363

Indicates three 32-bit two's complement values.

Int4 655364

Indicates four 32-bit two's complement values.

Int1010102Normalized 659460

Indicates a packed 32-bit value with four signed two's complement integers arranged 10/10/10/2.

HalfBits 720896

Indicates half-precision floating point values.

Half 720897

Indicates one half-precision floating point value.

Half2 720898

Indicates two half-precision floating point values.

Half3 720899

Indicates three half-precision floating point values.

Half4 720900

Indicates four half-precision floating point values.

FloatBits 786432

Indicates single-precision floating point values.

Float 786433

Indicates one single-precision floating point value.

Float2 786434

Indicates two single-precision floating point values.

Float3 786435

Indicates three single-precision floating point values.

Float4 786436

Indicates four single-precision floating point values.

Applies to