Isle
Loading...
Searching...
No Matches
impl.h File Reference
#include "compat.h"
#include "decomp.h"
#include "tgl/tgl.h"
#include <d3drm.h>
Include dependency graph for impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TglImpl::RendererImpl
 [AI] Implements Tgl::MeshBuilder; facilitates mesh construction [AI] More...
 
class  TglImpl::DeviceImpl
 [AI] Implements the Tgl::Device interface, encapsulates Direct3DRMDevice2 and provides rendering device operations. More...
 
class  TglImpl::ViewImpl
 [AI] Implementation of Tgl::View backed by Direct3DRMViewport, handles scene rendering, picking, and camera control. More...
 
class  TglImpl::CameraImpl
 [AI] Implementation of Tgl::Camera, wraps a Direct3DRMFrame2 and provides transformation management [AI] More...
 
class  TglImpl::LightImpl
 [AI] Implementation of Tgl::Light, wraps a Direct3DRMFrame2 and color data [AI] More...
 
class  TglImpl::MeshImpl
 [AI] Implementation of Tgl::Mesh, manages a mesh object and geometry data with group index [AI] More...
 
struct  TglImpl::MeshImpl::MeshData
 [AI] Holds D3DRMMesh pointer and group index for referencing geometry [AI] More...
 
class  TglImpl::GroupImpl
 [AI] Implementation of Tgl::Group, wraps a Direct3DRMFrame2 and provides scene graph and transformation features [AI] More...
 
class  TglImpl::MeshBuilderImpl
 [AI] Implements Tgl::MeshBuilder, manages mesh construction and provides the interface for creating geometry buffers [AI] More...
 
class  TglImpl::TglD3DRMIMAGE
 [AI] Simple wrapper for D3DRMIMAGE; manages pixel buffer and palette for Direct3DRM textures [AI] More...
 
class  TglImpl::TextureImpl
 [AI] Implements Tgl::Texture using a Direct3DRMTexture; provides upload and palette control [AI] More...
 

Namespaces

namespace  TglImpl
 [AI] Forward declaration for Direct3DRMTexture interface [AI]
 

Typedefs

typedef LPVOID LPD3DRM_APPDATA
 [AI] Application data type varies by DirectX version [AI] More...
 

Functions

Result TglImpl::ResultVal (HRESULT result)
 Returns a Tgl Result value for HRESULT [AI]. More...
 
void TglImpl::RendererDestroy (IDirect3DRM2 *pRenderer)
 Destroys a Direct3DRM2 renderer object, manages global pointer [AI]. More...
 
void TglImpl::DeviceDestroy (IDirect3DRMDevice2 *pDevice)
 Releases (decreases ref count of) a Direct3DRMDevice2 [AI]. More...
 
void TglImpl::ViewDestroy (IDirect3DRMViewport *pView)
 Releases a Direct3DRMViewport [AI]. More...
 
void TglImpl::CameraDestroy (IDirect3DRMFrame2 *pFrame)
 Releases (decreases ref count) for a Direct3DRMFrame2 [AI]. More...
 
void TglImpl::LightDestroy (IDirect3DRMFrame2 *pLight)
 Releases a Direct3DRMFrame2 used as light [AI]. More...
 
void TglImpl::MeshDestroy (MeshImpl::MeshDataType pMesh)
 Destroys mesh data object [AI]. More...
 
void TglImpl::GroupDestroy (IDirect3DRMFrame2 *pGroup)
 Releases group/frame resource from Direct3DRM [AI]. More...
 
void TglImpl::MeshBuilderDestroy (IDirect3DRMMesh *pMeshBuilder)
 Releases a Direct3DRMMesh [AI]. More...
 
void TglImpl::TextureDestroy (IDirect3DRMTexture *pTexture)
 Releases texture and manages memory [AI]. More...
 
D3DRMRENDERQUALITY TglImpl::Translate (ShadingModel tglShadingModel)
 Converts Tgl shading model enum to D3DRM enum [AI]. More...
 
D3DRMPROJECTIONTYPE TglImpl::Translate (ProjectionType tglProjectionType)
 Converts Tgl projection type enum to D3DRM enum [AI]. More...
 
D3DRMMATRIX4DTglImpl::Translate (FloatMatrix4 &tglMatrix4x4, D3DRMMATRIX4D &rD3DRMMatrix4x4)
 Converts Tgl FloatMatrix4 to D3DRMMATRIX4D (no-op except for typing) [AI]. More...
 
D3DVECTORTglImpl::Translate (const float tglVector[3], D3DVECTOR &rD3DVector)
 Converts Tgl float vector to D3DVECTOR [AI]. More...
 
D3DRMLIGHTTYPE TglImpl::Translate (LightType tglLightType)
 Maps Tgl LightType to D3DRMLIGHTTYPE [AI]. More...
 

Variables

IDirect3DRM2 * TglImpl::g_pD3DRM = NULL
 [AI] Global pointer to Direct3DRM2, used to manage lifecycle [AI] More...
 

Typedef Documentation

◆ LPD3DRM_APPDATA

[AI] Application data type varies by DirectX version [AI]

Definition at line 10 of file impl.h.