#include "RixInterfaces.h"
#include "ri.h"
Go to the source code of this file.
◆ 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 | |