com.io7m.r2.core.shaders.types

## Interface R2ShaderPreprocessingEnvironmentType

- All Superinterfaces:
    R2ShaderPreprocessingEnvironmentReadableType
  All Known Implementing Classes:
    R2ShaderPreprocessingEnvironment

      public interface R2ShaderPreprocessingEnvironmentType
      extends R2ShaderPreprocessingEnvironmentReadableType

  The type of readable shader compilation environments.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `preprocessorDefinesClear()` Clear all preprocessor defines.
    `void` | `preprocessorDefineSet(String name, String value)` Set the value of a preprocessor define.
    `void` | `preprocessorDefineUnset(String name)` Unset a preprocessor define.

    - ### Methods inherited from interface com.io7m.r2.core.shaders.types.R2ShaderPreprocessingEnvironmentReadableType

      `preprocessor, preprocessorDefines`

- - ### Method Detail

    - #### preprocessorDefineSet

          void preprocessorDefineSet(String name,
                                     String value)

      Set the value of a preprocessor define.
      Parameters:
        `name` - The name
        `value` - The value

    - #### preprocessorDefineUnset

          void preprocessorDefineUnset(String name)

      Unset a preprocessor define.
      Parameters:
        `name` - The name

    - #### preprocessorDefinesClear

          void preprocessorDefinesClear()

      Clear all preprocessor defines.

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