![]() |
![]() |
![]() |
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_INVALIDCALL The method call is invalid. For example, a method's parameter may have an invalid value. E_OUTOFMEMORY Direct3D could not allocate sufficient memory to complete the call.
Remarks
Use D3DXConcatenateMeshes to transform a scene to new coordinates.
Function Information
Header d3dx9mesh.h Import library d3dx9.lib Minimum operating systems Windows 98