Skip to content
Lukas Sägesser edited this page Jun 22, 2015 · 1 revision

ShaderGraph

####Inherits: Shader ####Category: Core

Brief Description

Member Functions

Signals

  • updated ( )

Numeric Constants

  • NODE_INPUT = 0
  • NODE_SCALAR_CONST = 1
  • NODE_VEC_CONST = 2
  • NODE_RGB_CONST = 3
  • NODE_XFORM_CONST = 4
  • NODE_TIME = 5
  • NODE_SCREEN_TEX = 6
  • NODE_SCALAR_OP = 7
  • NODE_VEC_OP = 8
  • NODE_VEC_SCALAR_OP = 9
  • NODE_RGB_OP = 10
  • NODE_XFORM_MULT = 11
  • NODE_XFORM_VEC_MULT = 12
  • NODE_XFORM_VEC_INV_MULT = 13
  • NODE_SCALAR_FUNC = 14
  • NODE_VEC_FUNC = 15
  • NODE_VEC_LEN = 16
  • NODE_DOT_PROD = 17
  • NODE_VEC_TO_SCALAR = 18
  • NODE_SCALAR_TO_VEC = 19
  • NODE_VEC_TO_XFORM = 21
  • NODE_XFORM_TO_VEC = 20
  • NODE_SCALAR_INTERP = 22
  • NODE_VEC_INTERP = 23
  • NODE_COLOR_RAMP = 24
  • NODE_CURVE_MAP = 25
  • NODE_SCALAR_INPUT = 26
  • NODE_VEC_INPUT = 27
  • NODE_RGB_INPUT = 28
  • NODE_XFORM_INPUT = 29
  • NODE_TEXTURE_INPUT = 30
  • NODE_CUBEMAP_INPUT = 31
  • NODE_DEFAULT_TEXTURE = 32
  • NODE_OUTPUT = 33
  • NODE_COMMENT = 34
  • NODE_TYPE_MAX = 35
  • SLOT_TYPE_SCALAR = 0
  • SLOT_TYPE_VEC = 1
  • SLOT_TYPE_XFORM = 2
  • SLOT_TYPE_TEXTURE = 3
  • SLOT_MAX = 4
  • SHADER_TYPE_VERTEX = 0
  • SHADER_TYPE_FRAGMENT = 1
  • SHADER_TYPE_LIGHT = 2
  • SHADER_TYPE_MAX = 3
  • SLOT_IN = 0
  • SLOT_OUT = 1
  • GRAPH_OK = 0
  • GRAPH_ERROR_CYCLIC = 1
  • GRAPH_ERROR_MISSING_CONNECTIONS = 2
  • SCALAR_OP_ADD = 0
  • SCALAR_OP_SUB = 1
  • SCALAR_OP_MUL = 2
  • SCALAR_OP_DIV = 3
  • SCALAR_OP_MOD = 4
  • SCALAR_OP_POW = 5
  • SCALAR_OP_MAX = 6
  • SCALAR_OP_MIN = 7
  • SCALAR_OP_ATAN2 = 8
  • SCALAR_MAX_OP = 9
  • VEC_OP_ADD = 0
  • VEC_OP_SUB = 1
  • VEC_OP_MUL = 2
  • VEC_OP_DIV = 3
  • VEC_OP_MOD = 4
  • VEC_OP_POW = 5
  • VEC_OP_MAX = 6
  • VEC_OP_MIN = 7
  • VEC_OP_CROSS = 8
  • VEC_MAX_OP = 9
  • VEC_SCALAR_OP_MUL = 0
  • VEC_SCALAR_OP_DIV = 1
  • VEC_SCALAR_OP_POW = 2
  • VEC_SCALAR_MAX_OP = 3
  • RGB_OP_SCREEN = 0
  • RGB_OP_DIFFERENCE = 1
  • RGB_OP_DARKEN = 2
  • RGB_OP_LIGHTEN = 3
  • RGB_OP_OVERLAY = 4
  • RGB_OP_DODGE = 5
  • RGB_OP_BURN = 6
  • RGB_OP_SOFT_LIGHT = 7
  • RGB_OP_HARD_LIGHT = 8
  • RGB_MAX_OP = 9
  • SCALAR_FUNC_SIN = 0
  • SCALAR_FUNC_COS = 1
  • SCALAR_FUNC_TAN = 2
  • SCALAR_FUNC_ASIN = 3
  • SCALAR_FUNC_ACOS = 4
  • SCALAR_FUNC_ATAN = 5
  • SCALAR_FUNC_SINH = 6
  • SCALAR_FUNC_COSH = 7
  • SCALAR_FUNC_TANH = 8
  • SCALAR_FUNC_LOG = 9
  • SCALAR_FUNC_EXP = 10
  • SCALAR_FUNC_SQRT = 11
  • SCALAR_FUNC_ABS = 12
  • SCALAR_FUNC_SIGN = 13
  • SCALAR_FUNC_FLOOR = 14
  • SCALAR_FUNC_ROUND = 15
  • SCALAR_FUNC_CEIL = 16
  • SCALAR_FUNC_FRAC = 17
  • SCALAR_FUNC_SATURATE = 18
  • SCALAR_FUNC_NEGATE = 19
  • SCALAR_MAX_FUNC = 20
  • VEC_FUNC_NORMALIZE = 0
  • VEC_FUNC_SATURATE = 1
  • VEC_FUNC_NEGATE = 2
  • VEC_FUNC_RECIPROCAL = 3
  • VEC_FUNC_RGB2HSV = 4
  • VEC_FUNC_HSV2RGB = 5
  • VEC_MAX_FUNC = 6

Member Function Description

Clone this wiki locally