Common Framework

DirectX8

Microsoft DirectX 8.1

Common Framework

This source code is furnished to help you get up and running with DirectX more quickly. It is intended to illustrate how Direct3D works, and reduce the time it takes to build simple applications that allow you to experiment. It is used by the samples in the SDK. All of this source code lives in the Samples\Multimedia\Common\Src directory which can be installed during the SDK install.

This code is not intended to be cut and paste into a production application. This is not because it is poorly written, but rather that it is not designed for production. No attempt has been made to optimize it for performance. Very little error checking has been added as it obscures the functionality. Use to code to experiment with Direct3D to understand how it works.

ClassesNames
CD3DApplication
CD3DArcBall
CD3DCamera
CD3DFrame
CD3DFile
CD3DFont
CD3DMesh
CD3DScreenSaver
FunctionsNames
D3DUtil_CreateTexture
D3DUtil_CreateVertexShader
D3DUtil_GetCubeMapVertex
D3DUtil_GetRotationFromCursor
D3DUtil_InitMaterial
D3DUtil_InitLight
D3DUtil_SetColorKey
D3DUtil_SetDeviceCursor

StructuresNames
D3DModeInfo
D3DWindowedModeInfo
D3DDeviceInfo
D3DAdapterInfo
MonitorInfo
RenderUnit

MacrosNames

Error CodesNames