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
createInfo
AndroidSurfaceCreateInfoallocator
AllocationCallbacks*
Returns
CreateDebugReportCallback(ref DebugReportCallbackCreateInfo, AllocationCallbacks*)
public DebugReportCallback CreateDebugReportCallback(ref DebugReportCallbackCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfo
DebugReportCallbackCreateInfoallocator
AllocationCallbacks*
Returns
CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfo
DisplaySurfaceCreateInfoallocator
AllocationCallbacks*
Returns
CreateWin32Surface(Win32SurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateWin32Surface(Win32SurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfo
Win32SurfaceCreateInfoallocator
AllocationCallbacks*
Returns
CreateXcbSurface(ref XcbSurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateXcbSurface(ref XcbSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfo
XcbSurfaceCreateInfoallocator
AllocationCallbacks*
Returns
CreateXlibSurface(ref XlibSurfaceCreateInfo, AllocationCallbacks*)
public Surface CreateXlibSurface(ref XlibSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
Parameters
createInfo
XlibSurfaceCreateInfoallocator
AllocationCallbacks*
Returns
Destroy(AllocationCallbacks*)
public void Destroy(AllocationCallbacks* allocator = null)
Parameters
allocator
AllocationCallbacks*
DestroyDebugReportCallback(DebugReportCallback, AllocationCallbacks*)
public void DestroyDebugReportCallback(DebugReportCallback callback, AllocationCallbacks* allocator = null)
Parameters
callback
DebugReportCallbackallocator
AllocationCallbacks*
DestroySurface(Surface, AllocationCallbacks*)
public void DestroySurface(Surface surface, AllocationCallbacks* allocator = null)
Parameters
surface
Surfaceallocator
AllocationCallbacks*
Equals(Instance)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Instance other)
Parameters
other
InstanceAn 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
name
byte*
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)