org.artoolkitx.arx.arxj.rendering.shader_impl

## Class SimpleVertexShader

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

- All Implemented Interfaces:
    OpenGLShader

      public class SimpleVertexShader
      extends java.lang.Object
      implements OpenGLShader

  Created by Thorsten Bux on 21.01.2016. Here you define your vertex shader and what it does with the geometry position. This vertex shader class calculates the MVP matrix and applies it to the passed in geometry position vectors.
  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
    `SimpleVertexShader()`

  - ### Method Summary

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

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

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

- - ### Constructor Detail

    - #### SimpleVertexShader

          public SimpleVertexShader()

  - ### Method Detail

    - #### configureShader

          public int configureShader()

      Specified by:
        `configureShader` in interface `OpenGLShader`

    - #### setShaderSource

          public void setShaderSource(java.lang.String vertexShaderSource)

      Specified by:
        `setShaderSource` in interface `OpenGLShader`