Search Results for

    Show / Hide Table of Contents

    Class WGPUCapabilities

    The WGPU capabilities.

    Inheritance
    object
    GraphicsContextCapabilities
    WGPUCapabilities
    Namespace: Evergine.WebGPU
    Assembly: Evergine.WebGPU.dll
    Syntax
    public class WGPUCapabilities : GraphicsContextCapabilities

    Constructors

    WGPUCapabilities(WGPUGraphicsContext)

    Initializes a new instance of the WGPUCapabilities class.

    Declaration
    public WGPUCapabilities(WGPUGraphicsContext ctx)
    Parameters
    Type Name Description
    WGPUGraphicsContext ctx

    The WebGPU graphics context.

    Properties

    ClipDepth

    Gets the depth range in clip space.

    Declaration
    public override ClipDepth ClipDepth { get; }
    Property Value
    Type Description
    ClipDepth
    Overrides
    GraphicsContextCapabilities.ClipDepth

    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
    GraphicsContextCapabilities.FlipProjectionRequired

    IsComputeShaderSupported

    Gets a value indicating whether this graphics context supports compute shaders.

    Declaration
    public override bool IsComputeShaderSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    GraphicsContextCapabilities.IsComputeShaderSupported

    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
    GraphicsContextCapabilities.IsMRTSupported

    IsMeshShaderSupported

    Gets a value indicating whether this graphics context support meshshader.

    Declaration
    public override bool IsMeshShaderSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    GraphicsContextCapabilities.IsMeshShaderSupported

    IsRaytracingSupported

    Gets a value indicating whether this graphics context supports raytracing.

    Declaration
    public override bool IsRaytracingSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    GraphicsContextCapabilities.IsRaytracingSupported

    IsShadowMapSupported

    Gets a value indicating whether this graphics context supports shadow maps.

    Declaration
    public override bool IsShadowMapSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    GraphicsContextCapabilities.IsShadowMapSupported

    IsSynchronousMemoryMappingSupported

    Gets a value indicating whether this graphics context supports asynchronous readback from GPU to CPU.

    Declaration
    public override bool IsSynchronousMemoryMappingSupported { get; }
    Property Value
    Type Description
    bool
    Overrides
    GraphicsContextCapabilities.IsSynchronousMemoryMappingSupported

    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
    GraphicsContextCapabilities.MatrixMajorness

    MultiviewStrategy

    Gets the multi-view strategy supported by this graphics context.

    Declaration
    public override MultiviewStrategy MultiviewStrategy { get; }
    Property Value
    Type Description
    MultiviewStrategy
    Overrides
    GraphicsContextCapabilities.MultiviewStrategy

    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.

    Overrides
    GraphicsContextCapabilities.IsTextureFormatSupported(PixelFormat)

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX