28 #ifndef __COP2_SAMPLEGENERATOR_H__
29 #define __COP2_SAMPLEGENERATOR_H__
35 namespace HDK_Sample {
61 float t,
int xres,
int yres,
63 int max_threads)
override;
TIL_Sequence * cookSequenceInfo(OP_ERROR &error) override
*}
OP_ERROR error() override
constexpr SYS_FORCE_INLINE T & y() noexcept
COP2_ContextData * newContextData(const TIL_Plane *, int, float t, int xres, int yres, int thread, int max_threads) override
Evaluate parms and stash data for cooking in a COP2_ContextData object.
fpreal evalFloat(int pi, int vi, fpreal t) const
~COP2_SampleGenerator() override
static CH_LocalVariable myVariableList[]
~cop2_SampleGeneratorData() override
static OP_VariablePair myVariablePair
Simple COP generator example for the HDK.
constexpr SYS_FORCE_INLINE T & x() noexcept
static OP_TemplatePair myTemplatePair
Data class to hold parm values and data for COP2_SampleGenerator.
constexpr SYS_FORCE_INLINE T & z() noexcept
GLuint const GLchar * name
cop2_SampleGeneratorData()
**Note that the tasks the is the thread number *for the or if it s being executed by a non pool thread(this *can happen in cases where the whole pool is occupied and the calling *thread contributes to running the work load).**Thread pool.Have fun
static OP_Node * myConstructor(OP_Network *, const char *, OP_Operator *)
constexpr SYS_FORCE_INLINE T & w() noexcept
static PRM_Template myTemplateList[]
exint evalInt(int pi, int vi, fpreal t) const
OP_ERROR generateTile(COP2_Context &context, TIL_TileList *tilelist) override
Create the image data for a single tile list - multithreaded call.