Struct Instance
- Namespace
- SharpVulkan
- Assembly
- Lime.dll
public struct Instance : IEquatable<Instance>
- Implements
- Inherited Members
Fields
Null
public static readonly Instance Null
Field Value
Properties
PhysicalDevices
public PhysicalDevice[] PhysicalDevices { get; }
Property Value
Methods
CreateAndroidSurface(ref AndroidSurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateAndroidSurface(ref AndroidSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoAndroidSurfaceCreateInfoallocatorAllocationCallbacks*
Returns
CreateDebugReportCallback(ref DebugReportCallbackCreateInfo, AllocationCallbacks*)
public DebugReportCallback CreateDebugReportCallback(ref DebugReportCallbackCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoDebugReportCallbackCreateInfoallocatorAllocationCallbacks*
Returns
CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoDisplaySurfaceCreateInfoallocatorAllocationCallbacks*
Returns
CreateWin32Surface(Win32SurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateWin32Surface(Win32SurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoWin32SurfaceCreateInfoallocatorAllocationCallbacks*
Returns
CreateXcbSurface(ref XcbSurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateXcbSurface(ref XcbSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoXcbSurfaceCreateInfoallocatorAllocationCallbacks*
Returns
CreateXlibSurface(ref XlibSurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateXlibSurface(ref XlibSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfoXlibSurfaceCreateInfoallocatorAllocationCallbacks*
Returns
Destroy(AllocationCallbacks*)
public void Destroy(AllocationCallbacks* allocator = null)
Parameters
allocatorAllocationCallbacks*
DestroyDebugReportCallback(DebugReportCallback, AllocationCallbacks*)
public void DestroyDebugReportCallback(DebugReportCallback callback, AllocationCallbacks* allocator = null)
Parameters
callbackDebugReportCallbackallocatorAllocationCallbacks*
DestroySurface(Surface, AllocationCallbacks*)
public void DestroySurface(Surface surface, AllocationCallbacks* allocator = null)
Parameters
surfaceSurfaceallocatorAllocationCallbacks*
Equals(Instance)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Instance other)
Parameters
otherInstanceAn object to compare with this object.
Returns
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
GetProcAddress(byte*)
public nint GetProcAddress(byte* name)
Parameters
namebyte*
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(Instance, Instance)
public static bool operator ==(Instance left, Instance right)
Parameters
Returns
operator !=(Instance, Instance)
public static bool operator !=(Instance left, Instance right)