Class Swapchain
A device resource providing the ability to present rendered images to a visible surface. See SwapchainDescription.
Inheritance
System.Object
    Swapchain
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Veldrid
Assembly: cs.temp.dll.dll
Syntax
public abstract class Swapchain : DeviceResource, IDisposable
  Properties
Framebuffer
Gets a Framebuffer representing the render targets of this instance.
Declaration
public abstract Framebuffer Framebuffer { get; }
  Property Value
| Type | Description | 
|---|---|
| Framebuffer | 
IsDisposed
A bool indicating whether this instance has been disposed.
Declaration
public abstract bool IsDisposed { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Name
A string identifying this instance. Can be used to differentiate between objects in graphics debuggers and other tools.
Declaration
public abstract string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
SyncToVerticalBlank
Gets or sets whether presentation of this Swapchain will be synchronized to the window system's vertical refresh rate.
Declaration
public abstract bool SyncToVerticalBlank { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
Dispose()
Frees unmanaged device resources controlled by this instance.
Declaration
public abstract void Dispose()
  Resize(UInt32, UInt32)
Resizes the renderable Textures managed by this instance to the given dimensions.
Declaration
public abstract void Resize(uint width, uint height)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.UInt32 | width | The new width of the Swapchain.  | 
      
| System.UInt32 | height | The new height of the Swapchain.  | 
      
Implements
      System.IDisposable