Microsoft DirectX 8.1 (Visual Basic)

D3DX8

Applications use the methods of the D3DX8 class to simplify complicated tasks such as creating textures, manipulating meshes, drawing shapes, and assembling shaders.

An instance of the D3DX8 class is obtained by declaring an object variable and setting that variable to a new instance of D3DX8, as shown in the following code fragment.

Dim d3dx As D3DX8
Set d3dx = New D3DX8

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

Meshes BoxBoundProbe
  CleanMesh
  ComputeBoundingBox
  ComputeBoundingBoxFromMesh
  ComputeBoundingSphere
  ComputeBoundingSphereFromMesh
  ComputeNormals
  CreateBuffer
  CreateMesh
  CreateMeshFVF
  CreatePolygon
  CreateSkinMesh
  CreateSkinMeshFromMesh
  CreateSkinMeshFVF
  CreateSPMesh
  DeclaratorFromFVF
  FVFFromDeclarator
  GeneratePMesh
  Intersect
  LoadPMeshFromFile
  LoadSkinMeshFromXof
  LoadMeshFromX
  LoadMeshFromXof
  SaveMeshToX
  SavePMeshToFile
  SimplifyMesh
  SphereBoundProbe
  TessellateNPatches
  ValidMesh
Miscellaneous BufferGetBoneCombo
  BufferGetBoneComboBoneIds
  BufferGetBoneName
  BufferGetData
  BufferGetMaterial
  BufferGetTextureName
  BufferSetData
  CreateFont
  CreateRenderToSurface
  CreateSprite
  GetErrorString
  GetFVFVertexSize
Shaders AssembleShader
  AssembleShaderFromFile
Shapes CreateBox
  CreateCylinder
  CreateSphere
  CreateTeapot
  CreateText
  CreateTorus
Textures CheckCubeTextureRequirements
  CheckTextureRequirements
  CheckVolumeTextureRequirements
  CreateCubeTexture
  CreateCubeTextureFromFile
  CreateCubeTextureFromFileEx
  CreateCubeTextureFromFileInMemory
  CreateCubeTextureFromFileInMemoryEx
  CreateTexture
  CreateTextureFromFile
  CreateTextureFromFileEx
  CreateTextureFromFileInMemory
  CreateTextureFromFileInMemoryEx
  CreateTextureFromResource
  CreateTextureFromResourceEx
  CreateVolumeTexture
  FilterCubeTexture
  FilterTexture
  FilterVolumeTexture
  LoadSurfaceFromFile
  LoadSurfaceFromFileInMemory
  LoadSurfaceFromMemory
  LoadSurfaceFromResource
  LoadSurfaceFromSurface
  LoadVolumeFromMemory
  LoadVolumeFromVolume