renderer_shapemask

class janim.render.renderer_shapemask.ShapeMaskRenderer

Bases: Renderer

Mask Renderer

  • fbo_content: renders the content of the masked items

  • fbo_mask: renders the mask shape (white fill)

Composites the two outputs through the shapemask_compose shader

init() None
render(item: ShapeMask) None