RenderManAPI  24.0
RixRiCtl.h File Reference
#include "RixInterfaces.h"
#include "ri.h"

Go to the source code of this file.

Classes

class  RixRiCtl
 

Enumerations

enum  RixRifEditMode { k_DisallowRifEdits = 0, k_AllowRifEdits = 1, k_DisallowRifDeleteEdits = 2 }
 The RixRiCtl interface provides access to the current thread's Ri context and is intended for use by procedural primitives as well as by applications that need to control a separate rendering or rerendering process using the Ric/Ri combination via libprman.so services. More...
 

Enumeration Type Documentation

◆ RixRifEditMode

The RixRiCtl interface provides access to the current thread's Ri context and is intended for use by procedural primitives as well as by applications that need to control a separate rendering or rerendering process using the Ric/Ri combination via libprman.so services.

Standalone applications should prefer the RixRIB interface coupled with librix. When used in a procedural primitive context the usual Ri state constraints apply (i.e. don't call ri->Begin, ri->End, ri->WorldBegin, etc). When used to control separate rendering process the additional (Ric) interface methods may be used to syncronize state between applications.

Ri *ri = riInterface->GetRi();
if(ri)
ri->SphereV(1, -1, 1, 360, 0, NULL, NULL);
Enumerator
k_DisallowRifEdits 
k_AllowRifEdits 
k_DisallowRifDeleteEdits