Class GLCapabilities
The capabilities of OpenGL.
Inherited Members
Namespace: Evergine.OpenGL
Assembly: Evergine.OpenGL.dll
Syntax
public class GLCapabilities : GraphicsContextCapabilities
Constructors
GLCapabilities(GLGraphicsContext)
Initializes a new instance of the GLCapabilities class.
Declaration
public GLCapabilities(GLGraphicsContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GLGraphicsContext | context | The current graphics context. |
Properties
ClipDepth
Gets the depth range in clip space.
Declaration
public override ClipDepth ClipDepth { get; }
Property Value
| Type | Description |
|---|---|
| ClipDepth |
Overrides
FlipProjectionRequired
Gets a value indicating whether we need to flip the projection matrix on the render target.
Declaration
public override bool FlipProjectionRequired { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsComputeShaderSupported
Gets a value indicating whether this graphics context supports compute shaders.
Declaration
public override bool IsComputeShaderSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsMRTSupported
Gets a value indicating whether this graphics context supports Multiple Render Targets (MRTs).
Declaration
public override bool IsMRTSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsMeshShaderSupported
Gets a value indicating whether this graphics context support meshshader.
Declaration
public override bool IsMeshShaderSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsRaytracingSupported
Gets a value indicating whether this graphics context supports raytracing.
Declaration
public override bool IsRaytracingSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsShadowMapSupported
Gets a value indicating whether this graphics context supports shadow maps.
Declaration
public override bool IsShadowMapSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
MatrixMajorness
Gets a value indicating whether this graphics context uses row-major matrices by default.
Declaration
public override MatrixMajorness MatrixMajorness { get; }
Property Value
| Type | Description |
|---|---|
| MatrixMajorness |
Overrides
MultiviewStrategy
Gets the multi-view strategy supported by this graphics context.
Declaration
public override MultiviewStrategy MultiviewStrategy { get; }
Property Value
| Type | Description |
|---|---|
| MultiviewStrategy |
Overrides
Methods
IsTextureFormatSupported(PixelFormat)
Returns whether this grapics context supports a given texture format.
Declaration
public override bool IsTextureFormatSupported(PixelFormat format)
Parameters
| Type | Name | Description |
|---|---|---|
| PixelFormat | format | The texture format to check. |
Returns
| Type | Description |
|---|---|
| bool | Whether this grapics context supports a given texture format. |