12 #ifndef __OBJ_Light_h__
13 #define __OBJ_Light_h__
66 bool for_viewport =
true)
override;
90 int DEPTHSAMPLEX(
fpreal t);
91 int DEPTHSAMPLEY(
fpreal t);
99 int DEPTHCOMPRESSION(
fpreal t);
101 int DEPTHOFSIZE(
fpreal t);
105 int CLAMP_PROJMAP(
fpreal t);
106 int USEACTIVERADIUS(
fpreal t);
107 int CONELIGHT(
fpreal now);
118 int PHOTONDIRECT(
fpreal t);
123 int CPHOTONSSTORE(
fpreal t);
124 int CPHOTONSEMIT(
fpreal t);
125 int GIPHOTONSSTORE(
fpreal t);
126 int GIPHOTONSEMIT(
fpreal t);
149 {
return lightIndirect; }
155 static int *lightIndirect;
156 char *mySavedProjectMap;
GT_API const UT_StringHolder selection
GLsizei const GLchar *const * path
int * getIndirect() const override
void saveDialogScriptExtraInfo(std::ostream &os) override
static PRM_Template * getObsolete()
OBJ_OBJECT_TYPE getObjectType() const override
virtual void updateLightValue(fpreal t, bool for_viewport=true)
int collectPropertiesFromParms(PI_EditScriptedParms &editparms, UT_StringArray &names, PRM_ParmNameMap &nmap) override
GLuint const GLchar * name
int collectPropertiesFromChannels(PI_EditScriptedParms &editparms, UT_BitArray &selection, const CH_ChannelList &channels) override
virtual void vexBestShader(UT_String &str, fpreal t)=0
void resolveObsoleteParms(PRM_ParmList *obsolete_parms) override
virtual void vexBestShadow(UT_String &str, fpreal t)=0
static PRM_Template * getTemplateList()
OBJ_Light * castToOBJLight() override
static OP_Node * myConstructor(OP_Network *net, const char *name, OP_Operator *entry)
virtual void rmanBestShader(UT_String &str, fpreal t)=0
ImageBuf OIIO_API channels(const ImageBuf &src, int nchannels, cspan< int > channelorder, cspan< float > channelvalues={}, cspan< std::string > newchannelnames={}, bool shuffle_channel_names=false, int nthreads=0)