Base class for shader resources. Those are resources that can be fed to a Shader. More...
Public Member Functions | |
virtual | ~ShaderResource () |
Public Member Functions inherited from nkGraphics::Resource | |
virtual | ~Resource () |
bool | isReadyForRendering () const |
bool | isUnloaded () const |
RESOURCE_LOAD_STATE | getLoadState () const |
nkMemory::StringView | getPath () const |
RESOURCE_TYPE | getTypeName () const |
nkMemory::StringView | getName () const |
System * | getSystem () const |
bool | getHidden () const |
bool | getGpuUploadCanBeDeferred () const |
virtual void | setPath (nkMemory::StringView value) |
void | setName (nkMemory::StringView value) |
void | setHidden (bool value) |
void | setGpuUploadCanBeDeferred (bool value) |
virtual bool | load ()=0 |
virtual void | unload ()=0 |
Base class for shader resources. Those are resources that can be fed to a Shader.
|
virtual |
Destructor.