Isle
|
[AI] Represents a rendering device/context for the Tgl renderer. More...
#include <tgl.h>
Public Member Functions | |
virtual unsigned long | GetWidth ()=0 |
[AI] Gets the output width in pixels. More... | |
virtual unsigned long | GetHeight ()=0 |
[AI] Gets the output height in pixels. More... | |
virtual Result | SetColorModel (ColorModel)=0 |
[AI] Sets the color model for rendering. More... | |
virtual Result | SetShadingModel (ShadingModel)=0 |
[AI] Sets the shading model (e.g., Gouraud, flat). More... | |
virtual Result | SetShadeCount (unsigned long)=0 |
[AI] Specifies the number of shades for rendering (possibly for palette/ramp mode). More... | |
virtual Result | SetDither (int)=0 |
[AI] Enables/disables dithering in the renderer. More... | |
virtual Result | Update ()=0 |
[AI] Performs a device update/synchronization. More... | |
virtual void | HandleActivate (WORD)=0 |
[AI] Handles window activation events (e.g., WM_ACTIVATE). More... | |
virtual void | HandlePaint (HDC)=0 |
[AI] Handles window repaint events (e.g., WM_PAINT) with a device context. More... | |
![]() | |
virtual | ~Object () |
[AI] Destructor; releases resources. More... | |
virtual void * | ImplementationDataPtr ()=0 |
[AI] Returns a pointer to internal/implementation data, if any. More... | |
[AI] Represents a rendering device/context for the Tgl renderer.
[AI]
[AI] Controls low-level rendering device state and update flow. [AI]
|
pure virtual |
[AI] Gets the output height in pixels.
[AI]
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Gets the output width in pixels.
[AI]
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Handles window activation events (e.g., WM_ACTIVATE).
[AI]
wParam | Window activation state. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Handles window repaint events (e.g., WM_PAINT) with a device context.
[AI]
hdc | Device context handle. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Sets the color model for rendering.
[AI]
model | Desired color model. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Enables/disables dithering in the renderer.
[AI]
on | Boolean-like toggle; nonzero to enable. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Specifies the number of shades for rendering (possibly for palette/ramp mode).
[AI]
count | Shade count. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Sets the shading model (e.g., Gouraud, flat).
[AI]
shadingModel | Desired shading type. [AI] |
Implemented in TglImpl::DeviceImpl.
|
pure virtual |
[AI] Performs a device update/synchronization.
[AI]
Implemented in TglImpl::DeviceImpl.