REDRenderShaderViewport.h

Macro Definitions

RED_VIEWPORT_SHADER_PRELIT_STRING_ID

RED_VIEWPORT_SHADER_POSTLIT_STRING_ID

RED_RSH_VERTEX_COLOR_RENDER_PASS

RED_RSH_VERTEX_COLOR_TYPE

RED_RSH_VERTEX_COLOR_VERTEX_COLOR

RED_RSH_VERTEX_COLOR_VERTEX_COLOR_CHANNEL

RED_RSH_VERTEX_COLOR_OBJECT_COLOR

RED_RSH_VERTEX_COLOR_AMBIENT_COLOR

RED_RSH_VERTEX_COLOR_SPECULAR_COLOR

RED_RSH_VERTEX_COLOR_SPECULAR_EXPONENT

RED_RSH_VERTEX_COLOR_OPACITY_COLOR

RED_RSH_VERTEX_COLOR_HIGHLIGHT_COLOR

RED_SHADER_VIEWPORT_AMBIENT

RED_SHADER_VIEWPORT_OBJECT

RED_SHADER_VIEWPORT_SPECULAR

RED_SHADER_VIEWPORT_SPECULAR_EXP

RED_SHADER_VIEWPORT_OPACITY

RED_SHADER_VIEWPORT_HIGHLIGHT

RED_SHADER_VIEWPORT_LIGHT_COLOR

RED_SHADER_VIEWPORT_LIGHT_DIRECTION

RED_SHADER_VIEWPORT_TYPE

RED_SHADER_VIEWPORT_IS_VERTEX_COLOR

Namespaces

RED

Types

RenderShaderViewport

Detailed Description

Header file describing the RED::RenderShaderViewport class, in charge of the rendering of a per pixel lit color with highlight feature.

Macro Definition

RED_VIEWPORT_SHADER_PRELIT_STRING_ID

Default RED::Object string identifier of a RED::RenderShaderViewport in a pass.

RED_VIEWPORT_SHADER_POSTLIT_STRING_ID

Default RED::Object string identifier of a RED::RenderShaderViewport in a pass.

RED_RSH_VERTEX_COLOR_RENDER_PASS

(RED::MATERIAL_PASS) RED::RenderShaderVertexColor input parameter. Defines the shader rendering pass.

RED_RSH_VERTEX_COLOR_TYPE

(double) RED::RenderShaderVertexColor input parameter. RED::RSV_TYPE enumeration value cast into double for storage.

RED_RSH_VERTEX_COLOR_VERTEX_COLOR

(bool) RED::RenderShaderVertexColor input parameter. Is the shader using vertex colors?

RED_RSH_VERTEX_COLOR_VERTEX_COLOR_CHANNEL

(RED::MESH_CHANNEL) RED::RenderShaderVertexColor input parameter. Source vertex color channel.

RED_RSH_VERTEX_COLOR_OBJECT_COLOR

(RED::Color) RED::RenderShaderVertexColor input parameter. Object color.

RED_RSH_VERTEX_COLOR_AMBIENT_COLOR

(RED::Color) RED::RenderShaderVertexColor input parameter. Ambient color.

RED_RSH_VERTEX_COLOR_SPECULAR_COLOR

(RED::Color) RED::RenderShaderVertexColor input parameter. Specular color.

RED_RSH_VERTEX_COLOR_SPECULAR_EXPONENT

(double) RED::RenderShaderVertexColor input parameter. Specular color exponent.

RED_RSH_VERTEX_COLOR_OPACITY_COLOR

(RED::Color) RED::RenderShaderVertexColor input parameter. Opacity color.

RED_RSH_VERTEX_COLOR_HIGHLIGHT_COLOR

(RED::Color) RED::RenderShaderVertexColor input parameter. Highlight color.

RED_SHADER_VIEWPORT_AMBIENT
RED_SHADER_VIEWPORT_OBJECT
RED_SHADER_VIEWPORT_SPECULAR
RED_SHADER_VIEWPORT_SPECULAR_EXP
RED_SHADER_VIEWPORT_OPACITY
RED_SHADER_VIEWPORT_HIGHLIGHT
RED_SHADER_VIEWPORT_LIGHT_COLOR
RED_SHADER_VIEWPORT_LIGHT_DIRECTION
RED_SHADER_VIEWPORT_TYPE
RED_SHADER_VIEWPORT_IS_VERTEX_COLOR