HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SOP_NodeVerb::PreCookedNodeInputs Class Reference

#include <SOP_NodeVerb.h>

+ Inheritance diagram for SOP_NodeVerb::PreCookedNodeInputs:

Public Member Functions

 PreCookedNodeInputs (const UT_Array< GU_ConstDetailHandle > &gdps)
 
exint nInputs () const override
 
bool hasInput (exint idx) const override
 Returns if the input is wired. More...
 
bool cookInput (exint idx) override
 
GU_DetailHandle inputGeo (exint idx) override
 
GU_DetailHandle unloadInput (exint idx, bool flushce) override
 
void markInputUnused (exint idx) override
 
- Public Member Functions inherited from SOP_NodeVerb::NodeInputs
 NodeInputs ()
 
virtual ~NodeInputs ()
 
 NodeInputs (const NodeInputs &)=delete
 
NodeInputsoperator= (const NodeInputs &)=delete
 

Protected Attributes

const UT_Array
< GU_ConstDetailHandle > & 
myGdps
 

Detailed Description

Definition at line 216 of file SOP_NodeVerb.h.

Constructor & Destructor Documentation

SOP_NodeVerb::PreCookedNodeInputs::PreCookedNodeInputs ( const UT_Array< GU_ConstDetailHandle > &  gdps)
inline

Definition at line 219 of file SOP_NodeVerb.h.

Member Function Documentation

bool SOP_NodeVerb::PreCookedNodeInputs::cookInput ( exint  idx)
inlineoverridevirtual

Demands the input be cooked. After this, the inputGeo() will return the contents. Returns false if the cook failed for some reason.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 231 of file SOP_NodeVerb.h.

bool SOP_NodeVerb::PreCookedNodeInputs::hasInput ( exint  idx) const
inlineoverridevirtual

Returns if the input is wired.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 224 of file SOP_NodeVerb.h.

GU_DetailHandle SOP_NodeVerb::PreCookedNodeInputs::inputGeo ( exint  idx)
inlineoverridevirtual

Returns an invalid handle if the input isn't wired or not yet cooked.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 237 of file SOP_NodeVerb.h.

void SOP_NodeVerb::PreCookedNodeInputs::markInputUnused ( exint  idx)
inlineoverridevirtual

Marks the given input used. Needed if the input isn't cooked, as unload will not mark it unused (as it must be marked such ASAP to free up earlier nodes)

Implements SOP_NodeVerb::NodeInputs.

Definition at line 251 of file SOP_NodeVerb.h.

exint SOP_NodeVerb::PreCookedNodeInputs::nInputs ( ) const
inlineoverridevirtual

Implements SOP_NodeVerb::NodeInputs.

Definition at line 223 of file SOP_NodeVerb.h.

GU_DetailHandle SOP_NodeVerb::PreCookedNodeInputs::unloadInput ( exint  idx,
bool  flushce 
)
inlineoverridevirtual

Unlocks/forgets the given input. Returns an invalid handle if not wired or not cooked.

Implements SOP_NodeVerb::NodeInputs.

Definition at line 244 of file SOP_NodeVerb.h.

Member Data Documentation

const UT_Array<GU_ConstDetailHandle>& SOP_NodeVerb::PreCookedNodeInputs::myGdps
protected

Definition at line 253 of file SOP_NodeVerb.h.


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