Fill2DTextureCallback Delegate

Language:

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

Definition

Visual Basic Public Delegate Sub Fill2DTextureCallback( _
    ByVal texCoord As Vector2, _
    ByVal texelSize As Vector2 _
)
C# public delegate void Fill2DTextureCallback(
    Vector2 texCoord,
    Vector2 texelSize
);
C++ public delegate void Fill2DTextureCallback(
    Vector2 texCoord,
    Vector2 texelSize
);
JScript In JScript, 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Remarks

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

See Also


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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