BRL-CAD
OSLRenderer Class Reference

#include <liboslrend.h>

Public Member Functions

 OSLRenderer ()
 
 ~OSLRenderer ()
 
ShadingAttribStateRef AddShader (ShaderGroupInfo &group_info)
 
Color3 QueryColor (RenderInfo *info) const
 
void * CreateThreadInfo ()
 

Static Public Member Functions

static void Vec3toPoint_t (Vec3 s, point_t t)
 

Detailed Description

Definition at line 120 of file liboslrend.h.

Constructor & Destructor Documentation

Definition at line 29 of file liboslrend.cpp.

Definition at line 38 of file liboslrend.cpp.

References ShadingSystemImpl::destroy_thread_info().

Here is the call graph for this function:

Member Function Documentation

Color3 QueryColor ( RenderInfo info) const

Definition at line 97 of file liboslrend.cpp.

References RenderInfo::depth, Ray::dir, RenderInfo::doreflection, eval(), region::l, Ray::origin, RenderInfo::out_ray, RenderInfo::out_ray_type, RAY_REFLECT, RAY_TRANSMIT, RenderInfo::screen_y, and Vec3toPoint_t().

Referenced by osl_render().

Here is the call graph for this function:

void * CreateThreadInfo ( )

Definition at line 162 of file liboslrend.cpp.

References ShadingSystemImpl::create_thread_info().

Referenced by osl_render().

Here is the call graph for this function:

static void Vec3toPoint_t ( Vec3  s,
point_t  t 
)
inlinestatic

Definition at line 156 of file liboslrend.h.

Referenced by QueryColor().


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