#include <GraphicsDeviceI.h>
Inheritance diagram for GraphicsDeviceI:
Public Methods | |
virtual Edit::DataBlockI * | create ()=0 |
Create new graphics device. | |
virtual PluginClass::SuperClassIdC | get_super_class_id () const |
Returns super class ID. | |
virtual bool | get_exclusive () const |
Returns true, if the device is excluseive. | |
virtual bool | init (HINSTANCE hInstance, HWND hParent, PajaTypes::int32 i32ID, PajaTypes::uint32 ui32Flags, PajaTypes::uint32 ui32Width=0, PajaTypes::uint32 ui32Height=0, PajaTypes::uint32 ui32BPP=0, PajaSystem::DeviceFeedbackC *pFeedback=0)=0 |
Intialises a created graphics device. | |
virtual void | destroy ()=0 |
Destroys a graphics device. | |
virtual void | flush ()=0 |
Flushes the current rendering buffer to screen. | |
virtual void | activate ()=0 |
Activates this device. | |
virtual HWND | get_hwnd ()=0 |
Returns the wondow handle of this device. | |
virtual bool | configure ()=0 |
Launches the configuration dialog. | |
virtual bool | set_fullscreen (PajaTypes::uint32 ui32Width, PajaTypes::uint32 ui32Height, PajaTypes::uint32 ui32BPP=0)=0 |
Sets windowed or child device to full screen. | |
virtual bool | set_windowed ()=0 |
Sets windowed or child device to back to normal state. | |
virtual void | clear_device (PajaTypes::uint32 ui32Flags, const PajaTypes::ColorC &rColor=PajaTypes::ColorC(), PajaTypes::float32 f32Depth=1.0f, PajaTypes::int32 i32Stencil=0)=0 |
Clears the device. | |
virtual void | begin_draw ()=0 |
Starts drawing block. | |
virtual void | end_draw ()=0 |
Ends drawing block. | |
virtual void | begin_effects ()=0 |
Pushes current state and prepares effect drawing block. | |
virtual void | end_effects ()=0 |
Ends effect drawing block. | |
virtual void | set_size (PajaTypes::int32 int32X, PajaTypes::int32 int32Y, PajaTypes::int32 i32Width, PajaTypes::int32 i32Height)=0 |
Resizes the device viewport. | |
virtual GraphicsBufferI * | create_graphicsbuffer ()=0 |
Returns new graphics buffer. | |
virtual GraphicsBufferI * | set_render_target (GraphicsBufferI *pBuffer)=0 |
Sets rendering target. | |
Protected Methods | |
GraphicsDeviceI () | |
virtual | ~GraphicsDeviceI () |
|
Activates this device.
|
|
Starts drawing block.
|
|
Pushes current state and prepares effect drawing block.
|
|
Clears the device.
|
|
Launches the configuration dialog.
|
|
Create new graphics device.
Implements DataBlockI. |
|
Returns new graphics buffer. Use GraphicsBufferI::init() to initialize the graphics buffer before using it. |
|
Destroys a graphics device.
|
|
Ends drawing block.
|
|
Ends effect drawing block.
|
|
Flushes the current rendering buffer to screen.
|
|
Returns true, if the device is excluseive. If this method returns true, there can be only one instance of this device in the device context. Reimplemented from DeviceInterfaceI. |
|
Returns the wondow handle of this device.
|
|
Returns super class ID.
Implements DeviceInterfaceI. |
|
Intialises a created graphics device.
|
|
Sets windowed or child device to full screen.
|
|
Sets rendering target.
|
|
Resizes the device viewport.
|
|
Sets windowed or child device to back to normal state.
|