Public Member Functions | |
| Span (const Span &s) | |
| Span & | operator= (const Span &s) |
| void | initialize (Scene *scene, rPrimitive *p, int Y) |
| const Primitive * | primitive () const |
| rPrimitive * | rprimitive () const |
Public Attributes | |
| VertexContext | vtx |
| Argument for Iop::fragment_shader(). | |
| VArray | vX |
| Value for vtx.vP at x==0. | |
| int | x |
| int | r |
| Range of pixels the primitive intersects. | |
| bool | always_hit |
| Used by antialiasing. | |
| bool | never_hit |
| Used by antialiasing. | |
| void DD::Image::Render::Span::initialize | ( | Scene * | scene, | |
| rPrimitive * | p, | |||
| int | Y | |||
| ) | [inline] |
Call the rPrimitive::intersect_scanline and otherwise setup.
References DD::Image::Scene::ambient, DD::Image::rPrimitive::geoinfo(), DD::Image::rPrimitive::intersect_scanline(), DD::Image::GeoInfo::material, DD::Image::Primitive::material(), DD::Image::Scene::object_transforms(), DD::Image::GeoInfo::output_index(), DD::Image::rPrimitive::parent(), DD::Image::GeoInfo::render_mode, and DD::Image::GeoInfo::renderState.
Referenced by DD::Image::Render::draw_primitives().
| const Primitive* DD::Image::Render::Span::primitive | ( | ) | const [inline] |
Return the parent primitive stored in the VertexContext.
| rPrimitive* DD::Image::Render::Span::rprimitive | ( | ) | const [inline] |
Return the render primitive stored in the VertexContext.
Referenced by DD::Image::Render::draw_primitives().
| ©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |