Skip to main content

Class VelloGraphicsDevice

Namespace: VelloSharp.Windows
Assembly: VelloSharp.Windows.Core.dll, VelloSharp.Maui.Core.dll

public sealed class VelloGraphicsDevice : IDisposable

Inheritance

objectVelloGraphicsDevice

Implements

IDisposable

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

VelloGraphicsDevice(uint, uint, VelloGraphicsDeviceOptions?)

public VelloGraphicsDevice(uint width, uint height, VelloGraphicsDeviceOptions? options = null)

Parameters

width uint

height uint

options VelloGraphicsDeviceOptions?

VelloGraphicsDevice(uint, uint, VelloGraphicsDeviceOptions?)

public VelloGraphicsDevice(uint width, uint height, VelloGraphicsDeviceOptions? options = null)

Parameters

width uint

height uint

options VelloGraphicsDeviceOptions?

Properties

Options

public VelloGraphicsDeviceOptions Options { get; }

Property Value

VelloGraphicsDeviceOptions

Options

public VelloGraphicsDeviceOptions Options { get; }

Property Value

VelloGraphicsDeviceOptions

SurfaceSize

public (uint Width, uint Height) SurfaceSize { get; }

Property Value

(uint Width, uint Height)

SurfaceSize

public (uint Width, uint Height) SurfaceSize { get; }

Property Value

(uint Width, uint Height)

Methods

BeginSession(uint, uint)

public VelloGraphicsSession BeginSession(uint width, uint height)

Parameters

width uint

height uint

Returns

VelloGraphicsSession

BeginSession(uint, uint)

public VelloGraphicsSession BeginSession(uint width, uint height)

Parameters

width uint

height uint

Returns

VelloGraphicsSession

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()