d3d9.dllBeginParabolic
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXRenderToEnvMap::BeginParabolic Method


Initiate the rendering of a parabolic environment map.

Syntax

HRESULT BeginParabolic(      

    LPDIRECT3DTEXTURE9 pTexZPos,     LPDIRECT3DTEXTURE9 pTexZNeg );

Parameters

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

Return Value

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be one of the following:

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.


Remarks

See ID3DXRenderToEnvMap::Face to draw the faces.

See Also

ID3DXRenderToEnvMap::End


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.