Struct VulkanError
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
Contains all error codes of the VulkanError error-domain.
public readonly ref struct VulkanError
- Inherited Members
Constructors
VulkanError(int)
Creates a new error in the VulkanError domain with a given error code.
public VulkanError(int errorCode)
Parameters
errorCodeintA specific error code of the domain
Properties
Any
Can be used to match a GException with any error code of the "VulkanError" error-domain.
public static Quark Any { get; }
Property Value
NotAvailable
Can be used to match a GException with the "NotAvailable" code (1).
public static VulkanError NotAvailable { get; }
Property Value
Unsupported
Can be used to match a GException with the "Unsupported" code (0).
public static VulkanError Unsupported { get; }
Property Value
Operators
implicit operator ErrorCode(VulkanError)
Converts a VulkanError into a ErrorCode which can be used to match a GException.
public static implicit operator ErrorCode(VulkanError e)