#include <GteDrawTarget.h>
Classes | |
class | ListenerForDestruction |
Public Member Functions | |
void | AutogenerateRTMipmaps () |
DrawTarget (unsigned int numRenderTargets, DFType rtFormat, unsigned int width, unsigned int height, bool hasRTMipmaps=false, bool createRTStorage=true, DFType dsFormat=DF_UNKNOWN, bool createDSStorage=false) | |
DFType | GetDSFormat () const |
std::shared_ptr< TextureDS > const | GetDSTexture () const |
unsigned int | GetHeight () const |
unsigned int | GetNumTargets () const |
DFType | GetRTFormat () const |
std::shared_ptr< TextureRT > const | GetRTTexture (unsigned int i) const |
unsigned int | GetWidth () const |
bool | HasRTMipmaps () const |
bool | WantAutogenerateRTMipmaps () const |
virtual | ~DrawTarget () |
Static Public Member Functions | |
static void | SubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener) |
static void | UnsubscribeForDestruction (std::shared_ptr< ListenerForDestruction > const &listener) |
Protected Attributes | |
std::shared_ptr< TextureDS > | mDSTexture |
std::vector< std::shared_ptr< TextureRT > > | mRTTextures |
Static Private Attributes | |
static std::mutex | msLFDMutex |
static std::set< std::shared_ptr< ListenerForDestruction > > | msLFDSet |
Definition at line 17 of file GteDrawTarget.h.
|
virtual |
Definition at line 13 of file GteDrawTarget.cpp.
DrawTarget::DrawTarget | ( | unsigned int | numRenderTargets, |
DFType | rtFormat, | ||
unsigned int | width, | ||
unsigned int | height, | ||
bool | hasRTMipmaps = false , |
||
bool | createRTStorage = true , |
||
DFType | dsFormat = DF_UNKNOWN , |
||
bool | createDSStorage = false |
||
) |
Definition at line 25 of file GteDrawTarget.cpp.
void DrawTarget::AutogenerateRTMipmaps | ( | ) |
Definition at line 134 of file GteDrawTarget.cpp.
DFType DrawTarget::GetDSFormat | ( | ) | const |
Definition at line 106 of file GteDrawTarget.cpp.
std::shared_ptr< TextureDS > const DrawTarget::GetDSTexture | ( | ) | const |
Definition at line 129 of file GteDrawTarget.cpp.
unsigned int DrawTarget::GetHeight | ( | ) | const |
Definition at line 84 of file GteDrawTarget.cpp.
unsigned int DrawTarget::GetNumTargets | ( | ) | const |
Definition at line 57 of file GteDrawTarget.cpp.
DFType DrawTarget::GetRTFormat | ( | ) | const |
Definition at line 62 of file GteDrawTarget.cpp.
Definition at line 117 of file GteDrawTarget.cpp.
unsigned int DrawTarget::GetWidth | ( | ) | const |
Definition at line 73 of file GteDrawTarget.cpp.
bool DrawTarget::HasRTMipmaps | ( | ) | const |
Definition at line 95 of file GteDrawTarget.cpp.
|
static |
Definition at line 156 of file GteDrawTarget.cpp.
|
static |
Definition at line 165 of file GteDrawTarget.cpp.
bool DrawTarget::WantAutogenerateRTMipmaps | ( | ) | const |
Definition at line 145 of file GteDrawTarget.cpp.
|
protected |
Definition at line 71 of file GteDrawTarget.h.
|
protected |
Definition at line 70 of file GteDrawTarget.h.
|
staticprivate |
Definition at line 75 of file GteDrawTarget.h.
|
staticprivate |
Definition at line 76 of file GteDrawTarget.h.