Isle
Loading...
Searching...
No Matches
tgl.h File Reference
#include "tglvector.h"
#include <d3d.h>
#include <ddraw.h>
#include <windows.h>
Include dependency graph for tgl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Tgl::PaletteEntry
 [AI] Represents a single color entry in a palette. More...
 
struct  Tgl::DeviceDirect3DCreateData
 [AI] Contains Direct3D-specific data needed to create a rendering device. More...
 
struct  Tgl::DeviceDirectDrawCreateData
 [AI] Contains DirectDraw-specific params for creating a rendering device. More...
 
class  Tgl::Object
 [AI] Utility for mesh data construction and conversion. [AI] More...
 
class  Tgl::Renderer
 [AI] Main interface/factory for rendering resources and scene graphs. More...
 
class  Tgl::Device
 [AI] Represents a rendering device/context for the Tgl renderer. More...
 
class  Tgl::View
 [AI] Represents a rendering viewport and drawing context. More...
 
class  Tgl::Camera
 [AI] Represents a viewpoint in the 3D scene. More...
 
class  Tgl::Light
 [AI] Represents a source of lighting in the 3D scene. More...
 
class  Tgl::Mesh
 [AI] Represents a renderable 3D mesh. More...
 
class  Tgl::Group
 [AI] Scene graph node for parental transforms/color/material/texture; can hold meshes or other groups. More...
 
class  Tgl::MeshBuilder
 [AI] Builder class for assembling mesh data and extracting mesh objects. More...
 
class  Tgl::Texture
 [AI] Represents a GPU or system memory texture for use in rendering. More...
 

Namespaces

namespace  Tgl
 [AI] Namespace containing all classes related to the 3D graphics abstraction/rendering engine.
 

Enumerations

enum  Tgl::ColorModel { Tgl::Ramp , Tgl::RGB }
 [AI] Represents available color models for rendering. More...
 
enum  Tgl::ShadingModel {
  Tgl::Wireframe , Tgl::UnlitFlat , Tgl::Flat , Tgl::Gouraud ,
  Tgl::Phong
}
 [AI] Represents shading models available for rendering geometry. More...
 
enum  Tgl::LightType {
  Tgl::Ambient , Tgl::Point , Tgl::Spot , Tgl::Directional ,
  Tgl::ParallelPoint
}
 [AI] Types of lights supported in the renderer. More...
 
enum  Tgl::ProjectionType { Tgl::Perspective , Tgl::Orthographic }
 [AI] Projection modes for camera/view transforms. More...
 
enum  Tgl::TextureMappingMode { Tgl::Linear , Tgl::PerspectiveCorrect }
 [AI] Methods for mapping textures onto geometry. More...
 
enum  Tgl::MaterialMode { Tgl::FromParent , Tgl::FromFrame , Tgl::FromMesh }
 [AI] Determines how material properties are sourced for a group/mesh. More...
 
enum  Tgl::Result { Tgl::Error = 0 , Tgl::Success = 1 }
 [AI] Result type used throughout the Tgl API to report operation success or failure. More...
 

Functions

int Tgl::Succeeded (Result result)
 [AI] Returns whether a Tgl::Result indicates success. More...
 
RendererTgl::CreateRenderer ()
 [AI] Instantiates and returns a new Tgl::Renderer implementation. More...