Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Microsoft.Xna.Framework.Graphics.PackedVector Namespace

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

  Structure Description
Public structure Bgr565 Packed 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 structure Bgra4444 Packed vector type containing unsigned normalized values, ranging from 0 to 1, using 4 bits each for x, y, z, and w.
Public structure Bgra5551 Packed 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 structure Byte4 Packed vector type containing four 8-bit unsigned integer values, ranging from 0 to 255.
Public structure NormalizedByte2 Packed vector type containing two 8-bit signed normalized values, ranging from −1 to 1.
Public structure NormalizedByte4 Packed vector type containing four 8-bit signed normalized values, ranging from −1 to 1.
Public structure NormalizedShort2 Packed vector type containing two 16-bit signed normalized values, ranging from −1 to 1.
Public structure NormalizedShort4 Packed vector type containing four 16-bit signed normalized values, ranging from −1 to 1.
Public structure Short2 Packed vector type containing two 16-bit signed integer values.
Public structure Short4 Packed vector type containing four 16-bit signed integer values.
  Interface Description
Public interface IPackedVector Interface that converts packed vector types to and from Vector4 values, allowing multiple encodings to be manipulated in a generic way.
Public interface IPackedVector<TPacked> Converts packed vector types to and from Vector4 values.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.