Package tvi.webrtc
Class GlShader
java.lang.Object
tvi.webrtc.GlShader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getAttribLocation
(String label) int
getUniformLocation
(String label) void
release()
void
setVertexAttribArray
(String label, int dimension, int stride, FloatBuffer buffer) Enable and upload a vertex array for attribute `label`.void
setVertexAttribArray
(String label, int dimension, FloatBuffer buffer) Enable and upload a vertex array for attribute `label`.void
-
Constructor Details
-
GlShader
-
-
Method Details
-
getAttribLocation
-
setVertexAttribArray
Enable and upload a vertex array for attribute `label`. The vertex data is specified in `buffer` with `dimension` number of components per vertex. -
setVertexAttribArray
Enable and upload a vertex array for attribute `label`. The vertex data is specified in `buffer` with `dimension` number of components per vertex and specified `stride`. -
getUniformLocation
-
useProgram
public void useProgram() -
release
public void release()
-