Fill3DTextureCallback Delegate |
Language: |
Represents the method that handles the FillTexture(VolumeTexture,Fill3DTextureCallback) or FillTexture(CubeTexture,Fill3DTextureCallback) call.
Visual Basic Public Delegate Sub Fill3DTextureCallback( _
ByVal texCoord As Vector3, _
ByVal texelSize As Vector3 _
)C# public delegate void Fill3DTextureCallback(
Vector3 texCoord,
Vector3 texelSize
);C++ public delegate void Fill3DTextureCallback(
Vector3 texCoord,
Vector3 texelSize
);JScript In JScript, you can use delegates, but you cannot define your own.
texCoord Microsoft.DirectX.Vector3
A Vector3 object that contains the coordinates of the texel currently being evaluated. See Remarks.texelSize Microsoft.DirectX.Vector3
A Vector3 object that contains the dimensions of the current texel.
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
Texture coordinate components range from 0 to 1 for textures and volume textures, and from -1 to 1 for cube textures.
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