Sleeping Wombat GUI
0.100
swGUI
|
#include <MockPixelShader.h>
Public Member Functions | |
MockPixelShader () | |
virtual bool | ReloadFromFile () override |
virtual bool | ReloadFromBinFile () override |
virtual void | SaveShaderBinFile (const std::wstring &fileName) override |
void | SetFileName (const std::wstring &fileName) |
void | SetShaderName (const std::string &shaderName) |
Public Member Functions inherited from PixelShader | |
PixelShader ()=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 MockPixelShader * | CreateFromFile (const std::wstring &fileName, const std::string &shaderName, const char *shaderModel="vs_4_0") |
static MockPixelShader * | CreateFromBinFile (const std::wstring &fileName, const std::string &shaderName, const char *shaderModel="vs_4_0") |
Protected Member Functions | |
~MockPixelShader () | |
Protected Member Functions inherited from PixelShader | |
~PixelShader ()=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 (PixelShader) | |
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... | |
|
protected |
sw::MockPixelShader::MockPixelShader | ( | ) |
|
static |
|
static |
|
overridevirtual |
Implements IShader.
|
overridevirtual |
Implements IShader.
|
private |
|
overridevirtual |
Implements IShader.
|
inline |
|
inline |