Table of Contents

Class VulkanContext

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class VulkanContext : DrawContext, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
VulkanContext
Implements
Inherited Members

Constructors

VulkanContext(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public VulkanContext(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

VulkanContext(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected VulkanContext(CreationData data)

Parameters

data CreationData

VulkanContext(VulkanContextHandle)

protected VulkanContext(VulkanContextHandle handle)

Parameters

handle VulkanContextHandle

Fields

ImagesUpdatedSignal

Signal Descriptor for OnImagesUpdated.

public static readonly Signal<VulkanContext> ImagesUpdatedSignal

Field Value

Signal<VulkanContext>

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed VulkanContext instance for a given pointer.

public static VulkanContext NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

VulkanContext

NewWithProperties(ConstructArgument[])

Creates a new VulkanContext and sets the properties specified by the construct arguments.

public static VulkanContext NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

VulkanContext

Events

OnImagesUpdated

public event SignalHandler<VulkanContext> OnImagesUpdated

Event Type

SignalHandler<VulkanContext>