![]() |
KudanAR - Android
1.6.0
|
Inherits ARShaderProgram.
Public Member Functions | |
ARColourShader () | |
void | setColour (Vector3f colour) |
![]() | |
void | setShaderStrings (String vertexShaderString, String fragmentShaderString) |
void | compileShaders () |
void | useProgram () |
void | prepareRenderer () |
Static Public Member Functions | |
static ARColourShader | getShader () |
![]() | |
static int | createShader (String vertexShaderSrc, String fragmentShaderSrc) |
static void | checkError () |
Additional Inherited Members | |
![]() | |
int | mShaderID |
Class representing the ARColourShader. Used to draw solid colours.
ARColourShader.ARColourShader | ( | ) |
Initialises ARColourShader and sets the shader strings ready for compilation.
|
static |
Static method that gets ARColourShader from the ARShaderManager. If the shader does not exist it is created.
void ARColourShader.setColour | ( | Vector3f | colour | ) |
Sets colour in shader.
colour | Vector3f representing the R,G,B colour values. |