Método ID3DXPRTBuffer::ReleaseGH

Desasocia un objeto ID3DXTextureGutterHelper adjunto con el objeto ID3DXPRTBuffer .

Sintaxis

HRESULT ReleaseGH();

Parámetros

Este método no tiene parámetros.

Valor devuelto

Tipo: HRESULT

Si el método se realiza correctamente, el valor devuelto es D3D_OK.

Comentarios

Este método libera el puntero a la interfaz ID3DXTextureGutterHelper .

Debe asegurarse de que el número de llamadas ID3DXPRTBuffer::AttachGH coincide con el número de llamadas ID3DXPRTBuffer::ReleaseGH . Después de llamar a ID3DXPRTBuffer::ReleaseGH, el puntero pGH devuelto por ID3DXPRTBuffer::AttachGH ya no debe usarse.

Requisitos

Requisito Value
Encabezado
D3DX9Mesh.h
Biblioteca
D3dx9.lib

Consulte también

ID3DXPRTBuffer

ID3DXPRTBuffer::AttachGH