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

#include <MockComputeShader.h>

Inheritance diagram for sw::MockComputeShader:
ComputeShader IShader ResourceObject EngineObject

Public Member Functions

 MockComputeShader ()
 
virtual bool ReloadFromFile () override
 
virtual bool ReloadFromBinFile () override
 
virtual void SaveShaderBinFile (const std::wstring &fileName) override
 
- Public Member Functions inherited from ComputeShader
 ComputeShader ()=default
 
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 IShader
const std::wstring & GetShaderFile () const
 
const std::string & GetShaderEntry () const
 
- 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 MockComputeShaderCreateFromFile (const std::wstring &fileName, const std::string &shaderName, const char *shaderModel="cs_4_0")
 
static MockComputeShaderCreateFromBinFile (const std::wstring &fileName)
 

Protected Member Functions

 ~MockComputeShader ()
 
- Protected Member Functions inherited from ComputeShader
 ~ComputeShader ()=default
 
- Protected Member Functions inherited from IShader
 IShader ()
 
virtual ~IShader ()=default
 
- Protected Member Functions inherited from ResourceObject
virtual ~ResourceObject ()=default
 Nie każdy może skasować obiekt. More...
 

Private Member Functions

 RTTR_ENABLE (ComputeShader)
 

Additional Inherited Members

- Protected Attributes inherited from IShader
std::string m_shaderEntry
 Nazwa głownej funkcji shadera. More...
 
std::wstring m_shaderFile
 Ścieżka do pliku z shaderem. More...
 

Constructor & Destructor Documentation

sw::MockComputeShader::~MockComputeShader ( )
protected
sw::MockComputeShader::MockComputeShader ( )
explicit

Member Function Documentation

MockComputeShader * sw::MockComputeShader::CreateFromBinFile ( const std::wstring &  fileName)
static
MockComputeShader * sw::MockComputeShader::CreateFromFile ( const std::wstring &  fileName,
const std::string &  shaderName,
const char *  shaderModel = "cs_4_0" 
)
static
bool sw::MockComputeShader::ReloadFromBinFile ( )
overridevirtual

Implements IShader.

bool sw::MockComputeShader::ReloadFromFile ( )
overridevirtual

Implements IShader.

sw::MockComputeShader::RTTR_ENABLE ( ComputeShader  )
private
void sw::MockComputeShader::SaveShaderBinFile ( const std::wstring &  fileName)
overridevirtual

Implements IShader.


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