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
constructArgumentsConstructArgument[]
VulkanContext(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected VulkanContext(CreationData data)
Parameters
dataCreationData
VulkanContext(VulkanContextHandle)
protected VulkanContext(VulkanContextHandle handle)
Parameters
handleVulkanContextHandle
Fields
ImagesUpdatedSignal
Signal Descriptor for OnImagesUpdated.
public static readonly Signal<VulkanContext> ImagesUpdatedSignal
Field Value
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed VulkanContext instance for a given pointer.
public static VulkanContext NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new VulkanContext and sets the properties specified by the construct arguments.
public static VulkanContext NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Events
OnImagesUpdated
public event SignalHandler<VulkanContext> OnImagesUpdated