Class GraphicsContextCapabilities
Abstract class that provides the capabilities of the graphics context.
Inheritance
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public abstract class GraphicsContextCapabilities
Properties
ClipDepth
Gets the depth range in clip space.
Declaration
public abstract ClipDepth ClipDepth { get; }
Property Value
| Type | Description |
|---|---|
| ClipDepth |
FlipProjectionRequired
Gets a value indicating whether we need to flip the projection matrix on the render target.
Declaration
public abstract bool FlipProjectionRequired { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsComputeShaderSupported
Gets a value indicating whether this graphics context supports compute shaders.
Declaration
public abstract bool IsComputeShaderSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsMRTSupported
Gets a value indicating whether this graphics context supports Multiple Render Targets (MRTs).
Declaration
public abstract bool IsMRTSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsMeshShaderSupported
Gets a value indicating whether this graphics context support meshshader.
Declaration
public abstract bool IsMeshShaderSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsRaytracingSupported
Gets a value indicating whether this graphics context supports raytracing.
Declaration
public abstract bool IsRaytracingSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsShadowMapSupported
Gets a value indicating whether this graphics context supports shadow maps.
Declaration
public abstract bool IsShadowMapSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSynchronousMemoryMappingSupported
Gets a value indicating whether this graphics context supports asynchronous readback from GPU to CPU.
Declaration
public virtual bool IsSynchronousMemoryMappingSupported { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MatrixMajorness
Gets a value indicating whether this graphics context uses row-major matrices by default.
Declaration
public abstract MatrixMajorness MatrixMajorness { get; }
Property Value
| Type | Description |
|---|---|
| MatrixMajorness |
MultiviewStrategy
Gets the multi-view strategy supported by this graphics context.
Declaration
public abstract MultiviewStrategy MultiviewStrategy { get; }
Property Value
| Type | Description |
|---|---|
| MultiviewStrategy |
Methods
IsTextureFormatSupported(PixelFormat)
Returns whether this grapics context supports a given texture format.
Declaration
public abstract 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. |