Class GLExtensions
This class contains information about all supported extensions on a device.
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 graphics context. |
Fields
ARB_ComputeShader
Indicates whether GL_ARB_compute_shader is supported.
Declaration
public bool ARB_ComputeShader
Field Value
| Type | Description |
|---|---|
| bool |
ARB_CopyImage
Indicates whether GL_ARB_copy_image is supported.
Declaration
public bool ARB_CopyImage
Field Value
| Type | Description |
|---|---|
| bool |
ARB_Depth_Clamp
Indicates whether GL_ARB_Depth_Clamp is supported.
Declaration
public bool ARB_Depth_Clamp
Field Value
| Type | Description |
|---|---|
| bool |
ARB_DirectStateAccess
Indicates whether GL_ARB_direct_state_access is supported.
Declaration
public bool ARB_DirectStateAccess
Field Value
| Type | Description |
|---|---|
| bool |
ARB_Framebuffer_Object
Indicates whether GL_ARB_framebuffer_object is supported.
Declaration
public bool ARB_Framebuffer_Object
Field Value
| Type | Description |
|---|---|
| bool |
ARB_Get_Texture_Sub_Image
Indicates 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
Indicates whether GL_ARB_Program_Interface_Query is supported.
Declaration
public bool ARB_Program_Interface_Query
Field Value
| Type | Description |
|---|---|
| bool |
ARB_TextureStorage
Whether GL_ARB_texture_storage is supported.
Declaration
public bool ARB_TextureStorage
Field Value
| Type | Description |
|---|---|
| bool |
ARB_Texture_Non_Power_Of_Two
Indicates 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
Indicates whether GL_ARB_Uniform_Buffer_Object is supported.
Declaration
public bool ARB_Uniform_Buffer_Object
Field Value
| Type | Description |
|---|---|
| bool |
ARB_Viewport_Array
Indicates whether GL_ARB_Viewport_Array is supported.
Declaration
public bool ARB_Viewport_Array
Field Value
| Type | Description |
|---|---|
| bool |
ARB_draw_indirect
Indicates whether GL_ARB_draw_indirect is supported.
Declaration
public bool ARB_draw_indirect
Field Value
| Type | Description |
|---|---|
| bool |
ARB_multi_draw_indirect
Indicates 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
Indicates whether GL_ARB_shader_image_load_store is supported.
Declaration
public bool ARB_shader_image_load_store
Field Value
| Type | Description |
|---|---|
| bool |
ARB_texture_compression_bptc
Indicates whether ARB_texture_compression_bptc is supported.
Declaration
public bool ARB_texture_compression_bptc
Field Value
| Type | Description |
|---|---|
| bool |
CurrentVersion
Cached current version.
Declaration
public int CurrentVersion
Field Value
| Type | Description |
|---|---|
| int |
EXT_Texture_Compression_S3TC
Indicates whether GL_EXT_texture_compression_s3tc is supported.
Declaration
public bool EXT_Texture_Compression_S3TC
Field Value
| Type | Description |
|---|---|
| bool |
EXT_Texture_Filter_Anisotropic
Indicates whether GL_EXT_texture_filter_anisotropic is supported.
Declaration
public bool EXT_Texture_Filter_Anisotropic
Field Value
| Type | Description |
|---|---|
| bool |
EXT_texture_compression_rgtc
Indicates whether EXT_texture_compression_rgtc is supported.
Declaration
public bool EXT_texture_compression_rgtc
Field Value
| Type | Description |
|---|---|
| bool |
EXT_texture_compression_s3tc
Indicates whether EXT_texture_compression_s3tc is supported.
Declaration
public bool EXT_texture_compression_s3tc
Field Value
| Type | Description |
|---|---|
| bool |
KHR_DEBUG
Indicates whether KHR_DEBUG is supported.
Declaration
public bool KHR_DEBUG
Field Value
| Type | Description |
|---|---|
| bool |
KHR_texture_compression_astc_hdr
Indicates whether KHR_texture_compression_astc_hdr is supported.
Declaration
public bool KHR_texture_compression_astc_hdr
Field Value
| Type | Description |
|---|---|
| bool |
KHR_texture_compression_astc_ldr
Indicates whether KHR_texture_compression_astc_ldr is supported.
Declaration
public bool KHR_texture_compression_astc_ldr
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 extension. |
| int | version | OpenGL version where this extension 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 extension. |
Returns
| Type | Description |
|---|---|
| bool | True if the given extension is supported, false otherwise. |