Abstract hardware resource. More...
#include <mitsuba/render/shader.h>
Public Member Functions | |
virtual Shader * | createShader (Renderer *renderer) const |
virtual | ~HWResource () |
Abstract hardware resource.
Implementations provides support for functionality that are also able to live on the GPU. By default, the method 'createShader' just returns NULL
, which means that the BSDF/Light source/Texture/.. has not yet been ported to the GPU-based renderer.
|
inlinevirtual |