Class GLExtensions
This class contains information about all the supported extensions in a device.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLExtensions
  Constructors
GLExtensions(GLGraphicsContext)
Initializes a new instance of the GLExtensions class.
Declaration
public GLExtensions(GLGraphicsContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GLGraphicsContext | context | The opengl graphicscontext.  | 
      
Fields
ARB_ComputeShader
Whether GL_ARB_compute_shader is supported.
Declaration
public bool ARB_ComputeShader
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_CopyImage
Whether GL_ARB_copy_image is supported.
Declaration
public bool ARB_CopyImage
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Depth_Clamp
Whether GL_ARB_Depth_Clamp is supported.
Declaration
public bool ARB_Depth_Clamp
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_DirectStateAccess
Whether GL_ARB_direct_state_access is supported.
Declaration
public bool ARB_DirectStateAccess
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Framebuffer_Object
Whether GL_ARB_framebuffer_object is supported.
Declaration
public bool ARB_Framebuffer_Object
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Get_Texture_Sub_Image
Whether GL_ARB_get_texture_sub_image is supported.
Declaration
public bool ARB_Get_Texture_Sub_Image
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Program_Interface_Query
Whether GL_ARB_Program_Interface_Query is supported.
Declaration
public bool ARB_Program_Interface_Query
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_TextureStorage
Wheter GL_ARB_texture_storage is supported.
Declaration
public bool ARB_TextureStorage
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Texture_Non_Power_Of_Two
Whether GL_ARB_texture_non_power_of_two is supported.
Declaration
public bool ARB_Texture_Non_Power_Of_Two
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Uniform_Buffer_Object
Whether GL_ARB_Uniform_Buffer_Object is supported.
Declaration
public bool ARB_Uniform_Buffer_Object
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_Viewport_Array
Whether GL_ARB_Viewport_Array is supported.
Declaration
public bool ARB_Viewport_Array
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_draw_indirect
Whether GL_ARB_draw_indirect is supported.
Declaration
public bool ARB_draw_indirect
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_multi_draw_indirect
Whether GL_ARB_multi_draw_indirect is supported.
Declaration
public bool ARB_multi_draw_indirect
  Field Value
| Type | Description | 
|---|---|
| bool | 
ARB_shader_image_load_store
Whether GL_ARB_shader_image_load_store is supported.
Declaration
public bool ARB_shader_image_load_store
  Field Value
| Type | Description | 
|---|---|
| bool | 
CurrentVersion
Cached current version.
Declaration
public int CurrentVersion
  Field Value
| Type | Description | 
|---|---|
| int | 
EXT_Texture_Compression_S3TC
Whether GL_EXT_texture_compression_s3tc is supported.
Declaration
public bool EXT_Texture_Compression_S3TC
  Field Value
| Type | Description | 
|---|---|
| bool | 
EXT_Texture_Filter_Anisotropic
Whether GL_EXT_texture_filter_anisotropic is supported.
Declaration
public bool EXT_Texture_Filter_Anisotropic
  Field Value
| Type | Description | 
|---|---|
| bool | 
KHR_DEBUG
Whether KHR_DEBUG is supported.
Declaration
public bool KHR_DEBUG
  Field Value
| Type | Description | 
|---|---|
| bool | 
Methods
CheckGLExtension(string, int)
Returns a value indicating whether the given extension is supported.
Declaration
public bool CheckGLExtension(string extension, int version)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | extension | The name of the extensions.".  | 
      
| int | version | OpenGL version where this extensions was included (Only ARB extensions).  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if the given extension is supported, false otherwise.  | 
      
CheckGLThirdPartiesExtension(string)
Returns a value indicating whether the given extension is supported.
Declaration
public bool CheckGLThirdPartiesExtension(string extension)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | extension | The name of the extensions.".  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if the given extension is supported, false otherwise.  |