RenderManAPI  24.0
RtxPlugin Class Referenceabstract

#include <RtxPlugin.h>

Classes

struct  FillRequest
 NOTE: multi-channel textures might receive a FillRequest of fewer than nchans with a channelOffset >= 0 if a given channel of a multi-channel texture has been evicted by the texture cache. More...
 
struct  Int2D
 A struct to define an X,Y coordinate. More...
 
struct  TextureCtx
 TextureCtx provides initial defining properties for textures generated by this plugin. More...
 
struct  Tile2D
 A struct to define a 2D region. More...
 

Public Member Functions

 RtxPlugin ()
 
virtual ~RtxPlugin ()
 
virtual int Open (TextureCtx &tCtx)=0
 The Open() method is called the first time a texture() encounters the plugin and provides a unique arg string. More...
 
virtual int Fill (TextureCtx &tCtx, FillRequest &fillReq)=0
 
virtual int Close (TextureCtx &tCtx)=0
 

Constructor & Destructor Documentation

◆ RtxPlugin()

RtxPlugin::RtxPlugin ( )
inline

◆ ~RtxPlugin()

virtual RtxPlugin::~RtxPlugin ( )
inlinevirtual

Member Function Documentation

◆ Close()

virtual int RtxPlugin::Close ( TextureCtx tCtx)
pure virtual

◆ Fill()

virtual int RtxPlugin::Fill ( TextureCtx tCtx,
FillRequest fillReq 
)
pure virtual

◆ Open()

virtual int RtxPlugin::Open ( TextureCtx tCtx)
pure virtual

The Open() method is called the first time a texture() encounters the plugin and provides a unique arg string.


The documentation for this class was generated from the following file: