Cortex
10.0.0-a4
|
#include <Renderer.h>
Public Member Functions | |
ExternalProcedural (const std::string &fileName, const Imath::Box3f &bound, const CompoundDataMap ¶meters) | |
const std::string & | fileName () const |
const CompoundDataMap & | parameters () const |
Imath::Box3f | bound () const override |
void | render (Renderer *renderer) const override |
MurmurHash | hash () const override |
![]() | |
IE_CORE_DECLAREMEMBERPTR (Procedural) | |
![]() | |
IE_CORE_DECLAREMEMBERPTR (RefCounted) | |
void | addRef () const |
Add a reference to the current object. | |
void | removeRef () const |
Remove a reference from the current object. | |
RefCount | refCount () const |
Returns the current reference count. | |
Additional Inherited Members | |
![]() | |
typedef size_t | RefCount |
![]() | |
static const Imath::Box3f | noBound |
A placeholder for specifying a procedural which the Renderer must load from a file on disk.
|
overridevirtual |
Returns a bounding box guaranteed to completely contain the geometry generated by the render() method.
Implements IECore::Renderer::Procedural.
|
overridevirtual |
Implement this to return a hash for procedural level instancing. Procedurals with the same hash will be reused by renderers that support this feature. If computing a sensible hash is difficult or impossible, return IECore::MurmurHash() from this function and this feature will be disabled.
Implements IECore::Renderer::Procedural.
|
overridevirtual |
Called when the renderer is ready to receive the procedural geometry. Any relevant methods of renderer may be called, but the geometry generated must be contained within the box returned by bound().
Implements IECore::Renderer::Procedural.