?/TD>
Microsoft DirectX 9.0

ID3DXRenderToEnvMap::BeginHemisphere Method


Begins a scene for a hemisphere environment map.

Syntax

HRESULT BeginHemisphere(      

    LPDIRECT3DTEXTURE9 pTexZPos,     LPDIRECT3DTEXTURE9 pTexZNeg );

Parameters

pTexZPos
[in] Pointer to an IDirect3DTexture9 interface that represents the positive texture render surface.
pTexZNeg
[in] Pointer to an IDirect3DTexture9 interface that represents the negative texture render surface.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.
E_FAILAn undetermined error occurred inside the Microsoft?Direct3D?subsystem.


See Also

ID3DXRenderToEnvMap::End


© 2002 Microsoft Corporation. All rights reserved.