Export (0) Print
Expand All

Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Represents data types with components that are not multiples of 8 bits.

NameDescription
Public InterfaceIPackedVectorConverts packed vector types to and from Vector4 values.
Public InterfaceIPackedVector Interface that converts packed vector types to and from Vector4 values, allowing multiple encodings to be manipulated in a generic way.

NameDescription
Public StructureAlpha8Packed vector type containing a single 8 bit normalized W value in the range of 0 to 1.
Public StructureBgr565Packed vector type containing unsigned normalized values ranging from 0 to 1. The x and z components use 5 bits, and the y component uses 6 bits.
Public StructureBgra5551Packed vector type containing unsigned normalized values, ranging from 0 to 1, using 5 bits each for x, y, and z, and 1 bit for w.
Public StructureByte4Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255.
Public StructureHalfSinglePacked vector type containing a single 16 bit floating point value.
Public StructureHalfVector2Packed vector type containing two 16-bit floating-point values.
Public StructureHalfVector4Packed vector type containing four 16-bit floating-point values.
Public StructureNormalized101010Packed vector type containing signed normalized values, ranging from −1 to 1, using 10 bits each for x, y, and z, and 2 bits for w.
Public StructureNormalizedByte2Packed vector type containing two 8-bit signed normalized values, ranging from −1 to 1.
Public StructureNormalizedByte4Packed vector type containing four 8-bit signed normalized values, ranging from −1 to 1.
Public StructureNormalizedShort2Packed vector type containing two 16-bit signed normalized values, ranging from −1 to 1.
Public StructureNormalizedShort4Packed vector type containing four 16-bit signed normalized values, ranging from −1 to 1.
Public StructureRg32Packed vector type containing two 16-bit unsigned normalized values, ranging from 0 to 1.
Public StructureRgba1010102Packed vector type containing unsigned normalized values, ranging from 0 to 1, using 10 bits each for x, y, and z, and 2 bits for w.
Public StructureRgba32Packed vector type containing four 8-bit unsigned normalized values, ranging from 0 to 1.
Public StructureRgba64Packed vector type containing four 16-bit unsigned normalized values, ranging from 0 to 1.
Public StructureShort2Packed vector type containing two 16-bit signed integer values.
Public StructureShort4Packed vector type containing four 16-bit signed integer values.
Public StructureUInt101010Packed vector type containing unsigned integer values, using 10 bits each for x, y, and z (ranging from 0 to 1023), and 2 bits for w (ranging from 0 to 3).

Community Additions

ADD
Show:
© 2014 Microsoft