ID3DXRenderToEnvMap::BeginParabolic

Initiate the rendering of a parabolic environment map.

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 Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: D3DERR_INVALIDCALL.

E_FAIL

Remarks

See ID3DXRenderToEnvMap::Face to draw the faces.

Requirements

Header: Declared in D3dx9core.h.

See Also

ID3DXRenderToEnvMap::End