RslPlugin.h File Reference

RslPlugin.h File Reference
#include "ri.h"
#include "RixInterfaces.h"
#include <stdarg.h>
#include <assert.h>
#include <string>

Go to the source code of this file.

Classes

class  RslContext_v1
 
class  RslContext_v2
 
class  RslContext
 
class  RslArg_v2
 
class  RslArg_v3
 
class  RslArg_v5
 
class  RslArg_v6
 
class  RslArg_v7
 
class  RslArg
 
class  RslIter< T >
 
class  RslArrayIter< T >
 
class  RslResizer
 
class  RslStruct
 
class  RslStructArray
 
struct  RslFunction
 
struct  RslFunctionTable
 

Macros

#define RSL_PLUGIN_VERSION   7
 Plugin API version number.
 

Typedefs

typedef unsigned int RslRunFlag
 
typedef unsigned int RslIncrType
 Iterators use an accelaration structure involving small increments.
 
typedef int(* RslEntryFunc )(class RslContext *ctx, int argc, const class RslArg **argv)
 
typedef RslIter< RtFloat > RslFloatIter
 Float iterator.
 
typedef RslIter< RtString > RslStringIter
 String iterator.
 
typedef RslIter< RtColor > RslColorIter
 Color iterator.
 
typedef RslIter< RtVector > RslVectorIter
 Vector iterator.
 
typedef RslIter< RtNormal > RslNormalIter
 Normal iterator.
 
typedef RslIter< RtPoint > RslPointIter
 Point iterator.
 
typedef RslIter< RtMatrix > RslMatrixIter
 Matrix iterator.
 
typedef RslIter< RtMatrix > RslFilterRegionIter
 FilterRegion iterator.
 
typedef RslArrayIter< RtFloat > RslFloatArrayIter
 Float array iterator.
 
typedef RslArrayIter< RtString > RslStringArrayIter
 String array iterator.
 
typedef RslArrayIter< RtColor > RslColorArrayIter
 Color array iterator.
 
typedef RslArrayIter< RtVector > RslVectorArrayIter
 Vector array iterator.
 
typedef RslArrayIter< RtNormal > RslNormalArrayIter
 Normal array iterator.
 
typedef RslArrayIter< RtPoint > RslPointArrayIter
 Point array iterator.
 
typedef RslArrayIter< RtMatrix > RslMatrixArrayIter
 Matrix array iterator.
 
typedef void(* RslVoidFunc )(RixContext *context)
 

Typedef Documentation

typedef int(* RslEntryFunc)(class RslContext *ctx, int argc, const class RslArg **argv)

An RSL plugin function takes a context, number of arguments, and an array of arguments. A non-zero return value indicates an error.

typedef unsigned int RslRunFlag

Most shadeops should use iterators to access data, but those that don't use runflags to determine which grid points are active.

typedef void(* RslVoidFunc)(RixContext *context)

A per-frame init/cleanup function takes a RixContext, which allows it to obtain interfaces for reporting errors, accessing global RixStorage, etc.