Public Member Functions | |
ConstantTexture (const PropertyList &props) | |
virtual std::string | toString () const override |
Return a brief string summary of the instance (for debugging purposes) | |
virtual T | eval (const Point2f &uv) override |
ConstantTexture (const PropertyList &props) | |
ConstantTexture (const PropertyList &props) | |
std::string | toString () const |
Return a brief string summary of the instance (for debugging purposes) | |
std::string | toString () const |
Return a brief string summary of the instance (for debugging purposes) | |
Public Member Functions inherited from Texture< T > | |
virtual EClassType | getClassType () const override |
Return the type of object (i.e. Mesh/Emitter/etc.) provided by this instance. | |
Public Member Functions inherited from NoriObject | |
virtual | ~NoriObject () |
Virtual destructor. | |
virtual void | addChild (NoriObject *child) |
Add a child object to the current instance. More... | |
virtual void | setParent (NoriObject *parent) |
Set the parent object. More... | |
virtual void | activate () |
Perform some action associated with the object. More... | |
void | setIdName (const std::string &name) |
Allow to assign a name to the object. | |
const std::string & | getIdName () const |
Protected Attributes | |
T | m_value |
Protected Attributes inherited from NoriObject | |
std::string | m_idname |
Additional Inherited Members | |
Public Types inherited from NoriObject | |
enum | EClassType { EScene = 0 , EMesh , ETexture , EBSDF , EPhaseFunction , EEmitter , EMedium , ECamera , EIntegrator , ESampler , ETest , EReconstructionFilter , EClassTypeCount } |
Static Public Member Functions inherited from NoriObject | |
static std::string | classTypeName (EClassType type) |
Turn a class type into a human-readable string. | |
Definition at line 24 of file consttexture.cpp.