Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Static Public Member Functions | List of all members
sw::MockSwapChain Class Reference

#include <MockSwapChain.h>

Inheritance diagram for sw::MockSwapChain:
SwapChain ResourceObject EngineObject

Public Member Functions

 MockSwapChain (RenderTargetObject *screenRT)
 
 ~MockSwapChain ()
 
virtual void Present (int syncInterval) override
 
virtual void Resize (uint16 newWidth, uint16 newHeight) override
 
- Public Member Functions inherited from SwapChain
virtual ~SwapChain ()
 
ResourcePtr< RenderTargetObjectGetRenderTarget ()
 
virtual std::string GetResourceName () const override
 Zwraca nazwę zasobu. To może być nazwa pliku, na podstawie którego stworzono zasób, ale zasadniczo interpretacja jest dowolna. More...
 
- 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 MockSwapChainCreateScreenSwapChain (RenderTargetObject *screenRT)
 

Additional Inherited Members

- Protected Member Functions inherited from SwapChain
 SwapChain (RenderTargetObject *windowRT)
 
- Protected Member Functions inherited from ResourceObject
virtual ~ResourceObject ()=default
 Nie każdy może skasować obiekt. More...
 
- Protected Attributes inherited from SwapChain
ResourcePtr< RenderTargetObjectm_renderTarget
 

Constructor & Destructor Documentation

sw::MockSwapChain::MockSwapChain ( RenderTargetObject screenRT)
sw::MockSwapChain::~MockSwapChain ( )

Member Function Documentation

MockSwapChain * sw::MockSwapChain::CreateScreenSwapChain ( RenderTargetObject screenRT)
static
void sw::MockSwapChain::Present ( int  syncInterval)
overridevirtual

Implements SwapChain.

void sw::MockSwapChain::Resize ( uint16  newWidth,
uint16  newHeight 
)
overridevirtual

Implements SwapChain.


The documentation for this class was generated from the following files: