MaterialX 1.38.10
Loading...
Searching...
No Matches
ShaderNode::Classification Class Reference

Flags for classifying nodes into different categories. More...

#include <ShaderNode.h>

Static Public Attributes

static const uint32_t TEXTURE = 1 << 0
 
static const uint32_t CLOSURE = 1 << 1
 Any node that outputs floats, colors, vectors, etc.
 
static const uint32_t SHADER = 1 << 2
 Any node that represents light integration.
 
static const uint32_t MATERIAL = 1 << 3
 Any node that outputs a shader.
 
static const uint32_t FILETEXTURE = 1 << 4
 Any node that outputs a material.
 
static const uint32_t CONDITIONAL = 1 << 5
 A file texture node.
 
static const uint32_t CONSTANT = 1 << 6
 A conditional node.
 
static const uint32_t BSDF = 1 << 7
 A constant node.
 
static const uint32_t BSDF_R = 1 << 8
 A BSDF node.
 
static const uint32_t BSDF_T = 1 << 9
 A reflection BSDF node.
 
static const uint32_t EDF = 1 << 10
 A transmission BSDF node.
 
static const uint32_t VDF = 1 << 11
 A EDF node.
 
static const uint32_t LAYER = 1 << 12
 A VDF node.
 
static const uint32_t THINFILM = 1 << 13
 A node for vertical layering of other closure nodes.
 
static const uint32_t SURFACE = 1 << 14
 A node for adding thin-film over microfacet BSDF nodes.
 
static const uint32_t VOLUME = 1 << 15
 A surface shader node.
 
static const uint32_t LIGHT = 1 << 16
 A volume shader node.
 
static const uint32_t UNLIT = 1 << 17
 A light shader node.
 
static const uint32_t SAMPLE2D = 1 << 18
 An unlit surface shader node.
 
static const uint32_t SAMPLE3D = 1 << 19
 Can be sampled in 2D (uv space)
 
static const uint32_t GEOMETRIC = 1 << 20
 Can be sampled in 3D (position)
 
static const uint32_t DOT = 1 << 21
 Geometric input.
 

Detailed Description

Flags for classifying nodes into different categories.


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