Programming API Reference: SharpGfx.OpenGL
Class public abstract GlApi
Method public void Invoke()
Actionaction
Method protected abstract void Viewport()
intxintyintwidthintheight
Method protected abstract void ClearColor()
floatrfloatgfloatbfloata
Method protected abstract void Clear()
GlBufferBitbufferBit
Method protected abstract uint GenVertexArray()
Method protected abstract uint GenBuffer()
Method protected abstract void BufferData()
GlBufferTargettargetintsizenintdata
Method protected abstract long GetBufferParameter()
GlBufferTargettargetGlBufferParameterNamename
Method protected abstract void FloatVertexAttribPointer()
uintindexintsizeintstrideintoffset
Method protected abstract void BindVertexArray()
uintarray
Method protected abstract void BindBuffer()
GlBufferTargettargetuintbuffer
Method protected abstract void EnableVertexAttribArray()
uintarray
Method protected abstract void DrawTriangles()
intcount
Method protected abstract void DrawIndexedTriangles()
intcountnintindices
Method protected abstract void Enable()
GlCapcap
Method protected abstract void Disable()
GlCapcap
Method protected abstract void BlendFunc()
GlBlendingFactorsrcFactorGlBlendingFactordstFactor
Method protected abstract uint GenTexture()
Method protected abstract void BindTexture()
GlTextureTargettargetuinttexture
Method protected abstract void TexImage2D()
GlTextureTargettargetintlevelintwidthintheightintborderGlPixelFormatformatGlPixelTypetypenintpixels
Method protected abstract void GenerateMipmap()
GlTextureTargettarget
Method protected abstract void TextureParameterI()
GlTextureTargettargetGlTextureParameterNamenameGlTextureParameterparameter
Method protected abstract void ActiveTexture()
GlTextureUnitunit
Method protected abstract void DeleteTexture()
uinttexture
Method public void ClearTexture()
Method protected abstract void GetTexImage()
GlTextureTargettargetintlevelGlPixelFormatformatGlPixelTypetypenintpixels
Method protected abstract uint GenFramebuffer()
Method protected abstract void BindFramebuffer()
GlFramebufferTargettargetuintframebuffer
Method protected abstract void DeleteFramebuffer()
uintframebuffer
Method protected abstract void FramebufferTexture2D()
GlFramebufferTargettargetGlFramebufferAttachmentattachmentGlTextureTargettexTargetuinttextureintlevel
Method protected abstract uint GenRenderbuffer()
Method protected abstract void BindRenderbuffer()
GlRenderbufferTargettargetuintrenderbuffer
Method protected abstract void RenderbufferStorage()
GlRenderbufferTargettargetGlRenderbufferStorageinternalFormatintwidthintheight
Method protected abstract void FramebufferRenderbuffer()
GlFramebufferTargettargetGlFramebufferAttachmentattachmentGlRenderbufferTargetrenderbufferTargetuintrenderbuffer
Method protected abstract GlFramebufferErrorCode CheckFramebufferStatus()
GlFramebufferTargettarget
Method protected abstract void DeleteRenderbuffer()
uintrenderbuffer
Method protected abstract void DrawBuffer()
GlDrawBufferModebuffer
Method protected abstract void ReadBuffer()
GlReadBufferModesrc
Method protected abstract uint Compile()
stringvertexShaderSourcestringfragmentShaderSourcestringfragColorChannelList<string> errors
Method protected abstract void UseProgram()
uintshaderProgram
Method protected abstract void DeleteProgram()
uinthandle
Method protected abstract void DeleteVertexArray()
uintarray
Method protected abstract void DeleteBuffer()
uintbuffer
Method protected abstract uint GetAttributeLocation()
uintshaderstringattributeParameter
Method protected abstract uint GetUniformLocation()
uintshaderstringname
Method protected abstract void Uniform1()
uintlocationintvalue
Method protected abstract void Uniform1()
uintlocationfloatvalue
Method protected abstract void Uniform2()
uintlocationfloatv1floatv2
Method protected abstract void Uniform3()
uintlocationfloatv1floatv2floatv3
Method protected abstract void Uniform4()
uintlocationfloatv1floatv2floatv3floatv4
Method protected abstract void UniformMatrix4()
uintlocationbooltransposeMatrix4values
Method protected abstract void Uniform1()
uintlocationfloat[] values
Method protected abstract void Uniform3()
uintlocationfloat[] values