Search Results for

    Show / Hide Table of Contents

    Class WGPUSwapChainFrameBuffer

    This class represent the swapchain FrameBuffer on WebGPU.

    Inheritance
    object
    FrameBuffer
    WGPUSwapChainFrameBuffer
    Implements
    ILoadable
    IDependencyObject
    Inherited Members
    FrameBuffer.Id
    FrameBuffer.ReaderVersion
    FrameBuffer.Invalidated
    FrameBuffer.Dependencies
    FrameBuffer.Disposed
    FrameBuffer.requireFlipProjection
    FrameBuffer.Width
    FrameBuffer.Height
    FrameBuffer.ArraySize
    FrameBuffer.SampleCount
    FrameBuffer.RequireFlipProjection
    FrameBuffer.ColorTargets
    FrameBuffer.DepthStencilTarget
    FrameBuffer.OutputDescription
    FrameBuffer.IntermediateBufferAssociated
    FrameBuffer.disposeAttachments
    FrameBuffer.Dispose()
    FrameBuffer.Dispose(bool)
    FrameBuffer.Invalidate(ILoadable)
    FrameBuffer.ReleaseUnusedMemory()
    Namespace: Evergine.WebGPU
    Assembly: Evergine.WebGPU.dll
    Syntax
    public class WGPUSwapChainFrameBuffer : FrameBuffer, ILoadable, IDependencyObject

    Constructors

    WGPUSwapChainFrameBuffer(WGPUGraphicsContext, WGPUSwapChain)

    Initializes a new instance of the WGPUSwapChainFrameBuffer class.

    Declaration
    public WGPUSwapChainFrameBuffer(WGPUGraphicsContext context, WGPUSwapChain swapchain)
    Parameters
    Type Name Description
    WGPUGraphicsContext context

    The graphics context.

    WGPUSwapChain swapchain

    The swapchain to create from.

    Fields

    ColorTargetTexture

    A color target texture.

    Declaration
    public WGPUTexture ColorTargetTexture
    Field Value
    Type Description
    WGPUTexture

    DepthTargetTexture

    A depthTarget texture.

    Declaration
    public WGPUTexture DepthTargetTexture
    Field Value
    Type Description
    WGPUTexture

    Properties

    Name

    Gets or sets a string identifying this instance. It can be used in graphics debuggers tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    FrameBuffer.Name

    Methods

    Destroy()

    Releases unmanaged and - optionally - managed resources.

    Declaration
    protected override void Destroy()
    Overrides
    FrameBuffer.Destroy()

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

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