Click or drag to resize
Ab4d.SharpEngine logo

Result Enumeration


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public enum Result
Members
Member nameValueDescription
Success0Command completed successfully
NotReady1A fence or query has not yet completed
Timeout2A wait operation has not completed in the specified time
EventSet3An event is signaled
EventReset4An event is unsignaled
Incomplete5A return array was too small for the result
ErrorOutOfHostMemory-1A host memory allocation has failed
ErrorOutOfDeviceMemory-2A device memory allocation has failed
ErrorInitializationFailed-3Initialization of an object has failed
ErrorDeviceLost-4The logical device has been lost. See <<devsandqueues-lost-device>>
ErrorMemoryMapFailed-5Mapping of a memory object has failed
ErrorLayerNotPresent-6Layer specified does not exist
ErrorExtensionNotPresent-7Extension specified does not exist
ErrorFeatureNotPresent-8Requested feature is not available on this device
ErrorIncompatibleDriver-9Unable to find a Vulkan driver
ErrorTooManyObjects-10Too many objects of the type have already been created
ErrorFormatNotSupported-11Requested format is not supported on this device
ErrorFragmentedPool-12A requested pool allocation has failed due to fragmentation of the pool's memory
ErrorUnknown-13An unknown error has occurred, due to an implementation or application bug
Suboptimal1,000,001,003 
PipelineCompileRequired1,000,297,000 
ErrorSurfaceLost-1,000,000,000 
ErrorNativeWindowInUse-1,000,000,001 
ErrorOutOfDate-1,000,001,004 
ErrorIncompatibleDisplay-1,000,003,001 
ErrorValidationFailed-1,000,011,001 
ErrorOutOfPoolMemory-1,000,069,000 
ErrorInvalidExternalHandle-1,000,072,003 
ErrorFragmentation-1,000,161,000 
ErrorInvalidOpaqueCaptureAddress-1,000,257,000 
ErrorInvalidPipelineCacheData-1,000,298,000 
ErrorNoPipelineMatch-1,000,298,001 

The Result type exposes the following members.

Extension Methods
 NameDescription
Public Extension MethodCheckResult CheckResult method throws a VulkanException when result is not Success.
(Defined by Extensions)
Public Extension MethodLogAndCheckResult Log with Trace level the name of the called Vulkan method and its result and in case when result is not Success throws a new VulkanException with result code and method name.
(Defined by Log)
Public Extension MethodLogInfoAndCheckResult Log with Info level the name of the called Vulkan method and its result and in case when result is not Success throws a new VulkanException with result code and method name.
(Defined by Log)
Public Extension MethodLogInfoResult Log with Trace level the name of the called Vulkan method and its result.
(Defined by Log)
Public Extension MethodLogResult Log with Trace level the name of the called Vulkan method and its result.
(Defined by Log)
Public Extension MethodLogResultOnError When result is not Success then logs with Trace level the method name and its result and in case when result is not Success throws a new VulkanException with result code and method name.
(Defined by Log)
Top
See Also