DirectX SDK

Direct3DDevice7

The Direct3DDevice7 class provides methods enabling applications to perform DrawPrimitive-based rendering. You create a device by calling the Direct3D7.CreateDevice method.

For a conceptual overview, see Direct3D Devices and the DrawPrimitive Methods.

The methods of the Direct3DDevice7 class can be organized into the following groups:

Information GetCaps
  GetDirect3D
GetInfo
GetDeviceGuid
Device States ApplyStateBlock
  BeginStateBlock
CaptureStateBlock
CreateStateBlock
DeleteStateBlock
EndStateBlock
GetClipStatus
GetRenderState
GetRenderStateSingle
GetRenderTarget
GetTransform
SetClipStatus
SetRenderState
SetRenderStateSingle
SetRenderTarget
SetTransform
Lighting and Materials GetMaterial
  GetLight
GetLightEnable
LightEnable
SetMaterial
SetLight
Miscellaneous ComputeSphereVisibility
  MultiplyTransform
Rendering DrawIndexedPrimitive
  DrawIndexedPrimitiveVB
DrawPrimitive
DrawPrimitiveVB
Scenes BeginScene
  EndScene
Textures GetTexture
  GetTextureFormatsEnum
GetTextureStageState
GetTextureStageStateSingle
Load
PreLoad
SetTexture
SetTextureStageState
SetTextureStageStateSingle
ValidateDevice
User-defined clip planes GetClipPlane
  SetClipPlane
Viewports Clear
  GetViewport
SetViewport

This class contains methods to support more flexible vertex formats, vertex buffers, and visibility computation.

See Also

Direct3D Devices, Rendering