Struct sparkle::gl::ffi_gles::Gles2

source ·
pub struct Gles2 {
Show 262 fields pub ActiveTexture: FnPtr, pub AttachShader: FnPtr, pub BeginQuery: FnPtr, pub BeginQueryEXT: FnPtr, pub BeginTransformFeedback: FnPtr, pub BindAttribLocation: FnPtr, pub BindBuffer: FnPtr, pub BindBufferBase: FnPtr, pub BindBufferRange: FnPtr, pub BindFramebuffer: FnPtr, pub BindRenderbuffer: FnPtr, pub BindSampler: FnPtr, pub BindTexture: FnPtr, pub BindTransformFeedback: FnPtr, pub BindVertexArray: FnPtr, pub BindVertexArrayOES: FnPtr, pub BlendColor: FnPtr, pub BlendEquation: FnPtr, pub BlendEquationSeparate: FnPtr, pub BlendFunc: FnPtr, pub BlendFuncSeparate: FnPtr, pub BlitFramebuffer: FnPtr, pub BufferData: FnPtr, pub BufferSubData: FnPtr, pub CheckFramebufferStatus: FnPtr, pub Clear: FnPtr, pub ClearBufferfi: FnPtr, pub ClearBufferfv: FnPtr, pub ClearBufferiv: FnPtr, pub ClearBufferuiv: FnPtr, pub ClearColor: FnPtr, pub ClearDepthf: FnPtr, pub ClearStencil: FnPtr, pub ClientWaitSync: FnPtr, pub ColorMask: FnPtr, pub CompileShader: FnPtr, pub CompressedTexImage2D: FnPtr, pub CompressedTexImage3D: FnPtr, pub CompressedTexSubImage2D: FnPtr, pub CompressedTexSubImage3D: FnPtr, pub CopyBufferSubData: FnPtr, pub CopyTexImage2D: FnPtr, pub CopyTexSubImage2D: FnPtr, pub CopyTexSubImage3D: FnPtr, pub CreateProgram: FnPtr, pub CreateShader: FnPtr, pub CullFace: FnPtr, pub DeleteBuffers: FnPtr, pub DeleteFramebuffers: FnPtr, pub DeleteProgram: FnPtr, pub DeleteQueries: FnPtr, pub DeleteQueriesEXT: FnPtr, pub DeleteRenderbuffers: FnPtr, pub DeleteSamplers: FnPtr, pub DeleteShader: FnPtr, pub DeleteSync: FnPtr, pub DeleteTextures: FnPtr, pub DeleteTransformFeedbacks: FnPtr, pub DeleteVertexArrays: FnPtr, pub DeleteVertexArraysOES: FnPtr, pub DepthFunc: FnPtr, pub DepthMask: FnPtr, pub DepthRangef: FnPtr, pub DetachShader: FnPtr, pub Disable: FnPtr, pub DisableVertexAttribArray: FnPtr, pub DrawArrays: FnPtr, pub DrawArraysInstanced: FnPtr, pub DrawBuffers: FnPtr, pub DrawElements: FnPtr, pub DrawElementsInstanced: FnPtr, pub DrawRangeElements: FnPtr, pub Enable: FnPtr, pub EnableVertexAttribArray: FnPtr, pub EndQuery: FnPtr, pub EndQueryEXT: FnPtr, pub EndTransformFeedback: FnPtr, pub FenceSync: FnPtr, pub Finish: FnPtr, pub Flush: FnPtr, pub FlushMappedBufferRange: FnPtr, pub FramebufferRenderbuffer: FnPtr, pub FramebufferTexture2D: FnPtr, pub FramebufferTextureLayer: FnPtr, pub FrontFace: FnPtr, pub GenBuffers: FnPtr, pub GenFramebuffers: FnPtr, pub GenQueries: FnPtr, pub GenQueriesEXT: FnPtr, pub GenRenderbuffers: FnPtr, pub GenSamplers: FnPtr, pub GenTextures: FnPtr, pub GenTransformFeedbacks: FnPtr, pub GenVertexArrays: FnPtr, pub GenVertexArraysOES: FnPtr, pub GenerateMipmap: FnPtr, pub GetActiveAttrib: FnPtr, pub GetActiveUniform: FnPtr, pub GetActiveUniformBlockName: FnPtr, pub GetActiveUniformBlockiv: FnPtr, pub GetActiveUniformsiv: FnPtr, pub GetAttachedShaders: FnPtr, pub GetAttribLocation: FnPtr, pub GetBooleanv: FnPtr, pub GetBufferParameteri64v: FnPtr, pub GetBufferParameteriv: FnPtr, pub GetBufferPointerv: FnPtr, pub GetError: FnPtr, pub GetFloatv: FnPtr, pub GetFragDataLocation: FnPtr, pub GetFramebufferAttachmentParameteriv: FnPtr, pub GetInteger64i_v: FnPtr, pub GetInteger64v: FnPtr, pub GetIntegeri_v: FnPtr, pub GetIntegerv: FnPtr, pub GetInternalformativ: FnPtr, pub GetProgramBinary: FnPtr, pub GetProgramInfoLog: FnPtr, pub GetProgramiv: FnPtr, pub GetQueryObjecti64vEXT: FnPtr, pub GetQueryObjectivEXT: FnPtr, pub GetQueryObjectui64vEXT: FnPtr, pub GetQueryObjectuiv: FnPtr, pub GetQueryObjectuivEXT: FnPtr, pub GetQueryiv: FnPtr, pub GetQueryivEXT: FnPtr, pub GetRenderbufferParameteriv: FnPtr, pub GetSamplerParameterfv: FnPtr, pub GetSamplerParameteriv: FnPtr, pub GetShaderInfoLog: FnPtr, pub GetShaderPrecisionFormat: FnPtr, pub GetShaderSource: FnPtr, pub GetShaderiv: FnPtr, pub GetString: FnPtr, pub GetStringi: FnPtr, pub GetSynciv: FnPtr, pub GetTexParameterfv: FnPtr, pub GetTexParameteriv: FnPtr, pub GetTransformFeedbackVarying: FnPtr, pub GetUniformBlockIndex: FnPtr, pub GetUniformIndices: FnPtr, pub GetUniformLocation: FnPtr, pub GetUniformfv: FnPtr, pub GetUniformiv: FnPtr, pub GetUniformuiv: FnPtr, pub GetVertexAttribIiv: FnPtr, pub GetVertexAttribIuiv: FnPtr, pub GetVertexAttribPointerv: FnPtr, pub GetVertexAttribfv: FnPtr, pub GetVertexAttribiv: FnPtr, pub Hint: FnPtr, pub InvalidateFramebuffer: FnPtr, pub InvalidateSubFramebuffer: FnPtr, pub IsBuffer: FnPtr, pub IsEnabled: FnPtr, pub IsFramebuffer: FnPtr, pub IsProgram: FnPtr, pub IsQuery: FnPtr, pub IsQueryEXT: FnPtr, pub IsRenderbuffer: FnPtr, pub IsSampler: FnPtr, pub IsShader: FnPtr, pub IsSync: FnPtr, pub IsTexture: FnPtr, pub IsTransformFeedback: FnPtr, pub IsVertexArray: FnPtr, pub IsVertexArrayOES: FnPtr, pub LineWidth: FnPtr, pub LinkProgram: FnPtr, pub MapBufferRange: FnPtr, pub PauseTransformFeedback: FnPtr, pub PixelStorei: FnPtr, pub PolygonOffset: FnPtr, pub ProgramBinary: FnPtr, pub ProgramParameteri: FnPtr, pub QueryCounterEXT: FnPtr, pub ReadBuffer: FnPtr, pub ReadPixels: FnPtr, pub ReleaseShaderCompiler: FnPtr, pub RenderbufferStorage: FnPtr, pub RenderbufferStorageMultisample: FnPtr, pub ResumeTransformFeedback: FnPtr, pub SampleCoverage: FnPtr, pub SamplerParameterf: FnPtr, pub SamplerParameterfv: FnPtr, pub SamplerParameteri: FnPtr, pub SamplerParameteriv: FnPtr, pub Scissor: FnPtr, pub ShaderBinary: FnPtr, pub ShaderSource: FnPtr, pub StencilFunc: FnPtr, pub StencilFuncSeparate: FnPtr, pub StencilMask: FnPtr, pub StencilMaskSeparate: FnPtr, pub StencilOp: FnPtr, pub StencilOpSeparate: FnPtr, pub TexImage2D: FnPtr, pub TexImage3D: FnPtr, pub TexParameterf: FnPtr, pub TexParameterfv: FnPtr, pub TexParameteri: FnPtr, pub TexParameteriv: FnPtr, pub TexStorage2D: FnPtr, pub TexStorage3D: FnPtr, pub TexSubImage2D: FnPtr, pub TexSubImage3D: FnPtr, pub TransformFeedbackVaryings: FnPtr, pub Uniform1f: FnPtr, pub Uniform1fv: FnPtr, pub Uniform1i: FnPtr, pub Uniform1iv: FnPtr, pub Uniform1ui: FnPtr, pub Uniform1uiv: FnPtr, pub Uniform2f: FnPtr, pub Uniform2fv: FnPtr, pub Uniform2i: FnPtr, pub Uniform2iv: FnPtr, pub Uniform2ui: FnPtr, pub Uniform2uiv: FnPtr, pub Uniform3f: FnPtr, pub Uniform3fv: FnPtr, pub Uniform3i: FnPtr, pub Uniform3iv: FnPtr, pub Uniform3ui: FnPtr, pub Uniform3uiv: FnPtr, pub Uniform4f: FnPtr, pub Uniform4fv: FnPtr, pub Uniform4i: FnPtr, pub Uniform4iv: FnPtr, pub Uniform4ui: FnPtr, pub Uniform4uiv: FnPtr, pub UniformBlockBinding: FnPtr, pub UniformMatrix2fv: FnPtr, pub UniformMatrix2x3fv: FnPtr, pub UniformMatrix2x4fv: FnPtr, pub UniformMatrix3fv: FnPtr, pub UniformMatrix3x2fv: FnPtr, pub UniformMatrix3x4fv: FnPtr, pub UniformMatrix4fv: FnPtr, pub UniformMatrix4x2fv: FnPtr, pub UniformMatrix4x3fv: FnPtr, pub UnmapBuffer: FnPtr, pub UseProgram: FnPtr, pub ValidateProgram: FnPtr, pub VertexAttrib1f: FnPtr, pub VertexAttrib1fv: FnPtr, pub VertexAttrib2f: FnPtr, pub VertexAttrib2fv: FnPtr, pub VertexAttrib3f: FnPtr, pub VertexAttrib3fv: FnPtr, pub VertexAttrib4f: FnPtr, pub VertexAttrib4fv: FnPtr, pub VertexAttribDivisor: FnPtr, pub VertexAttribI4i: FnPtr, pub VertexAttribI4iv: FnPtr, pub VertexAttribI4ui: FnPtr, pub VertexAttribI4uiv: FnPtr, pub VertexAttribIPointer: FnPtr, pub VertexAttribPointer: FnPtr, pub Viewport: FnPtr, pub WaitSync: FnPtr, _priv: (),
}

Fields§

§ActiveTexture: FnPtr

Fallbacks: ActiveTextureARB

§AttachShader: FnPtr

Fallbacks: AttachObjectARB

§BeginQuery: FnPtr

Fallbacks: BeginQueryARB

§BeginQueryEXT: FnPtr§BeginTransformFeedback: FnPtr

Fallbacks: BeginTransformFeedbackEXT, BeginTransformFeedbackNV

§BindAttribLocation: FnPtr

Fallbacks: BindAttribLocationARB

§BindBuffer: FnPtr

Fallbacks: BindBufferARB

§BindBufferBase: FnPtr

Fallbacks: BindBufferBaseEXT, BindBufferBaseNV

§BindBufferRange: FnPtr

Fallbacks: BindBufferRangeEXT, BindBufferRangeNV

§BindFramebuffer: FnPtr§BindRenderbuffer: FnPtr§BindSampler: FnPtr§BindTexture: FnPtr

Fallbacks: BindTextureEXT

§BindTransformFeedback: FnPtr§BindVertexArray: FnPtr

Fallbacks: BindVertexArrayOES

§BindVertexArrayOES: FnPtr§BlendColor: FnPtr

Fallbacks: BlendColorEXT

§BlendEquation: FnPtr

Fallbacks: BlendEquationEXT

§BlendEquationSeparate: FnPtr

Fallbacks: BlendEquationSeparateEXT

§BlendFunc: FnPtr§BlendFuncSeparate: FnPtr

Fallbacks: BlendFuncSeparateEXT, BlendFuncSeparateINGR

§BlitFramebuffer: FnPtr

Fallbacks: BlitFramebufferEXT, BlitFramebufferNV

§BufferData: FnPtr

Fallbacks: BufferDataARB

§BufferSubData: FnPtr

Fallbacks: BufferSubDataARB

§CheckFramebufferStatus: FnPtr

Fallbacks: CheckFramebufferStatusEXT

§Clear: FnPtr§ClearBufferfi: FnPtr§ClearBufferfv: FnPtr§ClearBufferiv: FnPtr§ClearBufferuiv: FnPtr§ClearColor: FnPtr§ClearDepthf: FnPtr

Fallbacks: ClearDepthfOES

§ClearStencil: FnPtr§ClientWaitSync: FnPtr

Fallbacks: ClientWaitSyncAPPLE

§ColorMask: FnPtr§CompileShader: FnPtr

Fallbacks: CompileShaderARB

§CompressedTexImage2D: FnPtr

Fallbacks: CompressedTexImage2DARB

§CompressedTexImage3D: FnPtr

Fallbacks: CompressedTexImage3DARB

§CompressedTexSubImage2D: FnPtr

Fallbacks: CompressedTexSubImage2DARB

§CompressedTexSubImage3D: FnPtr

Fallbacks: CompressedTexSubImage3DARB

§CopyBufferSubData: FnPtr

Fallbacks: CopyBufferSubDataNV

§CopyTexImage2D: FnPtr

Fallbacks: CopyTexImage2DEXT

§CopyTexSubImage2D: FnPtr

Fallbacks: CopyTexSubImage2DEXT

§CopyTexSubImage3D: FnPtr

Fallbacks: CopyTexSubImage3DEXT

§CreateProgram: FnPtr

Fallbacks: CreateProgramObjectARB

§CreateShader: FnPtr

Fallbacks: CreateShaderObjectARB

§CullFace: FnPtr§DeleteBuffers: FnPtr

Fallbacks: DeleteBuffersARB

§DeleteFramebuffers: FnPtr

Fallbacks: DeleteFramebuffersEXT

§DeleteProgram: FnPtr§DeleteQueries: FnPtr

Fallbacks: DeleteQueriesARB

§DeleteQueriesEXT: FnPtr§DeleteRenderbuffers: FnPtr

Fallbacks: DeleteRenderbuffersEXT

§DeleteSamplers: FnPtr§DeleteShader: FnPtr§DeleteSync: FnPtr

Fallbacks: DeleteSyncAPPLE

§DeleteTextures: FnPtr§DeleteTransformFeedbacks: FnPtr

Fallbacks: DeleteTransformFeedbacksNV

§DeleteVertexArrays: FnPtr

Fallbacks: DeleteVertexArraysAPPLE, DeleteVertexArraysOES

§DeleteVertexArraysOES: FnPtr§DepthFunc: FnPtr§DepthMask: FnPtr§DepthRangef: FnPtr

Fallbacks: DepthRangefOES

§DetachShader: FnPtr

Fallbacks: DetachObjectARB

§Disable: FnPtr§DisableVertexAttribArray: FnPtr

Fallbacks: DisableVertexAttribArrayARB

§DrawArrays: FnPtr

Fallbacks: DrawArraysEXT

§DrawArraysInstanced: FnPtr

Fallbacks: DrawArraysInstancedANGLE, DrawArraysInstancedARB, DrawArraysInstancedEXT, DrawArraysInstancedNV

§DrawBuffers: FnPtr

Fallbacks: DrawBuffersARB, DrawBuffersATI, DrawBuffersEXT

§DrawElements: FnPtr§DrawElementsInstanced: FnPtr

Fallbacks: DrawElementsInstancedANGLE, DrawElementsInstancedARB, DrawElementsInstancedEXT, DrawElementsInstancedNV

§DrawRangeElements: FnPtr

Fallbacks: DrawRangeElementsEXT

§Enable: FnPtr§EnableVertexAttribArray: FnPtr

Fallbacks: EnableVertexAttribArrayARB

§EndQuery: FnPtr

Fallbacks: EndQueryARB

§EndQueryEXT: FnPtr§EndTransformFeedback: FnPtr

Fallbacks: EndTransformFeedbackEXT, EndTransformFeedbackNV

§FenceSync: FnPtr

Fallbacks: FenceSyncAPPLE

§Finish: FnPtr§Flush: FnPtr§FlushMappedBufferRange: FnPtr

Fallbacks: FlushMappedBufferRangeAPPLE, FlushMappedBufferRangeEXT

§FramebufferRenderbuffer: FnPtr

Fallbacks: FramebufferRenderbufferEXT

§FramebufferTexture2D: FnPtr

Fallbacks: FramebufferTexture2DEXT

§FramebufferTextureLayer: FnPtr

Fallbacks: FramebufferTextureLayerARB, FramebufferTextureLayerEXT

§FrontFace: FnPtr§GenBuffers: FnPtr

Fallbacks: GenBuffersARB

§GenFramebuffers: FnPtr

Fallbacks: GenFramebuffersEXT

§GenQueries: FnPtr

Fallbacks: GenQueriesARB

§GenQueriesEXT: FnPtr§GenRenderbuffers: FnPtr

Fallbacks: GenRenderbuffersEXT

§GenSamplers: FnPtr§GenTextures: FnPtr§GenTransformFeedbacks: FnPtr

Fallbacks: GenTransformFeedbacksNV

§GenVertexArrays: FnPtr

Fallbacks: GenVertexArraysAPPLE, GenVertexArraysOES

§GenVertexArraysOES: FnPtr§GenerateMipmap: FnPtr

Fallbacks: GenerateMipmapEXT

§GetActiveAttrib: FnPtr

Fallbacks: GetActiveAttribARB

§GetActiveUniform: FnPtr

Fallbacks: GetActiveUniformARB

§GetActiveUniformBlockName: FnPtr§GetActiveUniformBlockiv: FnPtr§GetActiveUniformsiv: FnPtr§GetAttachedShaders: FnPtr§GetAttribLocation: FnPtr

Fallbacks: GetAttribLocationARB

§GetBooleanv: FnPtr§GetBufferParameteri64v: FnPtr§GetBufferParameteriv: FnPtr

Fallbacks: GetBufferParameterivARB

§GetBufferPointerv: FnPtr

Fallbacks: GetBufferPointervARB, GetBufferPointervOES

§GetError: FnPtr§GetFloatv: FnPtr§GetFragDataLocation: FnPtr

Fallbacks: GetFragDataLocationEXT

§GetFramebufferAttachmentParameteriv: FnPtr

Fallbacks: GetFramebufferAttachmentParameterivEXT

§GetInteger64i_v: FnPtr§GetInteger64v: FnPtr

Fallbacks: GetInteger64vAPPLE

§GetIntegeri_v: FnPtr

Fallbacks: GetIntegerIndexedvEXT

§GetIntegerv: FnPtr§GetInternalformativ: FnPtr§GetProgramBinary: FnPtr

Fallbacks: GetProgramBinaryOES

§GetProgramInfoLog: FnPtr§GetProgramiv: FnPtr§GetQueryObjecti64vEXT: FnPtr§GetQueryObjectivEXT: FnPtr§GetQueryObjectui64vEXT: FnPtr§GetQueryObjectuiv: FnPtr

Fallbacks: GetQueryObjectuivARB

§GetQueryObjectuivEXT: FnPtr§GetQueryiv: FnPtr

Fallbacks: GetQueryivARB

§GetQueryivEXT: FnPtr§GetRenderbufferParameteriv: FnPtr

Fallbacks: GetRenderbufferParameterivEXT

§GetSamplerParameterfv: FnPtr§GetSamplerParameteriv: FnPtr§GetShaderInfoLog: FnPtr§GetShaderPrecisionFormat: FnPtr§GetShaderSource: FnPtr

Fallbacks: GetShaderSourceARB

§GetShaderiv: FnPtr§GetString: FnPtr§GetStringi: FnPtr§GetSynciv: FnPtr

Fallbacks: GetSyncivAPPLE

§GetTexParameterfv: FnPtr§GetTexParameteriv: FnPtr§GetTransformFeedbackVarying: FnPtr

Fallbacks: GetTransformFeedbackVaryingEXT

§GetUniformBlockIndex: FnPtr§GetUniformIndices: FnPtr§GetUniformLocation: FnPtr

Fallbacks: GetUniformLocationARB

§GetUniformfv: FnPtr

Fallbacks: GetUniformfvARB

§GetUniformiv: FnPtr

Fallbacks: GetUniformivARB

§GetUniformuiv: FnPtr

Fallbacks: GetUniformuivEXT

§GetVertexAttribIiv: FnPtr

Fallbacks: GetVertexAttribIivEXT

§GetVertexAttribIuiv: FnPtr

Fallbacks: GetVertexAttribIuivEXT

§GetVertexAttribPointerv: FnPtr

Fallbacks: GetVertexAttribPointervARB, GetVertexAttribPointervNV

§GetVertexAttribfv: FnPtr

Fallbacks: GetVertexAttribfvARB, GetVertexAttribfvNV

§GetVertexAttribiv: FnPtr

Fallbacks: GetVertexAttribivARB, GetVertexAttribivNV

§Hint: FnPtr§InvalidateFramebuffer: FnPtr§InvalidateSubFramebuffer: FnPtr§IsBuffer: FnPtr

Fallbacks: IsBufferARB

§IsEnabled: FnPtr§IsFramebuffer: FnPtr

Fallbacks: IsFramebufferEXT

§IsProgram: FnPtr§IsQuery: FnPtr

Fallbacks: IsQueryARB

§IsQueryEXT: FnPtr§IsRenderbuffer: FnPtr

Fallbacks: IsRenderbufferEXT

§IsSampler: FnPtr§IsShader: FnPtr§IsSync: FnPtr

Fallbacks: IsSyncAPPLE

§IsTexture: FnPtr§IsTransformFeedback: FnPtr

Fallbacks: IsTransformFeedbackNV

§IsVertexArray: FnPtr

Fallbacks: IsVertexArrayAPPLE, IsVertexArrayOES

§IsVertexArrayOES: FnPtr§LineWidth: FnPtr§LinkProgram: FnPtr

Fallbacks: LinkProgramARB

§MapBufferRange: FnPtr

Fallbacks: MapBufferRangeEXT

§PauseTransformFeedback: FnPtr

Fallbacks: PauseTransformFeedbackNV

§PixelStorei: FnPtr§PolygonOffset: FnPtr§ProgramBinary: FnPtr

Fallbacks: ProgramBinaryOES

§ProgramParameteri: FnPtr

Fallbacks: ProgramParameteriARB, ProgramParameteriEXT

§QueryCounterEXT: FnPtr§ReadBuffer: FnPtr§ReadPixels: FnPtr§ReleaseShaderCompiler: FnPtr§RenderbufferStorage: FnPtr

Fallbacks: RenderbufferStorageEXT

§RenderbufferStorageMultisample: FnPtr

Fallbacks: RenderbufferStorageMultisampleEXT, RenderbufferStorageMultisampleNV

§ResumeTransformFeedback: FnPtr

Fallbacks: ResumeTransformFeedbackNV

§SampleCoverage: FnPtr

Fallbacks: SampleCoverageARB

§SamplerParameterf: FnPtr§SamplerParameterfv: FnPtr§SamplerParameteri: FnPtr§SamplerParameteriv: FnPtr§Scissor: FnPtr§ShaderBinary: FnPtr§ShaderSource: FnPtr

Fallbacks: ShaderSourceARB

§StencilFunc: FnPtr§StencilFuncSeparate: FnPtr§StencilMask: FnPtr§StencilMaskSeparate: FnPtr§StencilOp: FnPtr§StencilOpSeparate: FnPtr

Fallbacks: StencilOpSeparateATI

§TexImage2D: FnPtr§TexImage3D: FnPtr

Fallbacks: TexImage3DEXT

§TexParameterf: FnPtr§TexParameterfv: FnPtr§TexParameteri: FnPtr§TexParameteriv: FnPtr§TexStorage2D: FnPtr

Fallbacks: TexStorage2DEXT

§TexStorage3D: FnPtr

Fallbacks: TexStorage3DEXT

§TexSubImage2D: FnPtr

Fallbacks: TexSubImage2DEXT

§TexSubImage3D: FnPtr

Fallbacks: TexSubImage3DEXT

§TransformFeedbackVaryings: FnPtr

Fallbacks: TransformFeedbackVaryingsEXT

§Uniform1f: FnPtr

Fallbacks: Uniform1fARB

§Uniform1fv: FnPtr

Fallbacks: Uniform1fvARB

§Uniform1i: FnPtr

Fallbacks: Uniform1iARB

§Uniform1iv: FnPtr

Fallbacks: Uniform1ivARB

§Uniform1ui: FnPtr

Fallbacks: Uniform1uiEXT

§Uniform1uiv: FnPtr

Fallbacks: Uniform1uivEXT

§Uniform2f: FnPtr

Fallbacks: Uniform2fARB

§Uniform2fv: FnPtr

Fallbacks: Uniform2fvARB

§Uniform2i: FnPtr

Fallbacks: Uniform2iARB

§Uniform2iv: FnPtr

Fallbacks: Uniform2ivARB

§Uniform2ui: FnPtr

Fallbacks: Uniform2uiEXT

§Uniform2uiv: FnPtr

Fallbacks: Uniform2uivEXT

§Uniform3f: FnPtr

Fallbacks: Uniform3fARB

§Uniform3fv: FnPtr

Fallbacks: Uniform3fvARB

§Uniform3i: FnPtr

Fallbacks: Uniform3iARB

§Uniform3iv: FnPtr

Fallbacks: Uniform3ivARB

§Uniform3ui: FnPtr

Fallbacks: Uniform3uiEXT

§Uniform3uiv: FnPtr

Fallbacks: Uniform3uivEXT

§Uniform4f: FnPtr

Fallbacks: Uniform4fARB

§Uniform4fv: FnPtr

Fallbacks: Uniform4fvARB

§Uniform4i: FnPtr

Fallbacks: Uniform4iARB

§Uniform4iv: FnPtr

Fallbacks: Uniform4ivARB

§Uniform4ui: FnPtr

Fallbacks: Uniform4uiEXT

§Uniform4uiv: FnPtr

Fallbacks: Uniform4uivEXT

§UniformBlockBinding: FnPtr§UniformMatrix2fv: FnPtr

Fallbacks: UniformMatrix2fvARB

§UniformMatrix2x3fv: FnPtr

Fallbacks: UniformMatrix2x3fvNV

§UniformMatrix2x4fv: FnPtr

Fallbacks: UniformMatrix2x4fvNV

§UniformMatrix3fv: FnPtr

Fallbacks: UniformMatrix3fvARB

§UniformMatrix3x2fv: FnPtr

Fallbacks: UniformMatrix3x2fvNV

§UniformMatrix3x4fv: FnPtr

Fallbacks: UniformMatrix3x4fvNV

§UniformMatrix4fv: FnPtr

Fallbacks: UniformMatrix4fvARB

§UniformMatrix4x2fv: FnPtr

Fallbacks: UniformMatrix4x2fvNV

§UniformMatrix4x3fv: FnPtr

Fallbacks: UniformMatrix4x3fvNV

§UnmapBuffer: FnPtr

Fallbacks: UnmapBufferARB, UnmapBufferOES

§UseProgram: FnPtr

Fallbacks: UseProgramObjectARB

§ValidateProgram: FnPtr

Fallbacks: ValidateProgramARB

§VertexAttrib1f: FnPtr

Fallbacks: VertexAttrib1fARB, VertexAttrib1fNV

§VertexAttrib1fv: FnPtr

Fallbacks: VertexAttrib1fvARB, VertexAttrib1fvNV

§VertexAttrib2f: FnPtr

Fallbacks: VertexAttrib2fARB, VertexAttrib2fNV

§VertexAttrib2fv: FnPtr

Fallbacks: VertexAttrib2fvARB, VertexAttrib2fvNV

§VertexAttrib3f: FnPtr

Fallbacks: VertexAttrib3fARB, VertexAttrib3fNV

§VertexAttrib3fv: FnPtr

Fallbacks: VertexAttrib3fvARB, VertexAttrib3fvNV

§VertexAttrib4f: FnPtr

Fallbacks: VertexAttrib4fARB, VertexAttrib4fNV

§VertexAttrib4fv: FnPtr

Fallbacks: VertexAttrib4fvARB, VertexAttrib4fvNV

§VertexAttribDivisor: FnPtr

Fallbacks: VertexAttribDivisorANGLE, VertexAttribDivisorARB, VertexAttribDivisorEXT, VertexAttribDivisorNV

§VertexAttribI4i: FnPtr

Fallbacks: VertexAttribI4iEXT

§VertexAttribI4iv: FnPtr

Fallbacks: VertexAttribI4ivEXT

§VertexAttribI4ui: FnPtr

Fallbacks: VertexAttribI4uiEXT

§VertexAttribI4uiv: FnPtr

Fallbacks: VertexAttribI4uivEXT

§VertexAttribIPointer: FnPtr

Fallbacks: VertexAttribIPointerEXT

§VertexAttribPointer: FnPtr

Fallbacks: VertexAttribPointerARB

§Viewport: FnPtr§WaitSync: FnPtr

Fallbacks: WaitSyncAPPLE

§_priv: ()

Implementations§

source§

impl Gles2

source

pub fn load_with<F>(loadfn: F) -> Gles2
where F: FnMut(&'static str) -> *const c_void,

Load each OpenGL symbol using a custom load function. This allows for the use of functions like glfwGetProcAddress or SDL_GL_GetProcAddress.

let gl = Gl::load_with(|s| glfw.get_proc_address(s));
source

pub unsafe fn ActiveTexture(&self, texture: GLenum)

source

pub unsafe fn AttachShader(&self, program: GLuint, shader: GLuint)

source

pub unsafe fn BeginQuery(&self, target: GLenum, id: GLuint)

source

pub unsafe fn BeginQueryEXT(&self, target: GLenum, id: GLuint)

source

pub unsafe fn BeginTransformFeedback(&self, primitiveMode: GLenum)

source

pub unsafe fn BindAttribLocation( &self, program: GLuint, index: GLuint, name: *const GLchar, )

source

pub unsafe fn BindBuffer(&self, target: GLenum, buffer: GLuint)

source

pub unsafe fn BindBufferBase( &self, target: GLenum, index: GLuint, buffer: GLuint, )

source

pub unsafe fn BindBufferRange( &self, target: GLenum, index: GLuint, buffer: GLuint, offset: GLintptr, size: GLsizeiptr, )

source

pub unsafe fn BindFramebuffer(&self, target: GLenum, framebuffer: GLuint)

source

pub unsafe fn BindRenderbuffer(&self, target: GLenum, renderbuffer: GLuint)

source

pub unsafe fn BindSampler(&self, unit: GLuint, sampler: GLuint)

source

pub unsafe fn BindTexture(&self, target: GLenum, texture: GLuint)

source

pub unsafe fn BindTransformFeedback(&self, target: GLenum, id: GLuint)

source

pub unsafe fn BindVertexArray(&self, array: GLuint)

source

pub unsafe fn BindVertexArrayOES(&self, array: GLuint)

source

pub unsafe fn BlendColor( &self, red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat, )

source

pub unsafe fn BlendEquation(&self, mode: GLenum)

source

pub unsafe fn BlendEquationSeparate(&self, modeRGB: GLenum, modeAlpha: GLenum)

source

pub unsafe fn BlendFunc(&self, sfactor: GLenum, dfactor: GLenum)

source

pub unsafe fn BlendFuncSeparate( &self, sfactorRGB: GLenum, dfactorRGB: GLenum, sfactorAlpha: GLenum, dfactorAlpha: GLenum, )

source

pub unsafe fn BlitFramebuffer( &self, srcX0: GLint, srcY0: GLint, srcX1: GLint, srcY1: GLint, dstX0: GLint, dstY0: GLint, dstX1: GLint, dstY1: GLint, mask: GLbitfield, filter: GLenum, )

source

pub unsafe fn BufferData( &self, target: GLenum, size: GLsizeiptr, data: *const c_void, usage: GLenum, )

source

pub unsafe fn BufferSubData( &self, target: GLenum, offset: GLintptr, size: GLsizeiptr, data: *const c_void, )

source

pub unsafe fn CheckFramebufferStatus(&self, target: GLenum) -> GLenum

source

pub unsafe fn Clear(&self, mask: GLbitfield)

source

pub unsafe fn ClearBufferfi( &self, buffer: GLenum, drawbuffer: GLint, depth: GLfloat, stencil: GLint, )

source

pub unsafe fn ClearBufferfv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLfloat, )

source

pub unsafe fn ClearBufferiv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLint, )

source

pub unsafe fn ClearBufferuiv( &self, buffer: GLenum, drawbuffer: GLint, value: *const GLuint, )

source

pub unsafe fn ClearColor( &self, red: GLfloat, green: GLfloat, blue: GLfloat, alpha: GLfloat, )

source

pub unsafe fn ClearDepthf(&self, d: GLfloat)

source

pub unsafe fn ClearStencil(&self, s: GLint)

source

pub unsafe fn ClientWaitSync( &self, sync: GLsync, flags: GLbitfield, timeout: GLuint64, ) -> GLenum

source

pub unsafe fn ColorMask( &self, red: GLboolean, green: GLboolean, blue: GLboolean, alpha: GLboolean, )

source

pub unsafe fn CompileShader(&self, shader: GLuint)

source

pub unsafe fn CompressedTexImage2D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, )

source

pub unsafe fn CompressedTexImage3D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, )

source

pub unsafe fn CompressedTexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, )

source

pub unsafe fn CompressedTexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, )

source

pub unsafe fn CopyBufferSubData( &self, readTarget: GLenum, writeTarget: GLenum, readOffset: GLintptr, writeOffset: GLintptr, size: GLsizeiptr, )

source

pub unsafe fn CopyTexImage2D( &self, target: GLenum, level: GLint, internalformat: GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, border: GLint, )

source

pub unsafe fn CopyTexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )

source

pub unsafe fn CopyTexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )

source

pub unsafe fn CreateProgram(&self) -> GLuint

source

pub unsafe fn CreateShader(&self, type_: GLenum) -> GLuint

source

pub unsafe fn CullFace(&self, mode: GLenum)

source

pub unsafe fn DeleteBuffers(&self, n: GLsizei, buffers: *const GLuint)

source

pub unsafe fn DeleteFramebuffers(&self, n: GLsizei, framebuffers: *const GLuint)

source

pub unsafe fn DeleteProgram(&self, program: GLuint)

source

pub unsafe fn DeleteQueries(&self, n: GLsizei, ids: *const GLuint)

source

pub unsafe fn DeleteQueriesEXT(&self, n: GLsizei, ids: *const GLuint)

source

pub unsafe fn DeleteRenderbuffers( &self, n: GLsizei, renderbuffers: *const GLuint, )

source

pub unsafe fn DeleteSamplers(&self, count: GLsizei, samplers: *const GLuint)

source

pub unsafe fn DeleteShader(&self, shader: GLuint)

source

pub unsafe fn DeleteSync(&self, sync: GLsync)

source

pub unsafe fn DeleteTextures(&self, n: GLsizei, textures: *const GLuint)

source

pub unsafe fn DeleteTransformFeedbacks(&self, n: GLsizei, ids: *const GLuint)

source

pub unsafe fn DeleteVertexArrays(&self, n: GLsizei, arrays: *const GLuint)

source

pub unsafe fn DeleteVertexArraysOES(&self, n: GLsizei, arrays: *const GLuint)

source

pub unsafe fn DepthFunc(&self, func: GLenum)

source

pub unsafe fn DepthMask(&self, flag: GLboolean)

source

pub unsafe fn DepthRangef(&self, n: GLfloat, f: GLfloat)

source

pub unsafe fn DetachShader(&self, program: GLuint, shader: GLuint)

source

pub unsafe fn Disable(&self, cap: GLenum)

source

pub unsafe fn DisableVertexAttribArray(&self, index: GLuint)

source

pub unsafe fn DrawArrays(&self, mode: GLenum, first: GLint, count: GLsizei)

source

pub unsafe fn DrawArraysInstanced( &self, mode: GLenum, first: GLint, count: GLsizei, instancecount: GLsizei, )

source

pub unsafe fn DrawBuffers(&self, n: GLsizei, bufs: *const GLenum)

source

pub unsafe fn DrawElements( &self, mode: GLenum, count: GLsizei, type_: GLenum, indices: *const c_void, )

source

pub unsafe fn DrawElementsInstanced( &self, mode: GLenum, count: GLsizei, type_: GLenum, indices: *const c_void, instancecount: GLsizei, )

source

pub unsafe fn DrawRangeElements( &self, mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type_: GLenum, indices: *const c_void, )

source

pub unsafe fn Enable(&self, cap: GLenum)

source

pub unsafe fn EnableVertexAttribArray(&self, index: GLuint)

source

pub unsafe fn EndQuery(&self, target: GLenum)

source

pub unsafe fn EndQueryEXT(&self, target: GLenum)

source

pub unsafe fn EndTransformFeedback(&self)

source

pub unsafe fn FenceSync(&self, condition: GLenum, flags: GLbitfield) -> GLsync

source

pub unsafe fn Finish(&self)

source

pub unsafe fn Flush(&self)

source

pub unsafe fn FlushMappedBufferRange( &self, target: GLenum, offset: GLintptr, length: GLsizeiptr, )

source

pub unsafe fn FramebufferRenderbuffer( &self, target: GLenum, attachment: GLenum, renderbuffertarget: GLenum, renderbuffer: GLuint, )

source

pub unsafe fn FramebufferTexture2D( &self, target: GLenum, attachment: GLenum, textarget: GLenum, texture: GLuint, level: GLint, )

source

pub unsafe fn FramebufferTextureLayer( &self, target: GLenum, attachment: GLenum, texture: GLuint, level: GLint, layer: GLint, )

source

pub unsafe fn FrontFace(&self, mode: GLenum)

source

pub unsafe fn GenBuffers(&self, n: GLsizei, buffers: *mut GLuint)

source

pub unsafe fn GenFramebuffers(&self, n: GLsizei, framebuffers: *mut GLuint)

source

pub unsafe fn GenQueries(&self, n: GLsizei, ids: *mut GLuint)

source

pub unsafe fn GenQueriesEXT(&self, n: GLsizei, ids: *mut GLuint)

source

pub unsafe fn GenRenderbuffers(&self, n: GLsizei, renderbuffers: *mut GLuint)

source

pub unsafe fn GenSamplers(&self, count: GLsizei, samplers: *mut GLuint)

source

pub unsafe fn GenTextures(&self, n: GLsizei, textures: *mut GLuint)

source

pub unsafe fn GenTransformFeedbacks(&self, n: GLsizei, ids: *mut GLuint)

source

pub unsafe fn GenVertexArrays(&self, n: GLsizei, arrays: *mut GLuint)

source

pub unsafe fn GenVertexArraysOES(&self, n: GLsizei, arrays: *mut GLuint)

source

pub unsafe fn GenerateMipmap(&self, target: GLenum)

source

pub unsafe fn GetActiveAttrib( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLint, type_: *mut GLenum, name: *mut GLchar, )

source

pub unsafe fn GetActiveUniform( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLint, type_: *mut GLenum, name: *mut GLchar, )

source

pub unsafe fn GetActiveUniformBlockName( &self, program: GLuint, uniformBlockIndex: GLuint, bufSize: GLsizei, length: *mut GLsizei, uniformBlockName: *mut GLchar, )

source

pub unsafe fn GetActiveUniformBlockiv( &self, program: GLuint, uniformBlockIndex: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetActiveUniformsiv( &self, program: GLuint, uniformCount: GLsizei, uniformIndices: *const GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetAttachedShaders( &self, program: GLuint, maxCount: GLsizei, count: *mut GLsizei, shaders: *mut GLuint, )

source

pub unsafe fn GetAttribLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint

source

pub unsafe fn GetBooleanv(&self, pname: GLenum, data: *mut GLboolean)

source

pub unsafe fn GetBufferParameteri64v( &self, target: GLenum, pname: GLenum, params: *mut GLint64, )

source

pub unsafe fn GetBufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetBufferPointerv( &self, target: GLenum, pname: GLenum, params: *const *mut c_void, )

source

pub unsafe fn GetError(&self) -> GLenum

source

pub unsafe fn GetFloatv(&self, pname: GLenum, data: *mut GLfloat)

source

pub unsafe fn GetFragDataLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint

source

pub unsafe fn GetFramebufferAttachmentParameteriv( &self, target: GLenum, attachment: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetInteger64i_v( &self, target: GLenum, index: GLuint, data: *mut GLint64, )

source

pub unsafe fn GetInteger64v(&self, pname: GLenum, data: *mut GLint64)

source

pub unsafe fn GetIntegeri_v( &self, target: GLenum, index: GLuint, data: *mut GLint, )

source

pub unsafe fn GetIntegerv(&self, pname: GLenum, data: *mut GLint)

source

pub unsafe fn GetInternalformativ( &self, target: GLenum, internalformat: GLenum, pname: GLenum, bufSize: GLsizei, params: *mut GLint, )

source

pub unsafe fn GetProgramBinary( &self, program: GLuint, bufSize: GLsizei, length: *mut GLsizei, binaryFormat: *mut GLenum, binary: *mut c_void, )

source

pub unsafe fn GetProgramInfoLog( &self, program: GLuint, bufSize: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar, )

source

pub unsafe fn GetProgramiv( &self, program: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetQueryObjecti64vEXT( &self, id: GLuint, pname: GLenum, params: *mut GLint64, )

source

pub unsafe fn GetQueryObjectivEXT( &self, id: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetQueryObjectui64vEXT( &self, id: GLuint, pname: GLenum, params: *mut GLuint64, )

source

pub unsafe fn GetQueryObjectuiv( &self, id: GLuint, pname: GLenum, params: *mut GLuint, )

source

pub unsafe fn GetQueryObjectuivEXT( &self, id: GLuint, pname: GLenum, params: *mut GLuint, )

source

pub unsafe fn GetQueryiv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetQueryivEXT( &self, target: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetRenderbufferParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetSamplerParameterfv( &self, sampler: GLuint, pname: GLenum, params: *mut GLfloat, )

source

pub unsafe fn GetSamplerParameteriv( &self, sampler: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetShaderInfoLog( &self, shader: GLuint, bufSize: GLsizei, length: *mut GLsizei, infoLog: *mut GLchar, )

source

pub unsafe fn GetShaderPrecisionFormat( &self, shadertype: GLenum, precisiontype: GLenum, range: *mut GLint, precision: *mut GLint, )

source

pub unsafe fn GetShaderSource( &self, shader: GLuint, bufSize: GLsizei, length: *mut GLsizei, source: *mut GLchar, )

source

pub unsafe fn GetShaderiv( &self, shader: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetString(&self, name: GLenum) -> *const GLubyte

source

pub unsafe fn GetStringi(&self, name: GLenum, index: GLuint) -> *const GLubyte

source

pub unsafe fn GetSynciv( &self, sync: GLsync, pname: GLenum, bufSize: GLsizei, length: *mut GLsizei, values: *mut GLint, )

source

pub unsafe fn GetTexParameterfv( &self, target: GLenum, pname: GLenum, params: *mut GLfloat, )

source

pub unsafe fn GetTexParameteriv( &self, target: GLenum, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetTransformFeedbackVarying( &self, program: GLuint, index: GLuint, bufSize: GLsizei, length: *mut GLsizei, size: *mut GLsizei, type_: *mut GLenum, name: *mut GLchar, )

source

pub unsafe fn GetUniformBlockIndex( &self, program: GLuint, uniformBlockName: *const GLchar, ) -> GLuint

source

pub unsafe fn GetUniformIndices( &self, program: GLuint, uniformCount: GLsizei, uniformNames: *const *const GLchar, uniformIndices: *mut GLuint, )

source

pub unsafe fn GetUniformLocation( &self, program: GLuint, name: *const GLchar, ) -> GLint

source

pub unsafe fn GetUniformfv( &self, program: GLuint, location: GLint, params: *mut GLfloat, )

source

pub unsafe fn GetUniformiv( &self, program: GLuint, location: GLint, params: *mut GLint, )

source

pub unsafe fn GetUniformuiv( &self, program: GLuint, location: GLint, params: *mut GLuint, )

source

pub unsafe fn GetVertexAttribIiv( &self, index: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn GetVertexAttribIuiv( &self, index: GLuint, pname: GLenum, params: *mut GLuint, )

source

pub unsafe fn GetVertexAttribPointerv( &self, index: GLuint, pname: GLenum, pointer: *const *mut c_void, )

source

pub unsafe fn GetVertexAttribfv( &self, index: GLuint, pname: GLenum, params: *mut GLfloat, )

source

pub unsafe fn GetVertexAttribiv( &self, index: GLuint, pname: GLenum, params: *mut GLint, )

source

pub unsafe fn Hint(&self, target: GLenum, mode: GLenum)

source

pub unsafe fn InvalidateFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, )

source

pub unsafe fn InvalidateSubFramebuffer( &self, target: GLenum, numAttachments: GLsizei, attachments: *const GLenum, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )

source

pub unsafe fn IsBuffer(&self, buffer: GLuint) -> GLboolean

source

pub unsafe fn IsEnabled(&self, cap: GLenum) -> GLboolean

source

pub unsafe fn IsFramebuffer(&self, framebuffer: GLuint) -> GLboolean

source

pub unsafe fn IsProgram(&self, program: GLuint) -> GLboolean

source

pub unsafe fn IsQuery(&self, id: GLuint) -> GLboolean

source

pub unsafe fn IsQueryEXT(&self, id: GLuint) -> GLboolean

source

pub unsafe fn IsRenderbuffer(&self, renderbuffer: GLuint) -> GLboolean

source

pub unsafe fn IsSampler(&self, sampler: GLuint) -> GLboolean

source

pub unsafe fn IsShader(&self, shader: GLuint) -> GLboolean

source

pub unsafe fn IsSync(&self, sync: GLsync) -> GLboolean

source

pub unsafe fn IsTexture(&self, texture: GLuint) -> GLboolean

source

pub unsafe fn IsTransformFeedback(&self, id: GLuint) -> GLboolean

source

pub unsafe fn IsVertexArray(&self, array: GLuint) -> GLboolean

source

pub unsafe fn IsVertexArrayOES(&self, array: GLuint) -> GLboolean

source

pub unsafe fn LineWidth(&self, width: GLfloat)

source

pub unsafe fn LinkProgram(&self, program: GLuint)

source

pub unsafe fn MapBufferRange( &self, target: GLenum, offset: GLintptr, length: GLsizeiptr, access: GLbitfield, ) -> *mut c_void

source

pub unsafe fn PauseTransformFeedback(&self)

source

pub unsafe fn PixelStorei(&self, pname: GLenum, param: GLint)

source

pub unsafe fn PolygonOffset(&self, factor: GLfloat, units: GLfloat)

source

pub unsafe fn ProgramBinary( &self, program: GLuint, binaryFormat: GLenum, binary: *const c_void, length: GLsizei, )

source

pub unsafe fn ProgramParameteri( &self, program: GLuint, pname: GLenum, value: GLint, )

source

pub unsafe fn QueryCounterEXT(&self, id: GLuint, target: GLenum)

source

pub unsafe fn ReadBuffer(&self, src: GLenum)

source

pub unsafe fn ReadPixels( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, format: GLenum, type_: GLenum, pixels: *mut c_void, )

source

pub unsafe fn ReleaseShaderCompiler(&self)

source

pub unsafe fn RenderbufferStorage( &self, target: GLenum, internalformat: GLenum, width: GLsizei, height: GLsizei, )

source

pub unsafe fn RenderbufferStorageMultisample( &self, target: GLenum, samples: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, )

source

pub unsafe fn ResumeTransformFeedback(&self)

source

pub unsafe fn SampleCoverage(&self, value: GLfloat, invert: GLboolean)

source

pub unsafe fn SamplerParameterf( &self, sampler: GLuint, pname: GLenum, param: GLfloat, )

source

pub unsafe fn SamplerParameterfv( &self, sampler: GLuint, pname: GLenum, param: *const GLfloat, )

source

pub unsafe fn SamplerParameteri( &self, sampler: GLuint, pname: GLenum, param: GLint, )

source

pub unsafe fn SamplerParameteriv( &self, sampler: GLuint, pname: GLenum, param: *const GLint, )

source

pub unsafe fn Scissor( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )

source

pub unsafe fn ShaderBinary( &self, count: GLsizei, shaders: *const GLuint, binaryformat: GLenum, binary: *const c_void, length: GLsizei, )

source

pub unsafe fn ShaderSource( &self, shader: GLuint, count: GLsizei, string: *const *const GLchar, length: *const GLint, )

source

pub unsafe fn StencilFunc(&self, func: GLenum, ref_: GLint, mask: GLuint)

source

pub unsafe fn StencilFuncSeparate( &self, face: GLenum, func: GLenum, ref_: GLint, mask: GLuint, )

source

pub unsafe fn StencilMask(&self, mask: GLuint)

source

pub unsafe fn StencilMaskSeparate(&self, face: GLenum, mask: GLuint)

source

pub unsafe fn StencilOp(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)

source

pub unsafe fn StencilOpSeparate( &self, face: GLenum, sfail: GLenum, dpfail: GLenum, dppass: GLenum, )

source

pub unsafe fn TexImage2D( &self, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, border: GLint, format: GLenum, type_: GLenum, pixels: *const c_void, )

source

pub unsafe fn TexImage3D( &self, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type_: GLenum, pixels: *const c_void, )

source

pub unsafe fn TexParameterf( &self, target: GLenum, pname: GLenum, param: GLfloat, )

source

pub unsafe fn TexParameterfv( &self, target: GLenum, pname: GLenum, params: *const GLfloat, )

source

pub unsafe fn TexParameteri(&self, target: GLenum, pname: GLenum, param: GLint)

source

pub unsafe fn TexParameteriv( &self, target: GLenum, pname: GLenum, params: *const GLint, )

source

pub unsafe fn TexStorage2D( &self, target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, )

source

pub unsafe fn TexStorage3D( &self, target: GLenum, levels: GLsizei, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, )

source

pub unsafe fn TexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, type_: GLenum, pixels: *const c_void, )

source

pub unsafe fn TexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, type_: GLenum, pixels: *const c_void, )

source

pub unsafe fn TransformFeedbackVaryings( &self, program: GLuint, count: GLsizei, varyings: *const *const GLchar, bufferMode: GLenum, )

source

pub unsafe fn Uniform1f(&self, location: GLint, v0: GLfloat)

source

pub unsafe fn Uniform1fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )

source

pub unsafe fn Uniform1i(&self, location: GLint, v0: GLint)

source

pub unsafe fn Uniform1iv( &self, location: GLint, count: GLsizei, value: *const GLint, )

source

pub unsafe fn Uniform1ui(&self, location: GLint, v0: GLuint)

source

pub unsafe fn Uniform1uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )

source

pub unsafe fn Uniform2f(&self, location: GLint, v0: GLfloat, v1: GLfloat)

source

pub unsafe fn Uniform2fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )

source

pub unsafe fn Uniform2i(&self, location: GLint, v0: GLint, v1: GLint)

source

pub unsafe fn Uniform2iv( &self, location: GLint, count: GLsizei, value: *const GLint, )

source

pub unsafe fn Uniform2ui(&self, location: GLint, v0: GLuint, v1: GLuint)

source

pub unsafe fn Uniform2uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )

source

pub unsafe fn Uniform3f( &self, location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat, )

source

pub unsafe fn Uniform3fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )

source

pub unsafe fn Uniform3i(&self, location: GLint, v0: GLint, v1: GLint, v2: GLint)

source

pub unsafe fn Uniform3iv( &self, location: GLint, count: GLsizei, value: *const GLint, )

source

pub unsafe fn Uniform3ui( &self, location: GLint, v0: GLuint, v1: GLuint, v2: GLuint, )

source

pub unsafe fn Uniform3uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )

source

pub unsafe fn Uniform4f( &self, location: GLint, v0: GLfloat, v1: GLfloat, v2: GLfloat, v3: GLfloat, )

source

pub unsafe fn Uniform4fv( &self, location: GLint, count: GLsizei, value: *const GLfloat, )

source

pub unsafe fn Uniform4i( &self, location: GLint, v0: GLint, v1: GLint, v2: GLint, v3: GLint, )

source

pub unsafe fn Uniform4iv( &self, location: GLint, count: GLsizei, value: *const GLint, )

source

pub unsafe fn Uniform4ui( &self, location: GLint, v0: GLuint, v1: GLuint, v2: GLuint, v3: GLuint, )

source

pub unsafe fn Uniform4uiv( &self, location: GLint, count: GLsizei, value: *const GLuint, )

source

pub unsafe fn UniformBlockBinding( &self, program: GLuint, uniformBlockIndex: GLuint, uniformBlockBinding: GLuint, )

source

pub unsafe fn UniformMatrix2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix2x3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix2x4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix3x2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix3x4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix4fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix4x2fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UniformMatrix4x3fv( &self, location: GLint, count: GLsizei, transpose: GLboolean, value: *const GLfloat, )

source

pub unsafe fn UnmapBuffer(&self, target: GLenum) -> GLboolean

source

pub unsafe fn UseProgram(&self, program: GLuint)

source

pub unsafe fn ValidateProgram(&self, program: GLuint)

source

pub unsafe fn VertexAttrib1f(&self, index: GLuint, x: GLfloat)

source

pub unsafe fn VertexAttrib1fv(&self, index: GLuint, v: *const GLfloat)

source

pub unsafe fn VertexAttrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)

source

pub unsafe fn VertexAttrib2fv(&self, index: GLuint, v: *const GLfloat)

source

pub unsafe fn VertexAttrib3f( &self, index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, )

source

pub unsafe fn VertexAttrib3fv(&self, index: GLuint, v: *const GLfloat)

source

pub unsafe fn VertexAttrib4f( &self, index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat, w: GLfloat, )

source

pub unsafe fn VertexAttrib4fv(&self, index: GLuint, v: *const GLfloat)

source

pub unsafe fn VertexAttribDivisor(&self, index: GLuint, divisor: GLuint)

source

pub unsafe fn VertexAttribI4i( &self, index: GLuint, x: GLint, y: GLint, z: GLint, w: GLint, )

source

pub unsafe fn VertexAttribI4iv(&self, index: GLuint, v: *const GLint)

source

pub unsafe fn VertexAttribI4ui( &self, index: GLuint, x: GLuint, y: GLuint, z: GLuint, w: GLuint, )

source

pub unsafe fn VertexAttribI4uiv(&self, index: GLuint, v: *const GLuint)

source

pub unsafe fn VertexAttribIPointer( &self, index: GLuint, size: GLint, type_: GLenum, stride: GLsizei, pointer: *const c_void, )

source

pub unsafe fn VertexAttribPointer( &self, index: GLuint, size: GLint, type_: GLenum, normalized: GLboolean, stride: GLsizei, pointer: *const c_void, )

source

pub unsafe fn Viewport( &self, x: GLint, y: GLint, width: GLsizei, height: GLsizei, )

source

pub unsafe fn WaitSync( &self, sync: GLsync, flags: GLbitfield, timeout: GLuint64, )

Trait Implementations§

source§

impl Clone for Gles2

source§

fn clone(&self) -> Gles2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for Gles2

Auto Trait Implementations§

§

impl Freeze for Gles2

§

impl RefUnwindSafe for Gles2

§

impl !Sync for Gles2

§

impl Unpin for Gles2

§

impl UnwindSafe for Gles2

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.