com.io7m.r2.core

## Interface R2MaskRendererType

- All Superinterfaces:
    com.io7m.jcanephora.core.JCGLResourceUsableType, R2DeletableType
  All Known Implementing Classes:
    R2MaskRenderer

      public interface R2MaskRendererType
      extends R2DeletableType

  The type of renderers that populate mask images.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `renderMask(com.io7m.jareas.core.AreaInclusiveUnsignedLType area, Optional<R2MaskBufferUsableType> mbuffer, com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc, R2MatricesObserverType m, R2MaskInstancesType s)` Render the given instances into the given mask buffer.

    - ### Methods inherited from interface com.io7m.r2.core.R2DeletableType

      `delete`

    - ### Methods inherited from interface com.io7m.jcanephora.core.JCGLResourceUsableType

      `isDeleted`

- - ### Method Detail

    - #### renderMask

          void renderMask(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
                          Optional<R2MaskBufferUsableType> mbuffer,
                          com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
                          com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
                          R2MatricesObserverType m,
                          R2MaskInstancesType s)

      Render the given instances into the given mask buffer.

      If a mask buffer is provided, it will be bound before evaluation and left bound after the method returns.

      Parameters:
        `area` - The output viewport
        `mbuffer` - The optional mask buffer
        `pc` - A profiling context
        `uc` - A texture unit context
        `m` - A matrix context
        `s` - The mask instances

Copyright © 2016 <code@io7m.com> http://io7m.com