Blender V2.61 - r43446
Classes | Defines | Enumerations

graph.h File Reference

#include "kernel_types.h"
#include "util_list.h"
#include "util_map.h"
#include "util_param.h"
#include "util_set.h"
#include "util_types.h"
#include "util_vector.h"

Go to the source code of this file.

Classes

class  ShaderEnum
class  ShaderInput
class  ShaderOutput
class  ShaderNode
class  ShaderGraph

Defines

#define SHADER_NODE_CLASS(type)
#define SHADER_NODE_NO_CLONE_CLASS(type)
#define SHADER_NODE_BASE_CLASS(type)

Enumerations

enum  ShaderSocketType {
  SHADER_SOCKET_FLOAT, SHADER_SOCKET_COLOR, SHADER_SOCKET_VECTOR, SHADER_SOCKET_POINT,
  SHADER_SOCKET_NORMAL, SHADER_SOCKET_CLOSURE
}
enum  ShaderBump { SHADER_BUMP_NONE, SHADER_BUMP_CENTER, SHADER_BUMP_DX, SHADER_BUMP_DY }

Define Documentation

#define SHADER_NODE_BASE_CLASS (   type)
Value:
virtual ShaderNode *clone() const { return new type(*this); } \
    virtual void compile(SVMCompiler& compiler); \
    virtual void compile(OSLCompiler& compiler); \

Definition at line 186 of file graph.h.

#define SHADER_NODE_CLASS (   type)
Value:
type(); \
    virtual ShaderNode *clone() const { return new type(*this); } \
    virtual void compile(SVMCompiler& compiler); \
    virtual void compile(OSLCompiler& compiler); \

Definition at line 175 of file graph.h.

#define SHADER_NODE_NO_CLONE_CLASS (   type)
Value:
type(); \
    virtual void compile(SVMCompiler& compiler); \
    virtual void compile(OSLCompiler& compiler); \

Definition at line 181 of file graph.h.


Enumeration Type Documentation

enum ShaderBump
Enumerator:
SHADER_BUMP_NONE 
SHADER_BUMP_CENTER 
SHADER_BUMP_DX 
SHADER_BUMP_DY 

Definition at line 59 of file graph.h.

Enumerator:
SHADER_SOCKET_FLOAT 
SHADER_SOCKET_COLOR 
SHADER_SOCKET_VECTOR 
SHADER_SOCKET_POINT 
SHADER_SOCKET_NORMAL 
SHADER_SOCKET_CLOSURE 

Definition at line 45 of file graph.h.