|Microsoft DirectX 9.0|
The ID3DXRenderToEnvMap interface is used to generalize the process of rendering to environment maps.
BeginCube Begins a scene for an environmental cube map. BeginHemisphere Begins a scene for a hemisphere environment map. BeginParabolic Begins a scene for a parabolic environment map. BeginSphere Begins a scene for a spherical environment map. End
Ends a scene for an environmental map.
Ends the current scene if one is active and begins a new scene on the specified face.
Retrieves the description of the render surface.
Retrieves the Microsoft?Direct3D?device associated with the environment map.
Releases all references to video memory resources and deletes all stateblocks.
Should be called after the device has been reset.
An environment map is used to texture-map scene geometry to provide a more sophisticated scene without using complex geometry. This interface supports creating surfaces for the following kinds of geometry: cube, half sphere or hemispheric, parabolic, or sphere. An example using a cubic environment map is in the Cube Map Sample.
The ID3DXRenderToEnvMap interface is obtained by calling the D3DXCreateRenderToEnvMap function.
The LPD3DXRenderToEnvMap type is defined as a pointer to the ID3DXRenderToEnvMap interface.typedef interface ID3DXRenderToEnvMap* LPD3DXRenderToEnvMap;
Inherits from IUnknown Header d3dx9core.h Import library d3dx9.lib Minimum operating systems Windows 98