Class WGPUSwapChainFrameBuffer
This class represent the swapchain FrameBuffer on WebGPU.
Inherited Members
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
Methods
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|