Nota
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tidħol jew tibdel id-direttorji.
L-aċċess għal din il-paġna jeħtieġ l-awtorizzazzjoni. Tista’ tipprova tibdel id-direttorji.
Associates an ID3DXTextureGutterHelper object with the ID3DXPRTBuffer object.
Syntax
HRESULT AttachGH(
[in] LPD3DXTEXTUREGUTTERHELPER pGH
);
Parameters
-
pGH [in]
-
Type: LPD3DXTEXTUREGUTTERHELPER
Pointer to the ID3DXTextureGutterHelper interface of an object that contains texture gutter data.
Return value
Type: HRESULT
If the method succeeds, the return value is D3D_OK.
Remarks
The reference count of the ID3DXTextureGutterHelper object will automatically be incremented by one. Any existing ID3DXTextureGutterHelper pointers will be released.
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