Package gov.nasa.worldwind.render
Class BasicShaderProgram
- java.lang.Object
-
- gov.nasa.worldwind.render.ShaderProgram
-
- gov.nasa.worldwind.render.BasicShaderProgram
-
- All Implemented Interfaces:
RenderResource
public class BasicShaderProgram extends ShaderProgram
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object
KEY
-
Constructor Summary
Constructors Constructor Description BasicShaderProgram(android.content.res.Resources resources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enablePickMode(boolean enable)
void
enableTexture(boolean enable)
void
loadColor(Color color)
void
loadModelviewProjection(Matrix4 matrix)
void
loadTexCoordMatrix(Matrix3 matrix)
-
Methods inherited from class gov.nasa.worldwind.render.ShaderProgram
getAttribBindings, getProgramLength, getProgramSources, release, setAttribBindings, setProgramSources, useProgram
-
-
-
-
Method Detail
-
enablePickMode
public void enablePickMode(boolean enable)
-
enableTexture
public void enableTexture(boolean enable)
-
loadModelviewProjection
public void loadModelviewProjection(Matrix4 matrix)
-
loadTexCoordMatrix
public void loadTexCoordMatrix(Matrix3 matrix)
-
loadColor
public void loadColor(Color color)
-
-