www.BCB-Tools.com
Home of
RAD DirectX
for
C++ Builder
...
...
Please Register
So we can
create more
the TDx_Library
the TDx9_Library
|
TDx9_Graphics_Library v1.00 Component Reference
|
|
[ TDx9_Graphics_Library::TDx9_3DDevice ]
[ next: TDx9_3DIndexBuffer ]
[ prev: TDx9_3DCubeTexture ]
class TDx9_3DDevice : public TComponent
class PACKAGE TDx9_3DDevice : public TComponent
class type : Interface
TDX9_3DDEVICE
[ component ]
- Description
The TDx9_3DDevice component wraps the DirectX IDirect3DDevice9 interface which acts as the primary interface between the hardware adapter and the application.
Weighing in at 118 methods, this is the largest and most important component of the TDx9_Graphics_Library.
With it you can perform a large range of device related tasks, including:
Creation of cube, volume and standard textures, vertex and index buffers, vertex shaders and declarations, pixel shaders, status queries and state blocks, depth stencil, plain offscreen and render target surfaces as well as additional swap chains.
Beginning the scene, rendering primitives of indexed, indexed with a user memory pointer, non indexed or non indexed with a user memory pointer geometries, drawing rectangular or triangular patches and then ending the scene and presenting it for display.
Retrieve and define clipping planes and status, the texture palette, depth stencil surface, flexibile vertex format (FVF) settings, palette entries, gamma ramp, lighting, material, n patches, vertex and pixel shaders and vertex and pixel shader constants, render state and surface, sampler state, scissor rectangle, vertex processing mode and declarations, index data, device data stream source and frequency, texture stages and stage state, transform matrices and the viewport parameters.
Retrieve the cooperative level, available texture memory, ability to render the current texture blend settings, a back buffer surface, creation parameters or capabilities of the device, the associated TDx9_3D, display mode, a copy of front buffer or render target data, lighting status, number of implicit swap chains or a swap chain pointer and the monitor raster status.
In addition there are methods to clear or color fill surfaces, start and stop recording device state blocks, free higher order patches, evict all managed resources from device memory, define cursor position or properties, toggle lighting parameters or cursor display or dialog box mode, reset the swap chain, multiply matrices, process vertices, copy the same or different sized rectangles from one surface to another and update dirty texture regions.
TDx9_3D::CreateDevice() can be used to instantiate this component.
- Properties
- Methods
- Events
- SeeAlso
- Top
If you would like to submit additions or improvements to this page, click: [email protected].
|
|