API Documentation
Public Member Functions | List of all members
nkGraphics::ShaderResource Class Reference

Base class for shader resources. Those are resources that can be fed to a Shader. More...

Inheritance diagram for nkGraphics::ShaderResource:
nkGraphics::Resource nkGraphics::Buffer nkGraphics::Texture

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
 
SystemgetSystem () 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
 

Detailed Description

Base class for shader resources. Those are resources that can be fed to a Shader.

Constructor & Destructor Documentation

◆ ~ShaderResource()

virtual nkGraphics::ShaderResource::~ShaderResource ( )
virtual

Destructor.


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