ID3DXPRTBuffer::ReleaseGH method
Unassociates an attached ID3DXTextureGutterHelper object with the ID3DXPRTBuffer object.
Syntax
HRESULT ReleaseGH();
Parameters
This method has no parameters.
Return value
Type: HRESULT
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
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for