ID3DXPRTBuffer::ReleaseGH

Unassociates an attached ID3DXTextureGutterHelper object with the ID3DXPRTBuffer object.

HRESULT ReleaseGH();

Parameters

None.

Return Values

If the method succeeds, the return value is D3D_OK.

Remarks

This method releases the pointer to the ID3DXTextureGutterHelper interface.

You must ensure that the number of ID3DXPRTBuffer::AttachGH calls matches the number of ID3DXPRTBuffer::ReleaseGH calls. After calling ID3DXPRTBuffer::ReleaseGH, the pGH pointer returned by ID3DXPRTBuffer::AttachGH should no longer be used.

Requirements

Header: Declared in D3dx9mesh.h.

See Also

ID3DXPRTBuffer::AttachGH