Blender V2.61 - r43446
Public Member Functions | Public Attributes

OSLCompiler Class Reference

#include <osl.h>

List of all members.

Public Member Functions

 OSLCompiler (void *shadingsys)
void compile (OSLGlobals *og, Shader *shader)
void add (ShaderNode *node, const char *name)
void parameter (const char *name, float f)
void parameter_color (const char *name, float3 f)
void parameter_vector (const char *name, float3 f)
void parameter_normal (const char *name, float3 f)
void parameter_point (const char *name, float3 f)
void parameter (const char *name, int f)
void parameter (const char *name, const char *s)
void parameter (const char *name, ustring str)
void parameter (const char *name, const Transform &tfm)
ShaderType output_type ()

Public Attributes

bool background

Detailed Description

Definition at line 65 of file osl.h.


Constructor & Destructor Documentation

OSLCompiler::OSLCompiler ( void *  shadingsys)

Member Function Documentation

CCL_NAMESPACE_BEGIN void OSLCompiler::add ( ShaderNode node,
const char *  name 
)

Definition at line 469 of file osl.cpp.

void OSLCompiler::compile ( OSLGlobals *  og,
Shader shader 
)
ShaderType OSLCompiler::output_type ( ) [inline]

Definition at line 82 of file osl.h.

void OSLCompiler::parameter ( const char *  name,
int  f 
)

Definition at line 485 of file osl.cpp.

void OSLCompiler::parameter ( const char *  name,
const char *  s 
)

Definition at line 489 of file osl.cpp.

void OSLCompiler::parameter ( const char *  name,
ustring  str 
)

Definition at line 493 of file osl.cpp.

void OSLCompiler::parameter ( const char *  name,
const Transform tfm 
)

Definition at line 497 of file osl.cpp.

void OSLCompiler::parameter ( const char *  name,
float  f 
)

Definition at line 473 of file osl.cpp.

void OSLCompiler::parameter_color ( const char *  name,
float3  f 
)

Definition at line 477 of file osl.cpp.

void OSLCompiler::parameter_normal ( const char *  name,
float3  f 
)
void OSLCompiler::parameter_point ( const char *  name,
float3  f 
)
void OSLCompiler::parameter_vector ( const char *  name,
float3  f 
)

Definition at line 481 of file osl.cpp.


Member Data Documentation

Definition at line 84 of file osl.h.


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