Defines |
#define | SVM_STACK_SIZE 64 |
#define | SVM_STACK_INVALID 255 |
#define | CLOSURE_IS_BSDF(type) (type <= CLOSURE_BSDF_WESTIN_SHEEN_ID) |
#define | CLOSURE_IS_VOLUME(type) (type >= CLOSURE_VOLUME_ID && type <= CLOSURE_VOLUME_ISOTROPIC_ID) |
#define | CLOSURE_IS_EMISSION(type) (type == CLOSURE_EMISSION_ID) |
#define | CLOSURE_IS_HOLDOUT(type) (type == CLOSURE_HOLDOUT_ID) |
#define | CLOSURE_IS_BACKGROUND(type) (type == CLOSURE_BACKGROUND_ID) |
Typedefs |
typedef enum NodeType | NodeType |
typedef enum NodeAttributeType | NodeAttributeType |
typedef enum NodeGeometry | NodeGeometry |
typedef enum NodeLightPath | NodeLightPath |
typedef enum NodeTexCoord | NodeTexCoord |
typedef enum NodeMix | NodeMix |
typedef enum NodeMath | NodeMath |
typedef enum NodeVectorMath | NodeVectorMath |
typedef enum NodeConvert | NodeConvert |
typedef enum NodeDistanceMetric | NodeDistanceMetric |
typedef enum NodeNoiseBasis | NodeNoiseBasis |
typedef enum NodeWaveType | NodeWaveType |
typedef enum NodeMusgraveType | NodeMusgraveType |
typedef enum NodeWoodType | NodeWoodType |
typedef enum NodeBlendType | NodeBlendType |
typedef enum NodeBlendAxis | NodeBlendAxis |
typedef enum NodeMarbleType | NodeMarbleType |
typedef enum NodeStucciType | NodeStucciType |
typedef enum NodeVoronoiColoring | NodeVoronoiColoring |
typedef enum NodeBlendWeightType | NodeBlendWeightType |
typedef enum ShaderType | ShaderType |
typedef enum ClosureType | ClosureType |
Enumerations |
enum | NodeType {
NODE_END = 0,
NODE_CLOSURE_BSDF = 100,
NODE_CLOSURE_EMISSION = 200,
NODE_CLOSURE_BACKGROUND = 300,
NODE_CLOSURE_SET_WEIGHT = 400,
NODE_CLOSURE_WEIGHT = 500,
NODE_MIX_CLOSURE = 600,
NODE_JUMP = 700,
NODE_TEX_IMAGE = 1000,
NODE_TEX_SKY = 1100,
NODE_GEOMETRY = 1200,
NODE_LIGHT_PATH = 1300,
NODE_VALUE_F = 1400,
NODE_VALUE_V = 1500,
NODE_MIX = 1600,
NODE_ATTR = 1700,
NODE_CONVERT = 1900,
NODE_FRESNEL = 2000,
NODE_EMISSION_WEIGHT = 2100,
NODE_TEX_GRADIENT = 2200,
NODE_TEX_VORONOI = 2300,
NODE_TEX_MUSGRAVE = 2400,
NODE_TEX_WAVE = 2500,
NODE_TEX_MAGIC = 2600,
NODE_TEX_NOISE = 3000,
NODE_SHADER_JUMP = 3100,
NODE_SET_DISPLACEMENT = 3200,
NODE_GEOMETRY_BUMP_DX = 3300,
NODE_GEOMETRY_BUMP_DY = 3400,
NODE_SET_BUMP = 3500,
NODE_MATH = 3600,
NODE_VECTOR_MATH = 3700,
NODE_MAPPING = 3800,
NODE_TEX_COORD = 3900,
NODE_TEX_COORD_BUMP_DX = 4000,
NODE_TEX_COORD_BUMP_DY = 4100,
NODE_ADD_CLOSURE = 4200,
NODE_EMISSION_SET_WEIGHT_TOTAL = 4300,
NODE_ATTR_BUMP_DX = 4400,
NODE_ATTR_BUMP_DY = 4500,
NODE_TEX_ENVIRONMENT = 4600,
NODE_CLOSURE_HOLDOUT = 4700,
NODE_LAYER_WEIGHT = 4800,
NODE_CLOSURE_VOLUME = 4900,
NODE_SEPARATE_RGB = 5000,
NODE_COMBINE_RGB = 5100,
NODE_HSV = 5200,
NODE_CAMERA = 5300,
NODE_INVERT = 5400,
NODE_NORMAL = 5500,
NODE_GAMMA = 5600,
NODE_TEX_CHECKER = 5700
} |
enum | NodeAttributeType { NODE_ATTR_FLOAT = 0,
NODE_ATTR_FLOAT3
} |
enum | NodeGeometry {
NODE_GEOM_P = 0,
NODE_GEOM_N,
NODE_GEOM_T,
NODE_GEOM_I,
NODE_GEOM_Ng,
NODE_GEOM_uv
} |
enum | NodeLightPath {
NODE_LP_camera = 0,
NODE_LP_shadow,
NODE_LP_diffuse,
NODE_LP_glossy,
NODE_LP_singular,
NODE_LP_reflection,
NODE_LP_transmission,
NODE_LP_backfacing
} |
enum | NodeTexCoord { NODE_TEXCO_OBJECT,
NODE_TEXCO_CAMERA,
NODE_TEXCO_WINDOW,
NODE_TEXCO_REFLECTION
} |
enum | NodeMix {
NODE_MIX_BLEND = 0,
NODE_MIX_ADD,
NODE_MIX_MUL,
NODE_MIX_SUB,
NODE_MIX_SCREEN,
NODE_MIX_DIV,
NODE_MIX_DIFF,
NODE_MIX_DARK,
NODE_MIX_LIGHT,
NODE_MIX_OVERLAY,
NODE_MIX_DODGE,
NODE_MIX_BURN,
NODE_MIX_HUE,
NODE_MIX_SAT,
NODE_MIX_VAL,
NODE_MIX_COLOR,
NODE_MIX_SOFT,
NODE_MIX_LINEAR
} |
enum | NodeMath {
NODE_MATH_ADD,
NODE_MATH_SUBTRACT,
NODE_MATH_MULTIPLY,
NODE_MATH_DIVIDE,
NODE_MATH_SINE,
NODE_MATH_COSINE,
NODE_MATH_TANGENT,
NODE_MATH_ARCSINE,
NODE_MATH_ARCCOSINE,
NODE_MATH_ARCTANGENT,
NODE_MATH_POWER,
NODE_MATH_LOGARITHM,
NODE_MATH_MINIMUM,
NODE_MATH_MAXIMUM,
NODE_MATH_ROUND,
NODE_MATH_LESS_THAN,
NODE_MATH_GREATER_THAN
} |
enum | NodeVectorMath {
NODE_VECTOR_MATH_ADD,
NODE_VECTOR_MATH_SUBTRACT,
NODE_VECTOR_MATH_AVERAGE,
NODE_VECTOR_MATH_DOT_PRODUCT,
NODE_VECTOR_MATH_CROSS_PRODUCT,
NODE_VECTOR_MATH_NORMALIZE
} |
enum | NodeConvert { NODE_CONVERT_FV,
NODE_CONVERT_CF,
NODE_CONVERT_VF
} |
enum | NodeDistanceMetric {
NODE_VORONOI_DISTANCE_SQUARED,
NODE_VORONOI_ACTUAL_DISTANCE,
NODE_VORONOI_MANHATTAN,
NODE_VORONOI_CHEBYCHEV,
NODE_VORONOI_MINKOVSKY_H,
NODE_VORONOI_MINKOVSKY_4,
NODE_VORONOI_MINKOVSKY
} |
enum | NodeNoiseBasis {
NODE_NOISE_PERLIN,
NODE_NOISE_VORONOI_F1,
NODE_NOISE_VORONOI_F2,
NODE_NOISE_VORONOI_F3,
NODE_NOISE_VORONOI_F4,
NODE_NOISE_VORONOI_F2_F1,
NODE_NOISE_VORONOI_CRACKLE,
NODE_NOISE_CELL_NOISE
} |
enum | NodeWaveType { NODE_WAVE_SINE,
NODE_WAVE_SAW,
NODE_WAVE_TRI
} |
enum | NodeMusgraveType {
NODE_MUSGRAVE_MULTIFRACTAL,
NODE_MUSGRAVE_FBM,
NODE_MUSGRAVE_HYBRID_MULTIFRACTAL,
NODE_MUSGRAVE_RIDGED_MULTIFRACTAL,
NODE_MUSGRAVE_HETERO_TERRAIN
} |
enum | NodeWoodType { NODE_WAVE_BANDS,
NODE_WAVE_RINGS
} |
enum | NodeBlendType {
NODE_BLEND_LINEAR,
NODE_BLEND_QUADRATIC,
NODE_BLEND_EASING,
NODE_BLEND_DIAGONAL,
NODE_BLEND_RADIAL,
NODE_BLEND_QUADRATIC_SPHERE,
NODE_BLEND_SPHERICAL
} |
enum | NodeBlendAxis { NODE_BLEND_HORIZONTAL,
NODE_BLEND_VERTICAL
} |
enum | NodeMarbleType { NODE_MARBLE_SOFT,
NODE_MARBLE_SHARP,
NODE_MARBLE_SHARPER
} |
enum | NodeStucciType { NODE_STUCCI_PLASTIC,
NODE_STUCCI_WALL_IN,
NODE_STUCCI_WALL_OUT
} |
enum | NodeVoronoiColoring { NODE_VORONOI_INTENSITY,
NODE_VORONOI_CELLS
} |
enum | NodeBlendWeightType { NODE_LAYER_WEIGHT_FRESNEL,
NODE_LAYER_WEIGHT_FACING
} |
enum | ShaderType { SHADER_TYPE_SURFACE,
SHADER_TYPE_VOLUME,
SHADER_TYPE_DISPLACEMENT
} |
enum | ClosureType {
CLOSURE_BSDF_ID,
CLOSURE_BSDF_DIFFUSE_ID,
CLOSURE_BSDF_OREN_NAYAR_ID,
CLOSURE_BSDF_TRANSLUCENT_ID,
CLOSURE_BSDF_REFLECTION_ID,
CLOSURE_BSDF_REFRACTION_ID,
CLOSURE_BSDF_GLASS_ID,
CLOSURE_BSDF_TRANSPARENT_ID,
CLOSURE_BSDF_MICROFACET_GGX_ID,
CLOSURE_BSDF_MICROFACET_GGX_REFRACTION_ID,
CLOSURE_BSDF_MICROFACET_BECKMANN_ID,
CLOSURE_BSDF_MICROFACET_BECKMANN_REFRACTION_ID,
CLOSURE_BSDF_WARD_ID,
CLOSURE_BSDF_ASHIKHMIN_VELVET_ID,
CLOSURE_BSDF_WESTIN_BACKSCATTER_ID,
CLOSURE_BSDF_WESTIN_SHEEN_ID,
CLOSURE_BSSRDF_CUBIC_ID,
CLOSURE_EMISSION_ID,
CLOSURE_DEBUG_ID,
CLOSURE_BACKGROUND_ID,
CLOSURE_HOLDOUT_ID,
CLOSURE_SUBSURFACE_ID,
CLOSURE_VOLUME_ID,
CLOSURE_VOLUME_TRANSPARENT_ID,
CLOSURE_VOLUME_ISOTROPIC_ID,
NBUILTIN_CLOSURES
} |