pub struct Struct_PPB_OpenGLES2_1_0 {
pub ActiveTexture: Option< extern "C" fn(context: PP_Resource, texture: GLenum)>,
pub AttachShader: Option< extern "C" fn(context: PP_Resource, program: GLuint, shader: GLuint)>,
pub BindAttribLocation: Option< extern "C" fn(context: PP_Resource, program: GLuint, index: GLuint, name: *const c_char)>,
pub BindBuffer: Option< extern "C" fn(context: PP_Resource, target: GLenum, buffer: GLuint)>,
pub BindFramebuffer: Option< extern "C" fn(context: PP_Resource, target: GLenum, framebuffer: GLuint)>,
pub BindRenderbuffer: Option< extern "C" fn(context: PP_Resource, target: GLenum, renderbuffer: GLuint)>,
pub BindTexture: Option< extern "C" fn(context: PP_Resource, target: GLenum, texture: GLuint)>,
pub BlendColor: Option< extern "C" fn(context: PP_Resource, red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf)>,
pub BlendEquation: Option< extern "C" fn(context: PP_Resource, mode: GLenum)>,
pub BlendEquationSeparate: Option< extern "C" fn(context: PP_Resource, modeRGB: GLenum, modeAlpha: GLenum)>,
pub BlendFunc: Option< extern "C" fn(context: PP_Resource, sfactor: GLenum, dfactor: GLenum)>,
pub BlendFuncSeparate: Option< extern "C" fn(context: PP_Resource, srcRGB: GLenum, dstRGB: GLenum, srcAlpha: GLenum, dstAlpha: GLenum)>,
pub BufferData: Option< extern "C" fn(context: PP_Resource, target: GLenum, size: GLsizeiptr, data: *const c_void, usage: GLenum)>,
pub BufferSubData: Option< extern "C" fn(context: PP_Resource, target: GLenum, offset: GLintptr, size: GLsizeiptr, data: *const c_void)>,
pub CheckFramebufferStatus: Option< extern "C" fn(context: PP_Resource, target: GLenum) -> GLenum>,
pub Clear: Option< extern "C" fn(context: PP_Resource, mask: GLbitfield)>,
pub ClearColor: Option< extern "C" fn(context: PP_Resource, red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf)>,
pub ClearDepthf: Option< extern "C" fn(context: PP_Resource, depth: GLclampf)>,
pub ClearStencil: Option< extern "C" fn(context: PP_Resource, s: GLint)>,
pub ColorMask: Option< extern "C" fn(context: PP_Resource, red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean)>,
pub CompileShader: Option< extern "C" fn(context: PP_Resource, shader: GLuint)>,
pub CompressedTexImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void)>,
pub CompressedTexSubImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void)>,
pub CopyTexImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint)>,
pub CopyTexSubImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei)>,
pub CreateProgram: Option< extern "C" fn(context: PP_Resource) -> GLuint>,
pub CreateShader: Option< extern "C" fn(context: PP_Resource, _type: GLenum) -> GLuint>,
pub CullFace: Option< extern "C" fn(context: PP_Resource, mode: GLenum)>,
pub DeleteBuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, buffers: *const GLuint)>,
pub DeleteFramebuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, framebuffers: *const GLuint)>,
pub DeleteProgram: Option< extern "C" fn(context: PP_Resource, program: GLuint)>,
pub DeleteRenderbuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, renderbuffers: *const GLuint)>,
pub DeleteShader: Option< extern "C" fn(context: PP_Resource, shader: GLuint)>,
pub DeleteTextures: Option< extern "C" fn(context: PP_Resource, n: GLsizei, textures: *const GLuint)>,
pub DepthFunc: Option< extern "C" fn(context: PP_Resource, func: GLenum)>,
pub DepthMask: Option< extern "C" fn(context: PP_Resource, flag: GLboolean)>,
pub DepthRangef: Option< extern "C" fn(context: PP_Resource, zNear: GLclampf, zFar: GLclampf)>,
pub DetachShader: Option< extern "C" fn(context: PP_Resource, program: GLuint, shader: GLuint)>,
pub Disable: Option< extern "C" fn(context: PP_Resource, cap: GLenum)>,
pub DisableVertexAttribArray: Option< extern "C" fn(context: PP_Resource, index: GLuint)>,
pub DrawArrays: Option< extern "C" fn(context: PP_Resource, mode: GLenum, first: GLint, count: GLsizei)>,
pub DrawElements: Option< extern "C" fn(context: PP_Resource, mode: GLenum, count: GLsizei, _type: GLenum, indices: *const c_void)>,
pub Enable: Option< extern "C" fn(context: PP_Resource, cap: GLenum)>,
pub EnableVertexAttribArray: Option< extern "C" fn(context: PP_Resource, index: GLuint)>,
pub Finish: Option< extern "C" fn(context: PP_Resource)>,
pub Flush: Option< extern "C" fn(context: PP_Resource)>,
pub FramebufferRenderbuffer: Option< extern "C" fn(context: PP_Resource, target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: GLuint)>,
pub FramebufferTexture2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, attachment: GLenum, textarget: GLenum, texture: GLuint, level: GLint)>,
pub FrontFace: Option< extern "C" fn(context: PP_Resource, mode: GLenum)>,
pub GenBuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, buffers: *mut GLuint)>,
pub GenerateMipmap: Option< extern "C" fn(context: PP_Resource, target: GLenum)>,
pub GenFramebuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, framebuffers: *mut GLuint)>,
pub GenRenderbuffers: Option< extern "C" fn(context: PP_Resource, n: GLsizei, renderbuffers: *mut GLuint)>,
pub GenTextures: Option< extern "C" fn(context: PP_Resource, n: GLsizei, textures: *mut GLuint)>,
pub GetActiveAttrib: Option< extern "C" fn(context: PP_Resource, program: GLuint, index: GLuint, bufsize: GLsizei, length: *mut GLsizei, size: *mut GLint, _type: *mut GLenum, name: *mut c_char)>,
pub GetActiveUniform: Option< extern "C" fn(context: PP_Resource, program: GLuint, index: GLuint, bufsize: GLsizei, length: *mut GLsizei, size: *mut GLint, _type: *mut GLenum, name: *mut c_char)>,
pub GetAttachedShaders: Option< extern "C" fn(context: PP_Resource, program: GLuint, maxcount: GLsizei, count: *mut GLsizei, shaders: *mut GLuint)>,
pub GetAttribLocation: Option< extern "C" fn(context: PP_Resource, program: GLuint, name: *const c_char) -> GLint>,
pub GetBooleanv: Option< extern "C" fn(context: PP_Resource, pname: GLenum, params: *mut GLboolean)>,
pub GetBufferParameteriv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *mut GLint)>,
pub GetError: Option< extern "C" fn(context: PP_Resource) -> GLenum>,
pub GetFloatv: Option< extern "C" fn(context: PP_Resource, pname: GLenum, params: *mut GLfloat)>,
pub GetFramebufferAttachmentParameteriv: Option< extern "C" fn(context: PP_Resource, target: GLenum, attachment: GLenum, pname: GLenum, params: *mut GLint)>,
pub GetIntegerv: Option< extern "C" fn(context: PP_Resource, pname: GLenum, params: *mut GLint)>,
pub GetProgramiv: Option< extern "C" fn(context: PP_Resource, program: GLuint, pname: GLenum, params: *mut GLint)>,
pub GetProgramInfoLog: Option< extern "C" fn(context: PP_Resource, program: GLuint, bufsize: GLsizei, length: *mut GLsizei, infolog: *mut c_char)>,
pub GetRenderbufferParameteriv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *mut GLint)>,
pub GetShaderiv: Option< extern "C" fn(context: PP_Resource, shader: GLuint, pname: GLenum, params: *mut GLint)>,
pub GetShaderInfoLog: Option< extern "C" fn(context: PP_Resource, shader: GLuint, bufsize: GLsizei, length: *mut GLsizei, infolog: *mut c_char)>,
pub GetShaderPrecisionFormat: Option< extern "C" fn(context: PP_Resource, shadertype: GLenum, precisiontype: GLenum, range: *mut GLint, precision: *mut GLint)>,
pub GetShaderSource: Option< extern "C" fn(context: PP_Resource, shader: GLuint, bufsize: GLsizei, length: *mut GLsizei, source: *mut c_char)>,
pub GetString: Option< extern "C" fn(context: PP_Resource, name: GLenum) -> *const GLubyte>,
pub GetTexParameterfv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *mut GLfloat)>,
pub GetTexParameteriv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *mut GLint)>,
pub GetUniformfv: Option< extern "C" fn(context: PP_Resource, program: GLuint, location: GLint, params: *mut GLfloat)>,
pub GetUniformiv: Option< extern "C" fn(context: PP_Resource, program: GLuint, location: GLint, params: *mut GLint)>,
pub GetUniformLocation: Option< extern "C" fn(context: PP_Resource, program: GLuint, name: *const c_char) -> GLint>,
pub GetVertexAttribfv: Option< extern "C" fn(context: PP_Resource, index: GLuint, pname: GLenum, params: *mut GLfloat)>,
pub GetVertexAttribiv: Option< extern "C" fn(context: PP_Resource, index: GLuint, pname: GLenum, params: *mut GLint)>,
pub GetVertexAttribPointerv: Option< extern "C" fn(context: PP_Resource, index: GLuint, pname: GLenum, pointer: *mut *mut c_void)>,
pub Hint: Option< extern "C" fn(context: PP_Resource, target: GLenum, mode: GLenum)>,
pub IsBuffer: Option< extern "C" fn(context: PP_Resource, buffer: GLuint) -> GLboolean>,
pub IsEnabled: Option< extern "C" fn(context: PP_Resource, cap: GLenum) -> GLboolean>,
pub IsFramebuffer: Option< extern "C" fn(context: PP_Resource, framebuffer: GLuint) -> GLboolean>,
pub IsProgram: Option< extern "C" fn(context: PP_Resource, program: GLuint) -> GLboolean>,
pub IsRenderbuffer: Option< extern "C" fn(context: PP_Resource, renderbuffer: GLuint) -> GLboolean>,
pub IsShader: Option< extern "C" fn(context: PP_Resource, shader: GLuint) -> GLboolean>,
pub IsTexture: Option< extern "C" fn(context: PP_Resource, texture: GLuint) -> GLboolean>,
pub LineWidth: Option< extern "C" fn(context: PP_Resource, width: GLfloat)>,
pub LinkProgram: Option< extern "C" fn(context: PP_Resource, program: GLuint)>,
pub PixelStorei: Option< extern "C" fn(context: PP_Resource, pname: GLenum, param: GLint)>,
pub PolygonOffset: Option< extern "C" fn(context: PP_Resource, factor: GLfloat, units: GLfloat)>,
pub ReadPixels: Option< extern "C" fn(context: PP_Resource, x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, _type: GLenum, pixels: *mut c_void)>,
pub ReleaseShaderCompiler: Option< extern "C" fn(context: PP_Resource)>,
pub RenderbufferStorage: Option< extern "C" fn(context: PP_Resource, target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei)>,
pub SampleCoverage: Option< extern "C" fn(context: PP_Resource, value: GLclampf, invert: GLboolean)>,
pub Scissor: Option< extern "C" fn(context: PP_Resource, x: GLint, y: GLint, width: GLsizei, height: GLsizei)>,
pub ShaderBinary: Option< extern "C" fn(context: PP_Resource, n: GLsizei, shaders: *const GLuint, binaryformat: GLenum, binary: *const c_void, length: GLsizei)>,
pub ShaderSource: Option< extern "C" fn(context: PP_Resource, shader: GLuint, count: GLsizei, str: *mut *const c_char, length: *const GLint)>,
pub StencilFunc: Option< extern "C" fn(context: PP_Resource, func: GLenum, _ref: GLint, mask: GLuint)>,
pub StencilFuncSeparate: Option< extern "C" fn(context: PP_Resource, face: GLenum, func: GLenum, _ref: GLint, mask: GLuint)>,
pub StencilMask: Option< extern "C" fn(context: PP_Resource, mask: GLuint)>,
pub StencilMaskSeparate: Option< extern "C" fn(context: PP_Resource, face: GLenum, mask: GLuint)>,
pub StencilOp: Option< extern "C" fn(context: PP_Resource, fail: GLenum, zfail: GLenum, zpass: GLenum)>,
pub StencilOpSeparate: Option< extern "C" fn(context: PP_Resource, face: GLenum, fail: GLenum, zfail: GLenum, zpass: GLenum)>,
pub TexImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, _type: GLenum, pixels: *const c_void)>,
pub TexParameterf: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, param: GLfloat)>,
pub TexParameterfv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *const GLfloat)>,
pub TexParameteri: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, param: GLint)>,
pub TexParameteriv: Option< extern "C" fn(context: PP_Resource, target: GLenum, pname: GLenum, params: *const GLint)>,
pub TexSubImage2D: Option< extern "C" fn(context: PP_Resource, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, _type: GLenum, pixels: *const c_void)>,
pub Uniform1f: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLfloat)>,
pub Uniform1fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLfloat)>,
pub Uniform1i: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLint)>,
pub Uniform1iv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLint)>,
pub Uniform2f: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLfloat, y: GLfloat)>,
pub Uniform2fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLfloat)>,
pub Uniform2i: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLint, y: GLint)>,
pub Uniform2iv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLint)>,
pub Uniform3f: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLfloat, y: GLfloat, z: GLfloat)>,
pub Uniform3fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLfloat)>,
pub Uniform3i: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLint, y: GLint, z: GLint)>,
pub Uniform3iv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLint)>,
pub Uniform4f: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat)>,
pub Uniform4fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLfloat)>,
pub Uniform4i: Option< extern "C" fn(context: PP_Resource, location: GLint, x: GLint, y: GLint, z: GLint, w: GLint)>,
pub Uniform4iv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, v: *const GLint)>,
pub UniformMatrix2fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat)>,
pub UniformMatrix3fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat)>,
pub UniformMatrix4fv: Option< extern "C" fn(context: PP_Resource, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat)>,
pub UseProgram: Option< extern "C" fn(context: PP_Resource, program: GLuint)>,
pub ValidateProgram: Option< extern "C" fn(context: PP_Resource, program: GLuint)>,
pub VertexAttrib1f: Option< extern "C" fn(context: PP_Resource, indx: GLuint, x: GLfloat)>,
pub VertexAttrib1fv: Option< extern "C" fn(context: PP_Resource, indx: GLuint, values: *const GLfloat)>,
pub VertexAttrib2f: Option< extern "C" fn(context: PP_Resource, indx: GLuint, x: GLfloat, y: GLfloat)>,
pub VertexAttrib2fv: Option< extern "C" fn(context: PP_Resource, indx: GLuint, values: *const GLfloat)>,
pub VertexAttrib3f: Option< extern "C" fn(context: PP_Resource, indx: GLuint, x: GLfloat, y: GLfloat, z: GLfloat)>,
pub VertexAttrib3fv: Option< extern "C" fn(context: PP_Resource, indx: GLuint, values: *const GLfloat)>,
pub VertexAttrib4f: Option< extern "C" fn(context: PP_Resource, indx: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat)>,
pub VertexAttrib4fv: Option< extern "C" fn(context: PP_Resource, indx: GLuint, values: *const GLfloat)>,
pub VertexAttribPointer: Option< extern "C" fn(context: PP_Resource, indx: GLuint, size: GLint, _type: GLenum, normalized: GLboolean, stride: GLsizei, ptr: *const c_void)>,
pub Viewport: Option< extern "C" fn(context: PP_Resource, x: GLint, y: GLint, width: GLsizei, height: GLsizei)>,
}
Fields
ActiveTexture | |
AttachShader | |
BindAttribLocation | |
BindBuffer | |
BindFramebuffer | |
BindRenderbuffer | |
BindTexture | |
BlendColor | |
BlendEquation | |
BlendEquationSeparate | |
BlendFunc | |
BlendFuncSeparate | |
BufferData | |
BufferSubData | |
CheckFramebufferStatus | |
Clear | |
ClearColor | |
ClearDepthf | |
ClearStencil | |
ColorMask | |
CompileShader | |
CompressedTexImage2D | |
CompressedTexSubImage2D | |
CopyTexImage2D | |
CopyTexSubImage2D | |
CreateProgram | |
CreateShader | |
CullFace | |
DeleteBuffers | |
DeleteFramebuffers | |
DeleteProgram | |
DeleteRenderbuffers | |
DeleteShader | |
DeleteTextures | |
DepthFunc | |
DepthMask | |
DepthRangef | |
DetachShader | |
Disable | |
DisableVertexAttribArray | |
DrawArrays | |
DrawElements | |
Enable | |
EnableVertexAttribArray | |
Finish | |
Flush | |
FramebufferRenderbuffer | |
FramebufferTexture2D | |
FrontFace | |
GenBuffers | |
GenerateMipmap | |
GenFramebuffers | |
GenRenderbuffers | |
GenTextures | |
GetActiveAttrib | |
GetActiveUniform | |
GetAttachedShaders | |
GetAttribLocation | |
GetBooleanv | |
GetBufferParameteriv | |
GetError | |
GetFloatv | |
GetFramebufferAttachmentParameteriv | |
GetIntegerv | |
GetProgramiv | |
GetProgramInfoLog | |
GetRenderbufferParameteriv | |
GetShaderiv | |
GetShaderInfoLog | |
GetShaderPrecisionFormat | |
GetShaderSource | |
GetString | |
GetTexParameterfv | |
GetTexParameteriv | |
GetUniformfv | |
GetUniformiv | |
GetUniformLocation | |
GetVertexAttribfv | |
GetVertexAttribiv | |
GetVertexAttribPointerv | |
Hint | |
IsBuffer | |
IsEnabled | |
IsFramebuffer | |
IsProgram | |
IsRenderbuffer | |
IsShader | |
IsTexture | |
LineWidth | |
LinkProgram | |
PixelStorei | |
PolygonOffset | |
ReadPixels | |
ReleaseShaderCompiler | |
RenderbufferStorage | |
SampleCoverage | |
Scissor | |
ShaderBinary | |
ShaderSource | |
StencilFunc | |
StencilFuncSeparate | |
StencilMask | |
StencilMaskSeparate | |
StencilOp | |
StencilOpSeparate | |
TexImage2D | |
TexParameterf | |
TexParameterfv | |
TexParameteri | |
TexParameteriv | |
TexSubImage2D | |
Uniform1f | |
Uniform1fv | |
Uniform1i | |
Uniform1iv | |
Uniform2f | |
Uniform2fv | |
Uniform2i | |
Uniform2iv | |
Uniform3f | |
Uniform3fv | |
Uniform3i | |
Uniform3iv | |
Uniform4f | |
Uniform4fv | |
Uniform4i | |
Uniform4iv | |
UniformMatrix2fv | |
UniformMatrix3fv | |
UniformMatrix4fv | |
UseProgram | |
ValidateProgram | |
VertexAttrib1f | |
VertexAttrib1fv | |
VertexAttrib2f | |
VertexAttrib2fv | |
VertexAttrib3f | |
VertexAttrib3fv | |
VertexAttrib4f | |
VertexAttrib4fv | |
VertexAttribPointer | |
Viewport | |
Trait Implementations
Derived Implementations