Microsoft DirectX 8.1 (C++)

ID3DXRenderToEnvMap::BeginHemisphere

Begins a scene for a hemisphere environment map.

HRESULT BeginHemisphere(
  LPDIRECT3DTEXTURE8 pTexZPos,
  LPDIRECT3DTEXTURE8 pTexZNeg
);

Parameters

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

Return Values

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_INVALIDCALL
E_FAIL

Requirements

  Header: Declared in D3dx8core.h.
  Import Library: Use D3dx8.lib.

See Also

ID3DXRenderToEnvMap::End