Sleeping Wombat GUI
0.100
swGUI
|
#include <MockRenderTarget.h>
Public Member Functions | |
MockRenderTarget (TextureObject *colorBuffer, TextureObject *depthBuffer, TextureObject *stencilBuffer) | |
uint16 | GetWidth () |
uint16 | GetHeight () |
void | SetHeight (uint16 value) |
void | SetWidth (uint16 value) |
Public Member Functions inherited from RenderTargetObject | |
RenderTargetObject (TextureObject *colorBuffer, TextureObject *depthBuffer, TextureObject *stencilBuffer) | |
virtual | ~RenderTargetObject () |
Destruktor kasuje obiekty tekstury głębokości i bufora koloru, jeżeli nie są używane. Jeżeli istnieją odwołania do tych obiektów, to nie są one kasowane, a jedynie usuwa się odwołania pochodzące od RenderTargetObject. More... | |
TextureObject * | GetColorBuffer () |
Zwraca obiekt bufora kolorów. More... | |
TextureObject * | GetDepthBuffer () |
Zwraca obiekt bufora głębokości. More... | |
TextureObject * | GetStencilBuffer () |
Zwraca obiekt bufora stencilu. More... | |
virtual std::string | GetResourceName () const override |
Public Member Functions inherited from ResourceObject | |
ResourceObject (int id) | |
void | SetID (unsigned int id) |
Ustawia identyfikator obiektu. More... | |
bool | CanDelete (unsigned int &objectRef) |
sprawdza czy można zwolnić zmienną More... | |
bool | CanDelete () |
Funkcja informuje czy obiekt są obiektu, które odwołują się do assetu. More... | |
void | AddAssetReference () |
Dodaje odwołanie plikowe do assetu. More... | |
void | AddObjectReference () |
Dodaje odwołanie bezpośrednie obiektu do assetu. More... | |
void | DeleteAssetReference () |
Kasuje odwołanie plikowe do assetu. More... | |
void | DeleteObjectReference () |
Kasuje odwołanie bezpośrednie obiektu do assetu. More... | |
unsigned int | GetID () |
Zwraca identyfikator nadany assetowi. More... | |
Public Member Functions inherited from EngineObject | |
TypeID | GetType () const |
std::string | GetTypeName () const |
virtual void | Serialize (ISerializer *ser) const |
Implements default serialization. Serializes only declared properties. More... | |
virtual void | Deserialize (IDeserializer *deser) |
Implements default deserialization. More... | |
virtual Size | MemorySize () |
template<typename TargetType > | |
TargetType * | DynamicCast () |
Static Public Member Functions | |
static MockRenderTarget * | CreateScreenRenderTarget () |
static MockRenderTarget * | CreateRenderTarget (const std::wstring &name, const RenderTargetDescriptor &renderTargetDescriptor) |
Protected Member Functions | |
~MockRenderTarget () | |
Protected Member Functions inherited from IRenderTarget | |
IRenderTarget () | |
virtual | ~IRenderTarget ()=default |
Protected Member Functions inherited from ResourceObject | |
virtual | ~ResourceObject ()=default |
Nie każdy może skasować obiekt. More... | |
Private Member Functions | |
RTTR_ENABLE (RenderTargetObject) | |
Static Private Member Functions | |
static bool | ValidateDescriptor (const RenderTargetDescriptor &renderTargetDescriptor) |
Private Attributes | |
uint16 | m_height |
uint16 | m_width |
Additional Inherited Members | |
Protected Attributes inherited from RenderTargetObject | |
ResourcePtr< TextureObject > | m_colorBuffer |
Pozwala na dostęp do bufora kolorów dla innych obiektów. Może być nullptrem. More... | |
ResourcePtr< TextureObject > | m_depthBuffer |
Pozwala na dostęp do bufora głębokości. Może być nullptrem. More... | |
ResourcePtr< TextureObject > | m_stencilBuffer |
Pozwala na dostęp do bufora stencil. Może być nulltrem. More... | |
|
protected |
sw::MockRenderTarget::MockRenderTarget | ( | TextureObject * | colorBuffer, |
TextureObject * | depthBuffer, | ||
TextureObject * | stencilBuffer | ||
) |
|
static |
|
static |
|
inline |
|
inline |
|
private |
|
inline |
|
inline |
|
staticprivate |
|
private |
|
private |