D3DXCreateTextureGutterHelper
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXCreateTextureGutterHelper Function


Creates an ID3DXTextureGutterHelper object from an input mesh and texture data.

Syntax

HRESULT WINAPI D3DXCreateTextureGutterHelper(      

    UINT Width,     UINT Height,     LPD3DXMESH pMesh,     FLOAT GutterSize,     LPD3DXTEXTUREGUTTERHELPER *ppBuffer );

Parameters

Width
[in] Width of the texture, in pixels.
Height
[in] Height of the texture, in pixels.
pMesh
[in] Pointer to an input ID3DXMesh mesh object.
GutterSize
[in] Number of texels by which to over-sample the texture and create the gutter region. Must be at least 1.
ppBuffer
[in, out] Pointer to an ID3DXTextureGutterHelper object to be created.

Return Value

If the function succeeds, the return value is S_OK.

If the function fails, the return value can be one of the following:

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.
E_OUTOFMEMORYDirect3D could not allocate sufficient memory to complete the call.


Remarks

Use D3DXConcatenateMeshes to transform a scene to new coordinates.

Function Information

Headerd3dx9mesh.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.