Isle
|
[AI] Main interface/factory for rendering resources and scene graphs. More...
#include <tgl.h>
Public Member Functions | |
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] Main interface/factory for rendering resources and scene graphs.
[AI]
[AI] Instantiated to provide devices, views, geometries, textures, lights, and cameras. [AI]
|
pure virtual |
[AI] Creates a new camera.
[AI]
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates a rendering device using Direct3D parameters.
[AI]
param | Creation parameters (Direct3D). [AI] |
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates a rendering device using DirectDraw parameters.
[AI]
param | Creation parameters (DirectDraw). [AI] |
Implemented in TglImpl::RendererImpl.
[AI] Creates a new group (scene graph node), optionally parented.
[AI]
pParent | Optional parent group (may be nullptr). [AI] |
Implemented in TglImpl::RendererImpl.
[AI] Creates a new light of the given type and color.
[AI]
type | Type of light. [AI] |
r | Red value. [AI] |
g | Green value. [AI] |
b | Blue value. [AI] |
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates a new mesh builder.
[AI]
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates an (empty) texture.
[AI]
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates a new texture from raw texel buffer and optional palette.
[AI]
width | Texture width. [AI] |
height | Texture height. [AI] |
bitsPerTexel | Bit depth of each texel. [AI] |
pTexels | Texel buffer. [AI] |
pTexelsArePersistent | Whether texels are persistent in memory. [AI] |
paletteEntryCount | Size of the palette. [AI] |
pEntries | Palette entries. [AI] |
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Creates a rendering view associated with the given device and camera.
[AI]
device | Rendering device. [AI] |
camera | Associated camera. [AI] |
x | View X position. [AI] |
y | View Y position. [AI] |
width | Viewport width. [AI] |
height | Viewport height. [AI] |
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Sets the default number of colors to use for textures (likely palette size).
[AI]
count | Color count. [AI] |
Implemented in TglImpl::RendererImpl.
|
pure virtual |
[AI] Sets the default number of shades to generate for textures.
[AI]
count | Number of shades. [AI] |
Implemented in TglImpl::RendererImpl.