Class MTLSwapChainFrameBuffer
This class represent the swapchain FrameBuffer on Metal.
Inherited Members
Namespace: Evergine.Metal
Assembly: Evergine.Metal.dll
Syntax
public class MTLSwapChainFrameBuffer : FrameBuffer, ILoadable, IDisposable, IDependencyObject
  Constructors
MTLSwapChainFrameBuffer(MTLGraphicsContext, MTLSwapChain)
Initializes a new instance of the MTLSwapChainFrameBuffer class.
Declaration
public MTLSwapChainFrameBuffer(MTLGraphicsContext context, MTLSwapChain swapchain)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MTLGraphicsContext | context | The graphics context.  | 
      
| MTLSwapChain | swapchain | The swapchain to create from.  | 
      
Fields
DepthTargetTexture
A depthTarget texture.
Declaration
public MTLTexture DepthTargetTexture
  Field Value
| Type | Description | 
|---|---|
| MTLTexture | 
Properties
Name
Gets or sets a string identifying this instance. 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 | 
  |