Default solid vertex shader. More...
Inherits DD::Image::Iop.
Inherited by DD::Image::ColoredShader.
Public Member Functions | |
| const char * | Class () const |
| const char * | node_help () const |
| SolidShader (Node *) | |
| bool | set_texturemap (ViewerContext *ctx, bool gl) |
| bool | shade_GL (ViewerContext *, GeoInfo &) |
| void | unset_texturemap (ViewerContext *) |
| void | vertex_shader (VertexContext &) |
| void | fragment_shader (const VertexContext &, Pixel &out) |
Static Public Attributes | |
| static SolidShader | sSolidShader |
Protected Member Functions | |
| void | _validate (bool) |
| void | _request (int x, int y, int r, int t, ChannelMask, int count) |
| void | engine (int y, int x, int r, ChannelMask, Row &) |
Default solid vertex shader.
Solid Shader. Interpolates the foreground vertex color.
| void SolidShader::vertex_shader | ( | VertexContext & | vtx | ) | [virtual] |
Enable interpolation of Cf channels.
Reimplemented from DD::Image::Iop.
References DD::Image::VertexContext::vP.
| void SolidShader::fragment_shader | ( | const VertexContext & | vtx, |
| Pixel & | out | ||
| ) | [virtual] |
This renders using the foreground color Cf.
Reimplemented from DD::Image::Iop.
SolidShader SolidShader::sSolidShader [static] |
global solid shader