Class VkInstance
java.lang.Object
overrungl.vulkan.VkInstance
- All Implemented Interfaces:
Addressable
Wraps a Vulkan instance handle.
- Since:
- 0.1.0
- Author:
- squid233
-
Constructor Summary
ConstructorsConstructorDescriptionVkInstance(MemorySegment segment) Creates aVkInstanceinstance for the specified segment. -
Method Summary
Modifier and TypeMethodDescriptionReturns theVKCapabilitiesInstanceinstance associated with this dispatchable handle.segment()Returns the segment of this instance.toString()
-
Constructor Details
-
VkInstance
Creates aVkInstanceinstance for the specified segment.- Parameters:
segment- theVkInstancesegment
-
-
Method Details
-
segment
Description copied from interface:AddressableReturns the segment of this instance.- Specified by:
segmentin interfaceAddressable- Returns:
- the segment of this instance
-
capabilities
Returns theVKCapabilitiesInstanceinstance associated with this dispatchable handle.- Returns:
- the
VKCapabilitiesInstanceinstance associated with this dispatchable handle
-
toString
-