Microsoft DirectX 9.0 SDK Update (October 2004)

Fill2DTextureCallback Delegate

Language:

Note: This documentation is preliminary and is subject to change.

Represents the method that handles the FillTexture(Texture,Fill2DTextureCallback) call.

Definition

Visual Basic .NET Public Delegate Sub Fill2DTextureCallback( _
    ByVal texCoord As Vector2, _
    ByVal texelSize As Vector2 _
)
C# public sealed delegate void Fill2DTextureCallback(
    Vector2 texCoord,
    Vector2 texelSize
);
Managed C++ public: __gc __delegate void Fill2DTextureCallback(
    Vector2 texCoord,
    Vector2 texelSize
);
JScript .NET In JScript .NET, you can use delegates, but you cannot define your own.

Parameters

texCoord Microsoft.DirectX.Vector2. A Vector2 object that contains the coordinates of the texel currently being evaluated. See Remarks.
texelSize Microsoft.DirectX.Vector2. A Vector2 object that contains the dimensions of the current texel.

Delegate Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

Remarks

Texture coordinate components range from 0 to 1 for textures and volume textures, and from -1 to 1 for cube textures.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center