|
| | RendererImpl () |
| | [AI] Initializes renderer data to null. [AI] More...
|
| |
| | ~RendererImpl () override |
| | [AI] Destructor ensures Direct3DRM2 resources are freed. [AI] More...
|
| |
| void * | ImplementationDataPtr () override |
| | Returns implementation-specific data pointer (Direct3DRM2) [AI]. More...
|
| |
| Device * | CreateDevice (const DeviceDirectDrawCreateData &) override |
| | Creates a device from DirectDraw configuration [AI]. More...
|
| |
| Device * | CreateDevice (const DeviceDirect3DCreateData &) override |
| | Creates a device from Direct3D configuration [AI]. More...
|
| |
| View * | CreateView (const Device *, const Camera *, unsigned long x, unsigned long y, unsigned long width, unsigned long height) override |
| | Creates a view using provided device and camera [AI]. More...
|
| |
| Camera * | CreateCamera () override |
| | Creates a camera object [AI]. More...
|
| |
| Light * | CreateLight (LightType, float r, float g, float b) override |
| | Creates a light source with color and type [AI]. More...
|
| |
| Group * | CreateGroup (const Group *pParent) override |
| | Creates a new group under parent group [AI]. More...
|
| |
| MeshBuilder * | CreateMeshBuilder () override |
| | Creates a mesh builder for assembling geometry [AI]. More...
|
| |
| Texture * | CreateTexture (int width, int height, int bitsPerTexel, const void *pTexels, int pTexelsArePersistent, int paletteEntryCount, const PaletteEntry *pEntries) override |
| | Creates a texture from buffer data and palette [AI]. More...
|
| |
| Texture * | CreateTexture () override |
| | Creates an empty texture [AI]. More...
|
| |
| Result | SetTextureDefaultShadeCount (unsigned long) override |
| | Sets the number of default texture shades used [AI]. More...
|
| |
| Result | SetTextureDefaultColorCount (unsigned long) override |
| | Sets the number of default texture colors used [AI]. More...
|
| |
| HRESULT | CreateTextureFromSurface (LPDIRECTDRAWSURFACE pSurface, LPDIRECT3DRMTEXTURE2 *pTexture2) |
| | Creates a Direct3DRM texture from a DirectDraw surface [AI]. More...
|
| |
| const RendererDataType & | ImplementationData () const |
| | Retrieves the Direct3DRM2 pointer (const) [AI]. More...
|
| |
| RendererDataType & | ImplementationData () |
| | Retrieves the Direct3DRM2 pointer (mutable) [AI]. More...
|
| |
| Result | Create () |
| | Initializes Direct3DRM2 [AI]. More...
|
| |
| void | Destroy () |
| | Frees Direct3DRM2 resources [AI]. More...
|
| |
| Result | CreateLight (LightType type, float r, float g, float b, LightImpl &rLight) |
| | Helper for light creation with explicit output parameter [AI]. More...
|
| |
| Result | CreateView (const DeviceImpl &rDevice, const CameraImpl &rCamera, unsigned long x, unsigned long y, unsigned long width, unsigned long height, ViewImpl &rView) |
| | Helper for view creation [AI]. More...
|
| |
| Result | CreateMeshBuilder (MeshBuilderImpl &rMesh) |
| | Helper for mesh builder creation [AI]. More...
|
| |
| Result | CreateCamera (CameraImpl &rCamera) |
| | Helper for camera creation [AI]. More...
|
| |
| Result | CreateTexture (TextureImpl &rTexture) |
| | Helper for texture creation (empty) [AI]. More...
|
| |
| Result | CreateTexture (TextureImpl &rTexture, int width, int height, int bitsPerTexel, const void *pTexels, int texelsArePersistent, int paletteEntryCount, const PaletteEntry *pEntries) |
| | Helper for texture creation with buffer [AI]. More...
|
| |
| Result | CreateDevice (const DeviceDirect3DCreateData &rCreateData, DeviceImpl &rDevice) |
| | Helper for device creation (Direct3D) [AI]. More...
|
| |
| Result | CreateDevice (const DeviceDirectDrawCreateData &rCreateData, DeviceImpl &rDevice) |
| | Helper for device creation (DirectDraw) [AI]. More...
|
| |
| virtual Device * | CreateDevice (const DeviceDirectDrawCreateData &)=0 |
| | [AI] Creates a rendering device using DirectDraw parameters. More...
|
| |
| virtual Device * | CreateDevice (const DeviceDirect3DCreateData &)=0 |
| | [AI] Creates a rendering device using Direct3D parameters. More...
|
| |
| virtual View * | CreateView (const Device *, const Camera *, unsigned long x, unsigned long y, unsigned long width, unsigned long height)=0 |
| | [AI] Creates a rendering view associated with the given device and camera. More...
|
| |
| virtual Camera * | CreateCamera ()=0 |
| | [AI] Creates a new camera. More...
|
| |
| virtual Light * | CreateLight (LightType, float r, float g, float b)=0 |
| | [AI] Creates a new light of the given type and color. More...
|
| |
| virtual Group * | CreateGroup (const Group *pParent=0)=0 |
| | [AI] Creates a new group (scene graph node), optionally parented. More...
|
| |
| virtual MeshBuilder * | CreateMeshBuilder ()=0 |
| | [AI] Creates a new mesh builder. More...
|
| |
| virtual Texture * | CreateTexture (int width, int height, int bitsPerTexel, const void *pTexels, int pTexelsArePersistent, int paletteEntryCount, const PaletteEntry *pEntries)=0 |
| | [AI] Creates a new texture from raw texel buffer and optional palette. More...
|
| |
| virtual Texture * | CreateTexture ()=0 |
| | [AI] Creates an (empty) texture. More...
|
| |
| virtual Result | SetTextureDefaultShadeCount (unsigned long)=0 |
| | [AI] Sets the default number of shades to generate for textures. More...
|
| |
| virtual Result | SetTextureDefaultColorCount (unsigned long)=0 |
| | [AI] Sets the default number of colors to use for textures (likely palette size). More...
|
| |
| virtual | ~Object () |
| | [AI] Destructor; releases resources. More...
|
| |
| virtual void * | ImplementationDataPtr ()=0 |
| | [AI] Returns a pointer to internal/implementation data, if any. More...
|
| |
[AI] Implements Tgl::MeshBuilder; facilitates mesh construction [AI]
[AI] Implements the Tgl::Renderer interface with Direct3DRM2 as backend. Handles creation of rendering devices, cameras, lights, and scene graph objects. [AI]
Definition at line 55 of file impl.h.