DXLIMAPINFO structure

Describes sample indexes and weights used for linear interpolation.

Syntax


typedef struct DXLIMAPINFO {
  float          IndexFrac;
  unsigned short Index;
  BYTE           Weight;
} DXLIMAPINFO;

Members

IndexFrac

Not used.

Index

An unsigned short integer specifying the index of the sample to use in an interpolation or a filter.

Weight

A value of type BYTE that specifies the weight to apply when blending two samples. The first sample is weighted by Weight, and the second is weighted by the inverse of Weight. The weight should be a value ranging from 0 to 255.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

See also

DXLinearInterpolateArray

 

 

Show: