Microsoft DirectX 8.1 (Visual Basic)

Direct3DDevice8

Applications use the methods of the Direct3DDevice8 class to perform DrawPrimitive-based rendering, create resources, work with system-level variables, adjust gamma ramp levels, and work with palettes.

The Direct3DDevice8 class is obtained by calling the Direct3D8.CreateDevice method.

The methods of the Direct3DDevice8 class can be organized into the following groups.

Cursors SetCursorPosition
  SetCursorProperties
  ShowCursor
Creation CreateAdditionalSwapChain
  CreateCubeTexture
  CreateDepthStencilSurface
  CreateImageSurface
  CreateIndexBuffer
  CreateRenderTarget
  CreateTexture
  CreateVertexBuffer
  CreateVolumeTexture
Device States ApplyStateBlock
  BeginStateBlock
  CaptureStateBlock
  CreateStateBlock
  DeleteStateBlock
  EndStateBlock
  GetClipStatus
  GetRenderState
  GetRenderTarget
  GetTransform
  SetClipStatus
  SetRenderState
  SetRenderTarget
  SetTransform
Gamma Ramps GetGammaRamp
  SetGammaRamp
High-Order Primitives DeletePatch
  DrawRectPatch
  DrawTriPatch
Index Data GetIndices
  SetIndices
Information GetAvailableTextureMem
  GetCreationParameters
  GetDeviceCaps
  GetDirect3D
  GetDisplayMode
  GetInfo
  GetRasterStatus
Lighting and Materials GetLight
  GetLightEnable
  GetMaterial
  LightEnable
  SetLight
  SetMaterial
Miscellaneous CopyRects
  MultiplyTransform
  ProcessVertices
  ResourceManagerDiscardBytes
  TestCooperativeLevel
Palettes GetCurrentTexturePalette
  GetPaletteEntries
  SetCurrentTexturePalette
  SetPaletteEntries
Pixel Shaders CreatePixelShader
  DeletePixelShader
  GetPixelShader
  GetPixelShaderConstant
  GetPixelShaderFunction
  SetPixelShader
  SetPixelShaderConstant
Presentation Present
  Reset
Rendering DrawIndexedPrimitive
  DrawIndexedPrimitiveUP
  DrawPrimitive
  DrawPrimitiveUP
Scenes BeginScene
  EndScene
Stream Data GetStreamSource
  SetStreamSource
Surfaces GetBackBuffer
  GetDepthStencilSurface
  GetFrontBuffer
Textures GetTexture
  GetTextureStageState
  SetTexture
  SetTextureStageState
  UpdateTexture
  ValidateDevice
User-Defined Clip Planes GetClipPlane
  SetClipPlane
Viewports Clear
  GetViewport
  SetViewport
Vertex Shaders CreateVertexShader
  DeleteVertexShader
  GetVertexShader
  GetVertexShaderConstant
  GetVertexShaderDeclaration
  GetVertexShaderFunction
  SetVertexShader
  SetVertexShaderConstant

See Also

Direct3D8.CreateDevice