Public Member Functions | |
const char * | Class () const |
const char * | node_help () const |
Black (Node *, const Format *=0, const Format *=0) | |
Black (const Format *=0, const Format *=0) | |
void | first_frame (int a) |
int | first_frame () const |
void | last_frame (int a) |
int | last_frame () const |
void | fragment_shader (const VertexContext &, Pixel &out) |
bool | shade_GL (ViewerContext *, GeoInfo &) |
Nuke uses this for all disconnected inputs, setting the formats from those set on the Root group.
The constructor takes the format and full-size-format to return. If format is null then Format::None is used. If full_size_format is null then format is used.
References DD::Image::IopInfo::black_outside(), DD::Image::IopInfo::format(), DD::Image::IopInfo::full_size_format(), DD::Image::IopInfoOwner::info_, DD::Image::Op::inputs(), DD::Image::Format::is_none(), DD::Image::Format::None, DD::Image::Box::set(), DD::Image::Box::x(), and DD::Image::Box::y().
The constructor takes the format and full-size-format to return. If format is null then Format::None is used. If full_size_format is null then format is used.
References DD::Image::IopInfo::black_outside(), DD::Image::IopInfo::format(), DD::Image::IopInfo::full_size_format(), DD::Image::IopInfoOwner::info_, DD::Image::Op::inputs(), DD::Image::Format::is_none(), DD::Image::Format::None, DD::Image::Box::set(), DD::Image::Box::x(), and DD::Image::Box::y().
void Black::fragment_shader | ( | const VertexContext & | vtx, | |
Pixel & | out | |||
) | [virtual] |
When used to shade an object, this always renders opaque black.
Reimplemented from DD::Image::Iop.
References DD::Image::Pixel::channels, and DD::Image::VertexContext::w().
bool Black::shade_GL | ( | ViewerContext * | ctx, | |
GeoInfo & | geo | |||
) | [virtual] |
OpenGL preview shading fails, an indication that the user interface color should be used to color the object instead.
Reimplemented from DD::Image::Iop.
References DD::Image::GeoInfo::draw_solid().
©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |