REDStateShader.h
Macro Definitions
Detailed Description
Header file describing the RED::StateShader class, that is the shader class configuring rendering states for all incoming shaders.
Macro Definition
-
RED_RENDER_TRANSPARENCY_MODE (int) Define the kind of transparency that is configured by a StateShader.
-
RED_RENDER_ALPHA_THRESHOLD (float) Threshold value for the alpha masked transparency.
-
RED_RENDER_TRANSPAR_COLOR (4*float) Transparency color.
-
RED_RENDER_TRANSPAR_IMAGE (RED::Object*) Transparency texture image. We now reserve 64 bits for that field.
-
RED_RENDER_TRANSPAR_IMAGE_UV (int) Mesh channel number to use for the transparency texture.
-
RED_RENDER_TRANSPAR_IMAGE_MATX (16*float) Transparency texture transformation matrix.
-
RED_RENDER_CULLING_MODE Specify the face culling to use for incoming geometries.
-
RED_RENDER_BLENDING_MODE (int) Specify the blending mode (pre-defined or custom).
-
RED_RENDER_BLENDING_FUNCTION1 (int) Specify the blending function for the incoming color.
-
RED_RENDER_BLENDING_EQUATION (int) Specify the operation combining the source and destination colors.
-
RED_RENDER_BLENDING_FUNCTION2 (int) Specify the blending function for the destination color.
-
RED_RENDER_BLENDING_CONSTANT (4*float) Color + alpha value usable in the blending equation.
-
RED_RENDER_DOUBLE_SIDED Render both sides of the element.
-
RED_RENDER_DEPTH_FUNCTION (int) StateShader::FUNCTION value.
-
RED_RENDER_DEPTH_TEST (int) StateShader::DEPTH_TEST value.
-
RED_RENDER_DEPTH_MASK (int) StateShader::DEPTH_MASK value.
-
RED_RENDER_LINE_WIDTH (float) Pixel width of a rendered line.
-
RED_RENDER_LINE_STIPPLE (int) Is line stipple enabled ?
-
RED_RENDER_LINE_STIPPLE_FACTOR (int) Line stipple pattern repeat factor.
-
RED_RENDER_LINE_STIPPLE_PATTERN (int) 16 bits pattern mask used to render lines.
-
RED_RENDER_POLYGON_OFFSET (int) Is polygon offset enabled ?
-
RED_RENDER_POLYGON_OFFSET_FACTOR (float) Angular factor of the polygon offset equation.
-
RED_RENDER_POLYGON_OFFSET_UNITS (float) Biasing z units of the polygon offset equation.
-
RED_RENDER_COLOR_MASK (int) Value of the color mask enabling / disabling color writes.
-
RED_RENDER_LINE_SMOOTHING (int) Value of the line smoothing flag.
-
RED_RENDER_POINT_SMOOTHING (int) Value of the point smoothing flag.
-
RED_RENDER_POINT_SIZE (float) Value of the point diameter.
-
RED_RENDER_MATTE
-
RED_RENDER_DISP_HEIGHT (float) Maximal displacement height.
-
RED_RENDER_DISP_IMAGE (RED::Object*) Displacement texture image address.
-
RED_RENDER_DISP_UV (int) Mesh channel to use to sample the displacement texture image.
-
RED_RENDER_DISP_MATRIX (16*float) Displacement UV transformation matrix.
-
RED_RENDER_DISP_OFFSET (float) Displacement offset value.
-
RED_RENDER_STENCIL_TEST (int) RED::StateShader::STENCIL_TEST value.
-
RED_RENDER_STENCIL_FUNCTION (int) StateShader::FUNCTION value for stencil testing.
-
RED_RENDER_STENCIL_REF (int) Stencil reference value for stencil testing.
-
RED_RENDER_STENCIL_MASK (int) Stencil bit testing mask.
-
RED_RENDER_STENCIL_WRITEMASK (int) Stencil framebuffer writing mask.
-
RED_RENDER_STENCIL_OP_FAIL (int) Stencil operation value.
-
RED_RENDER_STENCIL_OP_ZFAIL (int) Stencil operation value.
-
RED_RENDER_STENCIL_OP_ZPASS (int) Stencil operation value.
-
RED_RENDER_REFLECTIVE_CAUSTICS
-
RED_RENDER_REFRACTIVE_CAUSTICS
-
RED_RENDER_BLENDING_FUNCTION1_0 (int) Specify the blending function for the incoming color, for the rendering buffer number 0.
-
RED_RENDER_BLENDING_EQUATION_0 (int) Specify the operation combining the source and destination colors, for the rendering buffer number 0.
-
RED_RENDER_BLENDING_FUNCTION2_0 (int) Specify the blending function for the destination color, for the rendering buffer number 0.
-
RED_RENDER_BLENDING_FUNCTION1_1 (int) Specify the blending function for the incoming color, for the rendering buffer number 1.
-
RED_RENDER_BLENDING_EQUATION_1 (int) Specify the operation combining the source and destination colors, for the rendering buffer number 1.
-
RED_RENDER_BLENDING_FUNCTION2_1 (int) Specify the blending function for the destination color, for the rendering buffer number 1.
-
RED_RENDER_BLENDING_FUNCTION1_2 (int) Specify the blending function for the incoming color, for the rendering buffer number 2.
-
RED_RENDER_BLENDING_EQUATION_2 (int) Specify the operation combining the source and destination colors, for the rendering buffer number 2.
-
RED_RENDER_BLENDING_FUNCTION2_2 (int) Specify the blending function for the destination color, for the rendering buffer number 2.
-
RED_RENDER_BLENDING_FUNCTION1_3 (int) Specify the blending function for the incoming color, for the rendering buffer number 3.
-
RED_RENDER_BLENDING_EQUATION_3 (int) Specify the operation combining the source and destination colors, for the rendering buffer number 3.
-
RED_RENDER_BLENDING_FUNCTION2_3 (int) Specify the blending function for the destination color, for the rendering buffer number 3.
-
RED_RENDER_BLENDING_FUNCTION1_4
-
RED_RENDER_BLENDING_EQUATION_4
-
RED_RENDER_BLENDING_FUNCTION2_4
-
RED_RENDER_BLENDING_FUNCTION1_5
-
RED_RENDER_BLENDING_EQUATION_5
-
RED_RENDER_BLENDING_FUNCTION2_5
-
RED_RENDER_BLENDING_FUNCTION1_6
-
RED_RENDER_BLENDING_EQUATION_6
-
RED_RENDER_BLENDING_FUNCTION2_6
-
RED_RENDER_BLENDING_FUNCTION1_7
-
RED_RENDER_BLENDING_EQUATION_7
-
RED_RENDER_BLENDING_FUNCTION2_7
-
RED_RENDER_STATEVEC_SIZE (int) size of the state vector of a StateShader.
-
RED_RENDER_COLOR_MASK_RED RED_RENDER_COLOR_MASK flag value set to enable R color writes.
-
RED_RENDER_COLOR_MASK_GREEN RED_RENDER_COLOR_MASK flag value set to enable G color writes.
-
RED_RENDER_COLOR_MASK_BLUE RED_RENDER_COLOR_MASK flag value set to enable B color writes.
-
RED_RENDER_COLOR_MASK_ALPHA RED_RENDER_COLOR_MASK flag value set to enable A color writes.
-
RED_RENDER_COLOR_MASK_ALL RED_RENDER_COLOR_MASK flag value set for all channel writes.
-
RED_RENDER_COLOR_MASK_NONE RED_RENDER_COLOR_MASK flag value set for no channel writes.