39 using namespace HDK_Sample;
120 if (!attrib.isValid())
123 if (attrib.isValid())
void newSopOperator(OP_OperatorTable *table)
PRM_API const PRM_Type PRM_STRING
GA_Attribute * addFloatTuple(GA_AttributeOwner owner, GA_AttributeScope scope, const UT_StringHolder &name, int tuple_size, const GA_Defaults &defaults=GA_Defaults(0.0), const UT_Options *creation_args=0, const GA_AttributeOptions *attribute_options=0, GA_Storage storage=GA_STORE_REAL32, const GA_ReuseStrategy &reuse=GA_ReuseStrategy())
static PRM_Template myTemplateList[]
bool addOperator(OP_Operator *op, std::ostream *err=nullptr)
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
OP_ERROR cookMySop(OP_Context &context) override
void ATTRIBNAME(UT_String &str, fpreal t)
GLuint const GLchar * name
PRM_API const PRM_Type PRM_FLT_J
GLenum GLenum GLsizei void * table
void setManagesDataIDs(bool onOff)
const GA_Attribute * findFloatTuple(GA_AttributeOwner owner, GA_AttributeScope scope, const UT_StringRef &name, int min_size=1, int max_size=-1) const
~SOP_DetailAttrib() override
SYS_FORCE_INLINE void set(GA_Offset off, const T &val) const
SOP_DetailAttrib(OP_Network *net, const char *, OP_Operator *entry)
GA_RWHandleT< fpreal32 > GA_RWHandleF
OP_ERROR duplicateSource(unsigned index, OP_Context &context, GU_Detail *gdp, bool clean=true)