OpenGL based graphics device
System Object DeltaEngine.Graphics Device DeltaEngine.Graphics.BaseOpenGL20 OpenGL20Device DeltaEngine.Graphics.ES20 ES20Device DeltaEngine.Graphics.GLFW3 GLFW3Device DeltaEngine.Graphics.OpenGL OpenGLDevice DeltaEngine.Graphics.OpenTK20 OpenTK20DeviceNamespace: DeltaEngine.Graphics.BaseOpenGL20Assembly: DeltaEngine.Graphics.BaseOpenGL20 (in DeltaEngine.Graphics.BaseOpenGL20.dll) Version: 1.1.1.0 (1.1.1)
public abstract class OpenGL20Device : Device
public abstract class OpenGL20Device : Device
Public MustInherit Class OpenGL20Device
Inherits Device
Public MustInherit Class OpenGL20Device
Inherits Device
public ref class OpenGL20Device abstract : public Device
public ref class OpenGL20Device abstract : public Device
[<AbstractClassAttribute>]
type OpenGL20Device =
class
inherit Device
end
[<AbstractClassAttribute>]
type OpenGL20Device =
class
inherit Device
end
The OpenGL20Device type exposes the following members.
| Name | Description |
---|
| OpenGL20Device | Initializes a new instance of the OpenGL20Device class |
Top
| Name | Description |
---|
| BindIndexBuffer | |
| BindTexture | |
| BindVertexBuffer | |
| Clear | (Inherited from Device.) |
| CreateCircularBuffer | (Overrides Device CreateCircularBuffer(ShaderWithFormat, BlendMode, VerticesMode).) |
| CreateIndexBuffer | |
| CreateVertexBuffer | |
| DefineVertexAttributeWithBytes | |
| DefineVertexAttributeWithFloats | |
| DeleteBuffer | |
| DeleteShaderProgram | |
| DeleteTexture | |
| DisableCulling | (Overrides Device DisableCulling .) |
| DisableDepthTest | (Inherited from Device.) |
| Dispose | (Inherited from Device.) |
| DrawLines | |
| DrawTriangles | |
| EnableClockwiseBackfaceCulling | (Overrides Device EnableClockwiseBackfaceCulling .) |
| EnableDepthTest | (Inherited from Device.) |
| FillTexture |
Fill existing texture with Rgba 32bit data (oqaue or alpha). 24bit and Bgr are not supported
here for performance reasons.
|
| GenerateTexture | |
| GetShaderAttributeLocation | |
| GetShaderUniformLocation | |
| LoadIndices | |
| LoadTextureInNativePlatformFormat(Int32, Int32, IntPtr, Boolean) |
Load texture from native Bgra data coming from the Bitmap load function. On most platforms
the native format is Rgba (just Windows uses Brga) and we want to avoid any conversion so
the data stays in its native format unless not supported (ES needs Rgba even on Windows).
|
| LoadTextureInNativePlatformFormat(Int32, Int32, Byte , CompressedTextureFormat, Int32) | |
| LoadVertexData T | |
| NativeDisableCulling | |
| NativeEnableCulling | |
| OnFullscreenChanged | (Inherited from Device.) |
| Present | (Inherited from Device.) |
| ReadPixels | |
| Set2DMode | (Inherited from Device.) |
| Set3DMode | (Inherited from Device.) |
| SetBlendMode | (Inherited from Device.) |
| SetModelViewProjectionMatrixFor2D | (Inherited from Device.) |
| SetTextureSamplerState | |
| SetUniformValue(Int32, Matrix) | |
| SetUniformValue(Int32, Vector3D) | |
| SetUniformValue(Int32, Int32) | |
| SetUniformValue(Int32, Single) | |
| SetUniformValue(Int32, Single, Single, Single, Single) | |
| SetUniformValues | |
| SetViewport | (Inherited from Device.) |
| UseShaderProgram | |
TopTopTopTop