org.artoolkitx.arx.arxj.rendering.shader_impl

## Class SimpleFragmentShader

- java.lang.Object
- - org.artoolkitx.arx.arxj.rendering.shader_impl.SimpleFragmentShader

- All Implemented Interfaces:
    OpenGLShader

      public class SimpleFragmentShader
      extends java.lang.Object
      implements OpenGLShader

  Here you define your fragment shader and what it does with the given color.
  This class also provides the implementation of the `configureShader()` method. So all you need to do is call this one from your fragment shader implementation.

- - ### Field Summary

    - ### Fields inherited from interface org.artoolkitx.arx.arxj.rendering.OpenGLShader

      `modelViewMatrixString, positionVectorString, projectionMatrixString`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleFragmentShader()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `configureShader()`
    `void` | `setShaderSource(java.lang.String source)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SimpleFragmentShader

          public SimpleFragmentShader()

  - ### Method Detail

    - #### configureShader

          public int configureShader()

      Specified by:
        `configureShader` in interface `OpenGLShader`

    - #### setShaderSource

          public void setShaderSource(java.lang.String source)

      Specified by:
        `setShaderSource` in interface `OpenGLShader`