PixEngineTextureFormatDesc structure

Represents a description of a texture format.

Syntax


typedef struct PixEngineTextureFormatDesc {
  int                  dxgiFormat;
  int                  dataFormat;
  int                  blockBytes;
  int                  blockHeight;
  int                  blockWidth;
  PixEngineChannelDesc channelX;
  PixEngineChannelDesc channelY;
  PixEngineChannelDesc channelZ;
  PixEngineChannelDesc channelW;
  PixEngineInt4        swizzle;
} PixEngineTextureFormatDesc;

Members

dxgiFormat

The DXGI format of the texture.

dataFormat

The data format of the texture.

blockBytes

The number of bytes in a data block.

blockHeight

The height (number samples in the Y axis) of the block.

blockWidth

The width (number of samples in the X axis) of the block.

channelX

Describes properties of the X channel. For more information, see the PixEngineChannelDescription structure.

channelY

Describes properties of the Y channel. For more information, see the PixEngineChannelDescription structure.

channelZ

Describes properties of the Z channel. For more information, see the PixEngineChannelDescription structure.

channelW

Describes properties of the W channel. For more information, see the PixEngineChannelDescription structure.

swizzle

Describes the swizzle (channel-swapping) applied to the sample.

Requirements

Header

Vspixengine.h

 

 

Community Additions

ADD
Show: