com.io7m.r2.core

## Interface R2RenderTargetAllocatorFunctionType<D extends R2RenderTargetDescriptionType,T extends R2RenderTargetType<D>,C>

- Type Parameters:
    `D` - The type of render target descriptions
    `C` - The type of context values
    `T` - The type of allocated render targets

      public interface R2RenderTargetAllocatorFunctionType<D extends R2RenderTargetDescriptionType,T extends R2RenderTargetType<D>,C>

  Functions that allocate render targets.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `call(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc, C context, D description)` Allocate a render target.

- - ### Method Detail

    - #### call

          T call(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
                 com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType tc,
                 C context,
                 D description)

      Allocate a render target.

      The function must leave the primary framebuffer of the render target bound for drawing.

      Parameters:
        `g` - A GL interface
        `tc` - A texture unit allocator
        `context` - A context value
        `description` - A render target description
      Returns:
        An allocated render target

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