OpenGL11Device ClassDelta Engine Documentation
Base class for OpenGL-based graphics devices.
Inheritance Hierarchy

System Object
  DeltaEngine.Graphics Device
    DeltaEngine.Graphics.BaseOpenGL11 OpenGL11Device
      DeltaEngine.Graphics.ES11 ES11Device
      DeltaEngine.Graphics.GLFW2 GLFW2Device
      DeltaEngine.Graphics.OpenTK11 OpenTK11Device

Namespace: DeltaEngine.Graphics.BaseOpenGL11
Assembly: DeltaEngine.Graphics.BaseOpenGL11 (in DeltaEngine.Graphics.BaseOpenGL11.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public abstract class OpenGL11Device : Device

The OpenGL11Device type exposes the following members.

Constructors

  NameDescription
Protected methodOpenGL11Device
Initializes a new instance of the OpenGL11Device class
Top
Methods

  NameDescription
Public methodBindIndexBuffer
Public methodBindTexture
Public methodBindVertexBuffer
Public methodClear (Inherited from Device.)
Public methodCreateCircularBuffer (Overrides Device CreateCircularBuffer(ShaderWithFormat, BlendMode, VerticesMode).)
Public methodCreateIndexBuffer
Public methodCreateVertexBuffer
Public methodDefineVertexColor
Public methodDefineVertexPosition
Public methodDefineVertexTextureCoordinate
Public methodDeleteBuffer
Public methodDeleteTexture
Protected methodDisableCulling (Overrides Device DisableCulling .)
Public methodDisableDepthTest (Inherited from Device.)
Public methodDisableTexturing
Public methodDisableVertexColor
Public methodDisableVertexTextureCoordinate
Public methodDispose (Inherited from Device.)
Public methodDrawLines
Public methodDrawTriangles
Protected methodEnableClockwiseBackfaceCulling (Overrides Device EnableClockwiseBackfaceCulling .)
Public methodEnableDepthTest (Inherited from Device.)
Public methodEnableTexturing
Public methodFillTexture
Fill existing texture with Rgba 32bit data (oqaue or alpha). 24bit and Bgr are not supported here for performance reasons.
Public methodGenerateTexture
Public methodLoadIndices
Public methodLoadTextureInNativePlatformFormat(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).
Public methodLoadTextureInNativePlatformFormat(Int32, Int32,  Byte , CompressedTextureFormat, Int32)
Public methodLoadVertexData T 
Protected methodNativeDisableCulling
Protected methodNativeEnableCulling
Protected methodOnFullscreenChanged (Inherited from Device.)
Public methodPresent (Inherited from Device.)
Public methodReadPixels
Public methodSet2DMode (Inherited from Device.)
Public methodSet3DMode (Inherited from Device.)
Public methodSetBlendMode (Inherited from Device.)
Public methodSetModelViewMatrix
Public methodSetModelViewProjectionMatrixFor2D (Inherited from Device.)
Public methodSetProjectionMatrix
Public methodSetTextureSamplerState
Public methodSetViewport (Inherited from Device.)
Top
Fields

  NameDescription
Public fieldStatic memberInvalidHandle
Protected fieldwindow (Inherited from Device.)
Top
Properties

  NameDescription
Public propertyCameraInvertedViewMatrix (Inherited from Device.)
Public propertyCameraProjectionMatrix (Inherited from Device.)
Public propertyCameraViewMatrix (Inherited from Device.)
Public propertyCullingMode (Inherited from Device.)
Public propertyCurrentlyUsedShader (Inherited from Device.)
Public propertyModelViewProjectionMatrix (Inherited from Device.)
Top
Events

  NameDescription
Public eventOnSet3DMode (Inherited from Device.)
Top
See Also