#include <TViewport.h>
Public Types | |
enum | ChangeEvent_ : ChangeEvent { ChangeEvent_BackgroundColor , ChangeEvent_MaxZ , ChangeEvent_MinZ , ChangeEvent_Height , ChangeEvent_Width , ChangeEvent_X , ChangeEvent_Y , ChangeEvent_AllocatorBlock , ChangeEvent_BackgroundClear , ChangeEvent_DepthClear } |
using | ChangeEvent = TUINT32 |
Public Member Functions | |
TViewport (TBOOL a_bFlag) | |
virtual | ~TViewport () |
virtual void | BeginSKU () |
virtual void | EndSKU () |
virtual void | ChangeSKU (ChangeEvent a_eEvent) |
TFLOAT | GetX () const |
TFLOAT | GetY () const |
TFLOAT | GetWidth () const |
TFLOAT | GetHeight () const |
void | Begin () |
void | End () |
TBOOL | AllowBackgroundClear (TBOOL allow) |
TBOOL | AllowDepthClear (TBOOL allow) |
void | Enable (TBOOL enable) |
TBOOL | EnableDefaultBeginRender (TBOOL enable) |
void | SetMemoryAllocatorBlock (TMemory::MemBlock *a_pMemBlock) |
void | SetX (TFLOAT value) |
void | SetY (TFLOAT value) |
void | SetWidth (TFLOAT value) |
void | SetHeight (TFLOAT value) |
void | SetMinZ (TFLOAT value) |
void | SetMaxZ (TFLOAT value) |
TRenderContext * | GetRenderContext () const |
void | SetBackgroundColor (TUINT8 r, TUINT8 g, TUINT8 b, TUINT8 a) |
void | GetBackgroundColor (TUINT8 &r, TUINT8 &g, TUINT8 &b, TUINT8 &a) |
Definition at line 7 of file TViewport.h.
using TViewport::ChangeEvent = TUINT32 |
Definition at line 10 of file TViewport.h.
Definition at line 11 of file TViewport.h.
TViewport::TViewport | ( | TBOOL | a_bFlag | ) |
Definition at line 12 of file TViewport.cpp.
|
virtual |
Definition at line 35 of file TViewport.cpp.
Definition at line 168 of file TViewport.cpp.
Definition at line 160 of file TViewport.cpp.
void TViewport::Begin | ( | ) |
Definition at line 183 of file TViewport.cpp.
|
virtual |
Definition at line 14 of file TViewport_DX8.cpp.
|
virtual |
Definition at line 57 of file TViewport_DX8.cpp.
void TViewport::Enable | ( | TBOOL | enable | ) |
Definition at line 155 of file TViewport.cpp.
Definition at line 148 of file TViewport.cpp.
void TViewport::End | ( | ) |
Definition at line 176 of file TViewport.cpp.
|
virtual |
Definition at line 52 of file TViewport_DX8.cpp.
Definition at line 57 of file TViewport.cpp.
TFLOAT TViewport::GetHeight | ( | ) | const |
Definition at line 190 of file TViewport.cpp.
TRenderContext * TViewport::GetRenderContext | ( | ) | const |
Definition at line 65 of file TViewport.cpp.
TFLOAT TViewport::GetWidth | ( | ) | const |
Definition at line 195 of file TViewport.cpp.
TFLOAT TViewport::GetX | ( | ) | const |
Definition at line 205 of file TViewport.cpp.
TFLOAT TViewport::GetY | ( | ) | const |
Definition at line 200 of file TViewport.cpp.
Definition at line 44 of file TViewport.cpp.
void TViewport::SetHeight | ( | TFLOAT | value | ) |
Definition at line 94 of file TViewport.cpp.
void TViewport::SetMaxZ | ( | TFLOAT | value | ) |
Definition at line 70 of file TViewport.cpp.
void TViewport::SetMemoryAllocatorBlock | ( | TMemory::MemBlock * | a_pMemBlock | ) |
Definition at line 142 of file TViewport.cpp.
void TViewport::SetMinZ | ( | TFLOAT | value | ) |
Definition at line 82 of file TViewport.cpp.
void TViewport::SetWidth | ( | TFLOAT | value | ) |
Definition at line 106 of file TViewport.cpp.
void TViewport::SetX | ( | TFLOAT | value | ) |
Definition at line 130 of file TViewport.cpp.
void TViewport::SetY | ( | TFLOAT | value | ) |
Definition at line 118 of file TViewport.cpp.