Package org.robolectric.shadows
Class ShadowGLES20
java.lang.Object
org.robolectric.shadows.ShadowGLES20
Fake implementation of
GLES20
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
glCheckFramebufferStatus
(int target) Always returnsGLES20.GL_FRAMEBUFFER_COMPLETE
.protected static int
protected static int
glCreateShader
(int type) protected static void
glGenFramebuffers
(int n, int[] framebuffers, int offset) protected static void
glGenTextures
(int n, int[] textures, int offset) protected static void
glGetProgramiv
(int program, int pname, int[] params, int offset) protected static void
glGetShaderiv
(int shader, int pname, int[] params, int offset)
-
Constructor Details
-
ShadowGLES20
public ShadowGLES20()
-
-
Method Details
-
glGenFramebuffers
-
glGenTextures
-
glCreateShader
-
glCreateProgram
-
glGetShaderiv
@Implementation protected static void glGetShaderiv(int shader, int pname, int[] params, int offset) -
glGetProgramiv
@Implementation protected static void glGetProgramiv(int program, int pname, int[] params, int offset) -
glCheckFramebufferStatus
Always returnsGLES20.GL_FRAMEBUFFER_COMPLETE
.
-