Table of Contents

Struct Instance

Namespace
SharpVulkan
Assembly
Lime.dll
public struct Instance : IEquatable<Instance>
Implements
Inherited Members

Fields

Null

public static readonly Instance Null

Field Value

Instance

Properties

PhysicalDevices

public PhysicalDevice[] PhysicalDevices { get; }

Property Value

PhysicalDevice[]

Methods

CreateAndroidSurface(ref AndroidSurfaceCreateInfo, AllocationCallbacks*)

public Surface CreateAndroidSurface(ref AndroidSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo AndroidSurfaceCreateInfo
allocator AllocationCallbacks*

Returns

Surface

CreateDebugReportCallback(ref DebugReportCallbackCreateInfo, AllocationCallbacks*)

public DebugReportCallback CreateDebugReportCallback(ref DebugReportCallbackCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo DebugReportCallbackCreateInfo
allocator AllocationCallbacks*

Returns

DebugReportCallback

CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo, AllocationCallbacks*)

public Surface CreateDisplayPlaneSurface(ref DisplaySurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo DisplaySurfaceCreateInfo
allocator AllocationCallbacks*

Returns

Surface

CreateWin32Surface(Win32SurfaceCreateInfo, AllocationCallbacks*)

public Surface CreateWin32Surface(Win32SurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo Win32SurfaceCreateInfo
allocator AllocationCallbacks*

Returns

Surface

CreateXcbSurface(ref XcbSurfaceCreateInfo, AllocationCallbacks*)

public Surface CreateXcbSurface(ref XcbSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo XcbSurfaceCreateInfo
allocator AllocationCallbacks*

Returns

Surface

CreateXlibSurface(ref XlibSurfaceCreateInfo, AllocationCallbacks*)

public Surface CreateXlibSurface(ref XlibSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)

Parameters

createInfo XlibSurfaceCreateInfo
allocator AllocationCallbacks*

Returns

Surface

Destroy(AllocationCallbacks*)

public void Destroy(AllocationCallbacks* allocator = null)

Parameters

allocator AllocationCallbacks*

DestroyDebugReportCallback(DebugReportCallback, AllocationCallbacks*)

public void DestroyDebugReportCallback(DebugReportCallback callback, AllocationCallbacks* allocator = null)

Parameters

callback DebugReportCallback
allocator AllocationCallbacks*

DestroySurface(Surface, AllocationCallbacks*)

public void DestroySurface(Surface surface, AllocationCallbacks* allocator = null)

Parameters

surface Surface
allocator AllocationCallbacks*

Equals(Instance)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Instance other)

Parameters

other Instance

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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

nint

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

left Instance
right Instance

Returns

bool

operator !=(Instance, Instance)

public static bool operator !=(Instance left, Instance right)

Parameters

left Instance
right Instance

Returns

bool