com.io7m.r2.core

## Interface R2TextureDefaultsType

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

      public interface R2TextureDefaultsType
      extends R2DeletableType

  Access to default textures for materials.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `R2Texture2DUsableType` | `texture2DBlack()`
    `R2Texture2DUsableType` | `texture2DNormal()`
    `R2Texture2DUsableType` | `texture2DProjectiveWhite()`
    `R2Texture2DUsableType` | `texture2DWhite()`
    `R2TextureCubeUsableType` | `textureCubeBlack()`

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

      `delete`

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

      `isDeleted`

- - ### Method Detail

    - #### texture2DNormal

          R2Texture2DUsableType texture2DNormal()

      Returns:
        A flat normal texture

    - #### texture2DWhite

          R2Texture2DUsableType texture2DWhite()

      Returns:
        A flat white texture

    - #### texture2DBlack

          R2Texture2DUsableType texture2DBlack()

      Returns:
        A flat black texture

    - #### texture2DProjectiveWhite

          R2Texture2DUsableType texture2DProjectiveWhite()

      Returns:
        A hard-edged white projective light texture

    - #### textureCubeBlack

          R2TextureCubeUsableType textureCubeBlack()

      Returns:
        A flat black texture

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