12 #ifndef __OBJ_Ambient_h__
13 #define __OBJ_Ambient_h__
23 #define LIGHTBANK_PREFIX "lb:"
43 virtual void updateLightValue(
fpreal t,
44 bool for_viewport =
true);
45 virtual int isAmbient();
66 bool getLightLinkTag(
UT_String &tag,
bool create=
true);
70 bool removeLightLinkTag(
const char *tag);
74 bool createLightLinkTag(
const char *tag_suffix,
UT_String &tag);
82 int BIND_OGL_LIGHT(
fpreal t);
98 {
return ambientIndirect; }
108 static int *ambientIndirect;
GT_API const UT_StringHolder selection
bool cookedDataUsesAllParameters() const override
void getLightColor(fpreal &r, fpreal &g, fpreal &b, fpreal t)
int * getIndirect() const override
int collectPropertiesFromChannels(PI_EditScriptedParms &, UT_BitArray &selection, const CH_ChannelList &channels) override
GLboolean GLboolean GLboolean b
OBJ_Ambient * castToOBJAmbient() override
A map of string to various well defined value types.
OBJ_ReLightProxy * myRELightProxy
static PRM_Template * getTemplateList(OBJ_ParmsStyle style)
int collectPropertiesFromParms(PI_EditScriptedParms &, UT_StringArray &names, PRM_ParmNameMap &nmap) override
static PRM_Template * getObsolete()
OBJ_OBJECT_TYPE getObjectType() const override
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)