37 #ifndef RixInterfaces_h 38 #define RixInterfaces_h 44 #include "stats/Roz.h" 48 class RiPredefinedStrings;
198 virtual void HandleXcpt(
int code,
int severity,
const char* msg) = 0;
208 virtual void Register(XcptHandler*) = 0;
230 virtual uint32_t
XXHash32(
void const* input,
size_t size,
unsigned seed)=0;
233 virtual uint64_t
XXHash64(
void const* input,
size_t size,
unsigned seed)=0;
251 virtual void Error(
const char* format, ...) = 0;
254 virtual void ErrorAlways(
const char* format, ...) = 0;
257 virtual void Warning(
const char* format, ...) = 0;
263 virtual void Info(
const char* format, ...) = 0;
266 virtual void InfoAlways(
const char* format, ...) = 0;
461 float const* stRadius,
463 int* runFlags = NULL) = 0;
469 float const* stRadius,
471 int* runFlags = NULL) = 0;
506 int* runFlags = NULL) = 0;
521 int* runFlags = NULL) = 0;
547 int* runFlags = NULL) = 0;
583 int* runFlags = NULL) = 0;
638 char const* filename,
653 char const* filename,
671 virtual float Noise(
float in) = 0;
682 virtual float PNoise(
float in,
float period) = 0;
877 int* resultCount) = 0;
884 int* resultCount) = 0;
932 virtual void ResolvePredefinedStrings(RiPredefinedStrings &ps)
const = 0;
955 virtual void* ResolveSymbol(
const char* nm, SymbolGroup group) = 0;
970 virtual void Clear() = 0;
971 virtual void Flush() = 0;
993 unsigned char lobeId,
994 char const* name)
const = 0;
1017 bool firstContribution);
1025 virtual int LookupLPE(
char const* lpeExpr) = 0;
1052 void* userData = NULL) = 0;
1065 bool firstContribution) = 0;
1083 virtual void WriteXml(
const char* format, ...) = 0;
1087 virtual void WriteText(
const char* format, ...) = 0;
1093 void WriteStat(
char const* name,
char const* desc,
int value)
1095 WriteXml(
"<int name=\"%s\"", name);
1097 WriteXml(
" description=\"%s\"", desc);
1101 void WriteStat(
char const* name,
char const* desc, uint64_t value)
1103 WriteXml(
"<int name=\"%s\"", name);
1105 WriteXml(
" description=\"%s\"", desc);
1106 WriteXml(
"> %llu </int>\n", value);
1109 void WriteStat(
char const* name,
char const* desc,
float value)
1111 WriteXml(
"<float name=\"%s\"", name);
1113 WriteXml(
" description=\"%s\"", desc);
1114 WriteXml(
"> %f </float>\n", value);
1117 void WriteStat(
char const* name,
char const* desc,
char const* value)
1119 WriteXml(
"<string name=\"%s\"", name);
1121 WriteXml(
" description=\"%s\"", desc);
1122 WriteXml(
"> %s </string>\n", value);
1125 void WriteTime(
char const* name,
char const* desc,
float time)
1127 WriteXml(
"<timer name=\"%s\"", name);
1129 WriteXml(
" description=\"%s\"", desc);
1130 WriteXml(
"><elapsed>%f</elapsed></timer>\n", time);
1186 const char* description) = 0;
1207 virtual void Reset() = 0;
1208 virtual const char*
GetName() = 0;
1223 const char* description) = 0;
1255 virtual void AddFileLogStat(
const char* fileName,
const char* path) = 0;
1279 virtual char const* GetResourcePaths(ResourceType) = 0;
1292 virtual int ResolveResource(
1371 virtual void* Get(
const RtUString key) = 0;
1383 virtual void Clear(
const RtUString key) = 0;
1386 virtual void Lock() = 0;
1389 virtual void Unlock() = 0;
1401 template<
typename _Signature>
1404 template <
typename _Res,
typename... _ArgTypes>
1408 struct FunctionPrototype
1410 virtual ~FunctionPrototype() {}
1411 virtual _Res operator()(_ArgTypes... __args)
const = 0;
1415 template<
typename Closure >
1416 struct Function : FunctionPrototype
1418 Function(Closure&& t ) : fn(t) {}
1419 virtual ~Function() {}
1420 virtual _Res operator()(_ArgTypes... __args)
const 1421 {
return fn(__args...); }
1425 FunctionPrototype* object;
1429 template<
typename Closure >
1431 : object( new Function<Closure>( std::move(obj) ) )
1439 return (*
object)(__args...);
1459 virtual void Lock() = 0;
1462 virtual void Unlock() = 0;
1473 virtual RixMutex* NewMutex()
const = 0;
1476 virtual void DeleteMutex(
RixMutex *mutex)
const = 0;
1501 virtual void ParallelFor(
size_t start,
size_t end,
1503 virtual void ParallelFor(
size_t start,
size_t end,
size_t step,
1539 #endif // RIX_INTERFACE_H RixThreadUtils()
Constructor is for internal use only.
Definition: RixInterfaces.h:1508
Definition: RixInterfaces.h:149
Custom proceudral geometry.
t_displayStyle
Definition: RixInterfaces.h:794
Definition: RixInterfaces.h:142
virtual int GetProcessor(std::string inputRole)=0
Definition: RixInterfaces.h:304
RtUString mode
Definition: RixInterfaces.h:830
Definition: RixInterfaces.h:294
RixShadingContext is analogous to a RenderMan grid - it is a group of 1 or more points that may be sh...
Definition: RixShading.h:663
Definition: RixInterfaces.h:355
virtual int GetFrameInfo(FrameInfo *)=0
Provides information about the current frame.
This class allows integrators to instrospect the rendering environment.
Definition: RixIntegrator.h:473
Definition: RixInterfaces.h:371
Definition: RixInterfaces.h:314
t_displayStyle displayStyle
Definition: RixInterfaces.h:808
virtual const ErrType * GetLastError()=0
GetLastError Returns a per-point error.
Definition: RixInterfaces.h:718
Definition: RixInterfaces.h:839
Definition: RixInterfaces.h:146
id for Color Manager interface
Definition: RixInterfaces.h:125
void WriteStat(char const *name, char const *desc, uint64_t value)
Definition: RixInterfaces.h:1101
Id for geometric debugger interface.
Definition: RixInterfaces.h:112
Id for RixDeepTexture interface.
Definition: RixInterfaces.h:105
int m_version
Version number of this interface.
Definition: RixInterfaces.h:159
Definition: RixInterfaces.h:962
const char * renderer
Definition: RixInterfaces.h:782
virtual void EmitVector(RtVector3 v, RtColorRGB c)=0
void WriteStat(char const *name, char const *desc, char const *value)
Definition: RixInterfaces.h:1117
Definition: RixInterfaces.h:315
virtual void Info(const char *format,...)=0
Report information, suppressing duplicate messages.
virtual int GetOption(RtUString const name, void *result, int resultLength, Type *resultType, int *resultCount)=0
GetAttribute, GetOption, return the current values of the named Attribute or Option.
int nchannels
Definition: RixInterfaces.h:336
struct RixRenderState::FrameInfo::@3 displayState
stats::DataLocId statsId
Definition: RixInterfaces.h:348
float fill
Definition: RixInterfaces.h:408
virtual bool ColorManagementEnabled()=0
Return true if color management is enabled.
pxrcore::ColorRGB RtColorRGB
Definition: RiTypesHelper.h:520
virtual int GetNumPotentialSpecularLobes() const =0
Id for per-thread RixStorage interface.
Definition: RixInterfaces.h:100
virtual void WriteText(const char *format,...)=0
Write arbitrary text to XML file, encoding special characters like "<".
Definition: RixInterfaces.h:151
NOTE: This interface is deprecated and will be removed in a future release.
Definition: RixInterfaces.h:1367
Definition: RixInterfaces.h:1204
Definition: RixInterfaces.h:145
virtual void AddReporter(Reporter func)=0
Register a statistics reporter, which is called at the end of each frame after built-in statistics ar...
virtual int ReleaseTexture(TxProperties const &txProperties)=0
All texture access should release a texture as soon as it is finished looking up values.
virtual int BaseColorSpace()=0
virtual RtFloat3 PNoise3(float in, float period)=0
char _reserved[32]
Definition: RixInterfaces.h:831
SymbolGroup
Definition: RixInterfaces.h:934
virtual int TextureDerivatives(TxProperties const &txProperties, TxParams const &txParams, int nPoints, RtFloat2 const *st, float const *dsdu, float const *dtdu, float const *dsdv, float const *dtdv, float const *dufp, float const *dvfp, float *result, float *dresultds, float *dresultdt, int *runFlags=NULL)=0
Lookup filtered texture results over nPoints from a texture obtained with AcquireTexture().
Rix interfaces are obtained from an RixContext.
Definition: RixInterfaces.h:172
virtual float PNoise(float in, float period)=0
Periodic Noise.
Definition: RixInterfaces.h:353
virtual void AddMemoryStat(size_t *bytes, const char *name, const char *description)=0
Add a memory statistic, which is simply a pointer to a size_t into which the plugin has accumulated m...
RixFunction(Closure &&obj)
Template constructor for Lambda capture.
Definition: RixInterfaces.h:1430
virtual int LookupLPE(char const *lpeExpr)=0
Definition: RixInterfaces.h:297
Definition: RixInterfaces.h:1273
Id for New Texture-2D interface.
Definition: RixInterfaces.h:113
virtual void AddFileLogStat(const char *fileName, const char *path)=0
Add a file to the fileLog statistic.
RixInterfaceId
Identifiers for Rix interfaces.
Definition: RixInterfaces.h:94
virtual int GetNumPotentialDiffuseLobes() const =0
Return the maximum potential number of diffuse and specular lobe indices.
virtual int GetVersion() const
Get the version number of this interface.
Definition: RixInterfaces.h:155
RixTexture performs filtered texture map lookups using a texture coordinate and a region over which t...
Definition: RixInterfaces.h:289
virtual float ConvertIntervalToSeconds(uint64_t interval)=0
Convert a high res time interval to seconds of time.
FilterType
Filter selection.
Definition: RixInterfaces.h:363
Id for RixHashUtils interface to UtHash.
Definition: RixInterfaces.h:122
Base class for all Rix interfaces.
Definition: RixInterfaces.h:133
Id for local RixStorage interface.
Definition: RixInterfaces.h:101
Definition: RixInterfaces.h:714
Definition: RixInterfaces.h:842
virtual void ErrorAlways(const char *format,...)=0
Report an error, with no suppression of duplicate messages.
RtFloat3 RtPoint3
Definition: RiTypesHelper.h:70
virtual int GetAttribute(RtUString const name, void *result, int resultLength, Type *resultType, int *resultCount)=0
int nthreads
Definition: RixInterfaces.h:801
virtual const char * GetName()=0
virtual void WriteXml(const char *format,...)=0
Write arbitrary XML.
Id for RenderMan event callbacks interface.
Definition: RixInterfaces.h:124
virtual void GetResults(uint64_t *result, Fmt *fmt)=0
const float * sblur
Definition: RixInterfaces.h:402
int RixLPEToken
Definition: RixInterfaces.h:977
RixCustomLPE()
Definition: RixInterfaces.h:1068
RixResourceResolver()
Definition: RixInterfaces.h:1299
RixTimer()
Definition: RixInterfaces.h:1155
Definition: RixInterfaces.h:843
An interface to lookup and match custom light path expressions (LPEs).
Definition: RixInterfaces.h:1020
An interface to find out information related to light path expressions (LPEs).
Definition: RixInterfaces.h:981
virtual uint64_t XXHash64(void const *input, size_t size, unsigned seed)=0
Compute 64-bit hash using xxHash and an explicit seed value.
int version
Definition: RixInterfaces.h:334
The primary means to comprehend exceptional conditions within Rix is to handle messages generated by ...
Definition: RixInterfaces.h:190
Definition: RixInterfaces.h:296
virtual int GetRIBFileContext(int *linenumber, char **filename)=0
Retrieve the RIB context.
RixXcpt()
Definition: RixInterfaces.h:218
RixInterface(int version)
Interfaces should not be constructed by users.
Definition: RixInterfaces.h:162
virtual void Unregister(XcptHandler *)=0
Unregister a msg handler.
Fmt
Definition: RixInterfaces.h:1198
float swidth
Definition: RixInterfaces.h:406
FrameInfo()
Definition: RixInterfaces.h:792
class RixIntegratorEnvironment const * integratorEnv
Definition: RixInterfaces.h:817
A wrapper for provided hash functions.
Definition: RixInterfaces.h:226
Id for Transformation interface.
Definition: RixInterfaces.h:115
float shutter[2]
Definition: RixInterfaces.h:802
TextureType type
Definition: RixInterfaces.h:347
An object that can be used to print warnings, errors, or info in a thread safe way from within the re...
Definition: RixInterfaces.h:242
ErrType
Definition: RixInterfaces.h:292
RixTexture()
constructor for internal use only
Definition: RixInterfaces.h:629
virtual void EmitBound(RtPoint3 pmin, RtPoint3 pmax, RtColorRGB c)=0
Definition: RixInterfaces.h:310
virtual uint32_t XXHash32(void const *input, size_t size, unsigned seed)=0
Compute 32-bit hash using xxHash and an explicit seed value.
Definition: RixInterfaces.h:1200
Id for interface to exception handling.
Definition: RixInterfaces.h:103
virtual void EmitPoint(RtPoint3 p, RtColorRGB c)=0
Definition: RixInterfaces.h:372
Definition: RixInterfaces.h:1201
RixShadeFunctions()
constructor for internal use only
Definition: RixInterfaces.h:739
Definition: RixInterfaces.h:366
Definition: RixInterfaces.h:143
virtual void AddReporterCtx(ReporterCtx func, void *ctx)=0
ShadingIntent
Definition: RixInterfaces.h:837
TextureType
Texture type.
Definition: RixInterfaces.h:308
Definition: RixInterfaces.h:780
virtual void EmitPointNormal(RtPoint3 p, RtNormal3 n, RtColorRGB c)=0
Id for shader file query interface.
Definition: RixInterfaces.h:121
Definition: RiTypesHelper.h:82
virtual int AddSimpleStat(SimpleStat *)=0
RixHashUtils()
constructor for internal use only
Definition: RixInterfaces.h:237
Definition: RixInterfaces.h:312
RixStats()
Constructor is for internal use only.
Definition: RixInterfaces.h:1259
virtual RtColorRGB BlackbodyToColorSpace(RtColorRGB &in)=0
float twidth
Definition: RixInterfaces.h:407
RixLPEInfo()
Definition: RixInterfaces.h:1004
Definition: RixInterfaces.h:1203
RtUString type
Definition: RixInterfaces.h:829
int versionCode[4]
Definition: RixInterfaces.h:784
virtual int Texture(TxProperties const &txProperties, TxParams const &txParams, int nPoints, RtFloat2 const *st, float const *stRadius, float *result, int *runFlags=NULL)=0
Lookup filtered texture results over nPoints from a texture obtained with AcquireTexture().
virtual ~RixXmlFile()
Virtual destructor.
Definition: RixInterfaces.h:1090
Definition: RixInterfaces.h:846
RixFunction is a template class similar to std::function.
Definition: RixInterfaces.h:1402
void(* ReporterCtx)(void *ctx, class RixXmlFile *)
Definition: RixInterfaces.h:1228
Id for SymbolResolver interface.
Definition: RixInterfaces.h:111
virtual void AddTimerStat(float *seconds, const char *name, const char *description)=0
Add a timer statistic, which is simply a pointer to a float into which the plugin has accumulated tim...
virtual int GetRIBArchive(RtUString const filename, const char **archive)=0
Public interface for obtaining the contents of an in-memory archive, useful to serialize a sequence o...
Definition: RixInterfaces.h:1202
Id for RixTimer interface.
Definition: RixInterfaces.h:108
void WriteStat(char const *name, char const *desc, int value)
Definition: RixInterfaces.h:1093
pxrcore::Float3 RtFloat3
Definition: RiTypesHelper.h:69
ResourceType
Definition: RixInterfaces.h:1266
RixStorage()
Constructor is for internal use only.
Definition: RixInterfaces.h:1393
NOTE: This interface will be deprecated when a new interface comes in the next release An XML file ha...
Definition: RixInterfaces.h:1075
virtual void NormalizeColor(RtColorRGB &inout)=0
NOTE: This interface is deprecated and will be removed in a future release This object is used to cre...
Definition: RixInterfaces.h:1469
virtual const char * GetDescription()=0
char _reserved[32]
Definition: RixInterfaces.h:849
virtual RtFloat3 CellNoise3(float in)=0
virtual void HandleXcpt(int code, int severity, const char *msg)=0
Id for Riinterface.
Definition: RixInterfaces.h:110
Id for ResourceResolver interface.
Definition: RixInterfaces.h:116
virtual void InvokeScatterCallbacks(RixLPEState *lpeState, RixShadingContext const *sCtx, int sCtxIndex, RtColorRGB const &thruput, RtColorRGB const *lightTrans, bool firstContribution)=0
int version
Definition: RixInterfaces.h:395
Id for RixMessages interface.
Definition: RixInterfaces.h:98
bool tblurVarying
Definition: RixInterfaces.h:405
unsigned char * channelTypes
Definition: RixInterfaces.h:337
Definition: RixInterfaces.h:370
int nchannels
Definition: RixInterfaces.h:396
virtual int GetRendererInfo(RendererInfo *)=0
Provides information about the renderer.
Id for RixDspy interface.
Definition: RixInterfaces.h:120
virtual void RegisterScatterCallback(RixLPECallback callbackFunc, void *userData=NULL)=0
Definition: RixInterfaces.h:300
Id for RixStats interface.
Definition: RixInterfaces.h:107
virtual ~RixContext()
Destructor is for internal use only.
Definition: RixInterfaces.h:180
TODO: implement a new Texture-3D interface.
Definition: RixInterfaces.h:119
Definition: RixInterfaces.h:147
Definition: RixInterfaces.h:1263
virtual int GetProperty(TxProperties const &txProperties, RtUString const propertyName, void *result, int resultLen, Type *resultType, int *resultCount)=0
virtual int GetDspyInfo(int dspyId, DspyInfo *)=0
Returns details about a given dspy.
virtual void Error(const char *format,...)=0
Report error/warning/info, with printf-style formatting.
virtual RixInterface * GetRixInterface(RixInterfaceId id) const =0
Get the specified interface from this context.
virtual ~SimpleStat()
Definition: RixInterfaces.h:1206
float * faceIndex
Definition: RixInterfaces.h:409
Definition: RixInterfaces.h:316
virtual int AcquireTexturePart(int partIndex, TxProperties const &txProperties, TxProperties &partProperties)=0
Once a texture has been acquired, we can then acquire a part by part index, the partProperties will r...
RtUString integratorName
Definition: RixInterfaces.h:815
RixColorManager()
constructor for internal use only
Definition: RixInterfaces.h:1535
Id for RIB Parser interface.
Definition: RixInterfaces.h:106
RixTexture3d provides a general interface containing functions useful for looking up 3D texture data...
Definition: RixInterfaces.h:634
int _vers
Definition: RixInterfaces.h:811
void(* Reporter)(class RixXmlFile *file)
A reporting function takes a RixXmlFile and writes to it using WriteXml and WriteText.
Definition: RixInterfaces.h:1227
virtual int RxTexture3dV(char const *filename, RtPoint3 point, RtNormal3 normal, float filterradius, int n, RtUString tokens[], void *parms[])=0
int integratorIteration
Definition: RixInterfaces.h:848
RixSymbolResolver()
Definition: RixInterfaces.h:958
Definition: RixInterfaces.h:356
RtFloat3 RtNormal3
Definition: RiTypesHelper.h:73
Definition: RixInterfaces.h:299
Definition: RixInterfaces.h:295
virtual void ProcessColor(int processorId, RtColorRGB &inout)=0
Definition: RixInterfaces.h:368
virtual void SetBuiltinHandler(RtUString name)=0
Set one of the builtin error handlers.
Definition: RixInterfaces.h:373
virtual int GetLpeIdByName(bool discrete, bool specular, bool reflect, bool user, unsigned char lobeId, char const *name) const =0
GetLpeIdByName returns the integer lobe index given the lobe name and booleans indicating whether it ...
RtUString name
Definition: RixInterfaces.h:828
virtual void InfoAlways(const char *format,...)=0
Report information, with no suppression of duplicate messages.
Definition: RixInterfaces.h:717
Definition: RixInterfaces.h:920
NOTE: This interface will be deprecated when a new interface comes in the next release Interface for ...
Definition: RixInterfaces.h:1174
int width
Definition: RixInterfaces.h:345
virtual void WarningAlways(const char *format,...)=0
Report a warning, with no suppression of duplicate messages.
Definition: RixInterfaces.h:148
Id for global (per frame) RixStorage interface.
Definition: RixInterfaces.h:99
RixRenderState()
Definition: RixInterfaces.h:917
Definition: RixInterfaces.h:1271
Definition: RixInterfaces.h:826
int resolution[2]
Definition: RixInterfaces.h:807
A base class characterizing the required interface for xcpt handlers.
Definition: RixInterfaces.h:195
An interface for discovering the current state of the renderer.
Definition: RixInterfaces.h:777
Definition: RixInterfaces.h:796
Id for RixRenderState interface.
Definition: RixInterfaces.h:109
bool sblurVarying
Definition: RixInterfaces.h:404
void WriteTime(char const *name, char const *desc, float time)
Definition: RixInterfaces.h:1125
virtual int TextureData(TxProperties const &txProperties, TxParams const &txParams, int mipLevel, int cubeFace, void *result)=0
Read the whole texture into a buffer at a given MIP level.
Definition: RixSceneGraph.h:52
const char * version
Definition: RixInterfaces.h:783
Definition: RixInterfaces.h:790
TxAtlasStyle
Definition: RixInterfaces.h:351
Definition: RixInterfaces.h:359
Definition: RixInterfaces.h:365
virtual int Ptexture(TxProperties const &txProperties, TxParams const &txParams, int nPoints, RtFloat2 const *uv, float const *uWidth, float const *vWidth, float *result, int *runFlags=NULL)=0
Lookup filtered ptexture results over nPoints from a ptexture obtained with AcquireTexture().
virtual bool MatchesLPE(int customLpe, RixLPEState *lpeState, RtColorRGB &thruput)=0
virtual RtColorRGB LumaCoefs()=0
Return the current color space's luminance coefficients.
bool invertT
Definition: RixInterfaces.h:399
SplineType
Spline solver and evaluator.
Definition: RixInterfaces.h:712
bool rerendering
Definition: RixInterfaces.h:803
Definition: RixInterfaces.h:1272
void(* RixLPECallback)(void *userData, RixLPEState *lpeState, RixShadingContext const *sCtx, int sCtxIndex, RtColorRGB const &thruput, RtColorRGB const *lightTrans, bool firstContribution)
Definition: RixInterfaces.h:1010
virtual float Noise(float in)=0
Noise.
int height
Definition: RixInterfaces.h:345
pxrcore::Matrix4x4 RtMatrix4x4
Definition: RiTypesHelper.h:74
int frame
Definition: RixInterfaces.h:800
NOTE: This interface will be deprecated when a new interface comes in the next release Interface for ...
Definition: RixInterfaces.h:1146
virtual float SolveSpline(SplineType type, float const knot[], int nKnots, float a)=0
virtual void HandleExitRequest(int code)=0
Definition: RixInterfaces.h:715
Represents the LPE system state of a light transport path.
Definition: RixLPE.h:439
Definition: RixInterfaces.h:367
~RixFunction()
Definition: RixInterfaces.h:1434
bool lerp
Definition: RixInterfaces.h:398
int nparts
Definition: RixInterfaces.h:344
Definition: RixInterfaces.h:369
Id for RixThreadUtils interface.
Definition: RixInterfaces.h:97
TxProperties()
Create TxProperties with initial defaults.
Definition: RixInterfaces.h:320
Definition: RixInterfaces.h:354
virtual ~RixInterface()
Interfaces should not be deleted by users.
Definition: RixInterfaces.h:165
virtual int LookupLPEByName(char const *lpeName)=0
virtual int GetNumPotentialUserLobes() const =0
pxrcore::UString RtUString
Definition: RiTypesHelper.h:682
Definition: RixInterfaces.h:716
Id for per session RixStorage interface.
Definition: RixInterfaces.h:102
Id for Shade functions interface.
Definition: RixInterfaces.h:114
virtual int AcquireTexture(RtUString const fileName, TxAtlasStyle const atlasStyle, TxProperties &txProperties)=0
All texture access must acquire a texture first.
Definition: RixInterfaces.h:150
char _reserved[32]
Definition: RixInterfaces.h:785
virtual ~XcptHandler()
Definition: RixInterfaces.h:202
Id for RenderMan scene graph interface.
Definition: RixInterfaces.h:123
RtUString integratorPath
Definition: RixInterfaces.h:816
Add a generic statistic via a subclass of the SimpleStat class interface.
Definition: RixInterfaces.h:1195
virtual void Warning(const char *format,...)=0
Report a warning, suppressing duplicate messages.
Definition: RixInterfaces.h:1269
The color manager wraps the active OpenColorIO configuration (if any) to provide color management fun...
Definition: RixInterfaces.h:1515
_Res operator()(_ArgTypes... __args) const
Definition: RixInterfaces.h:1437
char _reserved[32]
Definition: RixInterfaces.h:819
void * fileHandle
Definition: RixInterfaces.h:335
Definition: RixInterfaces.h:144
virtual int GetRayCtxInfo(RayCtxInfo *)=0
Provides information about the current shading context's ray tracing state.
Definition: RixInterfaces.h:797
virtual int RxTexture3d(char const *filename, RtPoint3 point, RtNormal3 normal, float filterradius,...)=0
Definition: RixInterfaces.h:841
FilterType filter
Definition: RixInterfaces.h:401
Id for RixLPEInfo interface.
Definition: RixInterfaces.h:117
virtual float EvalSpline(SplineType type, float const knot[], int nKnots, float a)=0
Definition: RixInterfaces.h:311
Definition: RixInterfaces.h:840
Type
Definition: RixInterfaces.h:140
void WriteStat(char const *name, char const *desc, float value)
Definition: RixInterfaces.h:1109
Id for RixCustomLPE interface.
Definition: RixInterfaces.h:118
void(* RixCleanupFunc)(RixContext *context, void *data)
A cleanup function can be associated with data in RixStorage.
Definition: RixInterfaces.h:1303
RixGeoDebugger()
Definition: RixInterfaces.h:974
RtFloat3 RtVector3
Definition: RiTypesHelper.h:72
const float * tblur
Definition: RixInterfaces.h:403
virtual void EmitLine(RtPoint3 p1, RtPoint3 p2, RtColorRGB c)=0
int firstchannel
Definition: RixInterfaces.h:397
int nDisplays
Definition: RixInterfaces.h:806
Definition: RixInterfaces.h:313
TxParams()
Create TxParams with initial defaults.
Definition: RixInterfaces.h:377
float pixelAspectRatio
Definition: RixInterfaces.h:346
virtual int PtextureDerivatives(TxProperties const &txProperties, TxParams const &txParams, int nPoints, RtFloat2 const *st, float const *dsdu, float const *dtdu, float const *dsdv, float const *dtdv, float *result, float *dresultds, float *dresultdt, int *runFlags=NULL)=0
Lookup filtered texture results over nPoints from a ptexture obtained with AcquireTexture().
RixShadeFunctions provides a general interface containing functions useful for developing patterns fo...
Definition: RixInterfaces.h:667
Definition: RixInterfaces.h:301
RixMessages()
Constructor is for internal use only.
Definition: RixInterfaces.h:270
virtual float CellNoise(float in)=0
Cell Noise.
virtual ~RixMutex()
Virtual destructor.
Definition: RixInterfaces.h:1456
virtual void Register(XcptHandler *)=0
Register your msg handler to receive exceptions and diagnostics produced through the use of the Rix i...
NOTE: This interface is deprecated and will be removed in a future release A class that encapsulates ...
Definition: RixInterfaces.h:1452
Definition: RixInterfaces.h:1270
Id for RixRIB interface.
Definition: RixInterfaces.h:104
RixTexture3d()
constructor for internal use only
Definition: RixInterfaces.h:661
virtual RtFloat3 EvalSpline3(SplineType type, RtFloat3 const knot[], int nknot, float a)=0
Definition: RixInterfaces.h:298
virtual uint64_t SampleTime()=0
Return a high resolution time sample.
virtual RtFloat3 Noise3(float in)=0