Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.54 KB

lpd3dxfill3d.md

File metadata and controls

69 lines (41 loc) · 1.54 KB
description ms.assetid title ms.topic ms.date
LPD3DXFILL3D - Function type used by the texture fill functions.
ab2f3005-150f-46e1-b75b-75c39e7feed1
LPD3DXFILL3D
reference
05/31/2018

LPD3DXFILL3D

Function type used by the texture fill functions.

Syntax

typedef VOID (WINAPI *LPD3DXFILL2D)(
    D3DXVECTOR4* pOut, 
    CONST D3DXVECTOR3* pTexCoord, 
    CONST D3DXVECTOR3* pTexelSize, 
    LPVOID pData,  
);

Parameters

pOut - Pointer to a vector, which the function uses to return its result. X, Y, Z, and W will be mapped to R, G, B, and A, respectively.

pTexCoord - Pointer to a vector containing the coordinates of the texel currently being evaluated. Texture coordinate components for texture and volume textures range from 0 to 1. Texture coordinate components for cube textures range from -1 to 1.

pTexelSize - Pointer to a vector containing the dimensions of the current texel.

pData - Pointer to user data.

Return Value

No return value.

Remarks

Be sure to specify the Windows Data Types calling convention when declaring the callback function. Otherwise, stack overflows can occur.

Requirement Value
Header d3dx9tex.h
Import Library d3dx9.lib
Minimum Operating System Windows 98

 

Related topics

Callback Functions

LPD3DXFILL2D