Class VFakeExtKHRSwapChain
java.lang.Object
com.io7m.jcoronado.fake.VFakeExtKHRSwapChain
- All Implemented Interfaces:
VulkanExtensionType, VulkanExtKHRSwapChainType
The surface extension.
-
Nested Class Summary
Nested classes/interfaces inherited from interface VulkanExtKHRSwapChainType
VulkanExtKHRSwapChainType.QueuePresentResult, VulkanExtKHRSwapChainType.VulkanKHRSwapChainType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanExtensionPropertiesqueuePresent(VulkanQueueType queue, VulkanPresentInfoKHR presentInfo) Queue images for presentation.voidsetNextSwapChain(VulkanExtKHRSwapChainType.VulkanKHRSwapChainType inNextSwapChain) Set the next swap chain.swapChainCreate(VulkanLogicalDeviceType device, VulkanSwapChainCreateInfo info) Create a new swap chain.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VulkanExtKHRSwapChainType
extraNames, name
-
Constructor Details
-
VFakeExtKHRSwapChain
public VFakeExtKHRSwapChain()Construct an extension.
-
-
Method Details
-
setNextSwapChain
Set the next swap chain.- Parameters:
inNextSwapChain- The next swap chain
-
properties
- Returns:
- The extension properties
-
swapChainCreate
public VulkanExtKHRSwapChainType.VulkanKHRSwapChainType swapChainCreate(VulkanLogicalDeviceType device, VulkanSwapChainCreateInfo info) Description copied from interface:VulkanExtKHRSwapChainTypeCreate a new swap chain.- Specified by:
swapChainCreatein interfaceVulkanExtKHRSwapChainType- Parameters:
device- The physical deviceinfo- The creation info- Returns:
- The capabilities of the given surface
- See Also:
-
queuePresent
public VulkanExtKHRSwapChainType.QueuePresentResult queuePresent(VulkanQueueType queue, VulkanPresentInfoKHR presentInfo) Description copied from interface:VulkanExtKHRSwapChainTypeQueue images for presentation.- Specified by:
queuePresentin interfaceVulkanExtKHRSwapChainType- Parameters:
queue- The presentation queuepresentInfo- The presentation info- Returns:
- The present result
- See Also:
-