DirectX10 Callbacks

The following callbacks are available in the DX10View CustomView API:

Management

  DX10View_GetContext Gets the context (tagDX10ViewGlobals data structure)

Management

  DX10View_IsSupported Returns whether or not DirectX 10 is supported on the current machine
  DX10View_Initialize Initializes the global DirectX 10 View Mode API library
  DX10View_InitializeWindow Creates and initializes a DirectX 10 swap chain, a render target, and depth/stencil view bound to the window handle parameter
  DX10View_InitViewport Helper for DX10View_InitViewport
  DX10View_Cleanup Performs a global cleanup of the DirectX 10 View Mode API library

Rendering

  DX10View_BeginRender Sets the current render targets and clears them with the given color
  DX10View_SetInitialState Reset blend state and the rasterizer state to the default states
  DX10View_EndRender Updates the window with all drawing calls since the last call to DX10View_BeginRender
  DX10View_DrawGeometry Draws the specified geometry in the DirectX 10 view

Upload

  DX10View_UploadTexture1D Uploads an ID3D10Texture1D texture to the DirectX 10 device
  DX10View_UploadTexture2D Uploads an ID3D10Texture2D to the DirectX 10 device.
  DX10View_UploadTexture3D Uploads an ID3D10Texture3D to the DirectX 10 device
  DX10View_UploadTextureCube Uploads an ID3D10Texture2D cube to the DirectX 10 device

See also:
tagDX10ViewGlobals, DirectX Utility Functions