Inherits DD::Image::Iop.
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 &) |
This operator produces a completely empty and black image. The output bounding box is 1x1 and the output channels is Mask_None.
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::Info2D::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::Info2D::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.
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().