Class VulkanLWJGLEXTLayerSettingsHandler
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLEXTLayerSettingsHandler
- All Implemented Interfaces:
VulkanLWJGLInstanceExtensionInfoHandlerType
public final class VulkanLWJGLEXTLayerSettingsHandler
extends Object
implements VulkanLWJGLInstanceExtensionInfoHandlerType
A handler for the layer settings extension.
-
Constructor Summary
ConstructorDescriptionA handler for the layer settings extension. -
Method Summary
Modifier and TypeMethodDescriptionboolean
supports
(Class<? extends VulkanInstanceExtensionInfoType> clazz) Whether this handler supports extension info of the given type.long
transform
(org.lwjgl.system.MemoryStack stack, VulkanInstanceExtensionInfoType info, long next) Transform the given info to native structures.
-
Constructor Details
-
VulkanLWJGLEXTLayerSettingsHandler
public VulkanLWJGLEXTLayerSettingsHandler()A handler for the layer settings extension.
-
-
Method Details
-
supports
Description copied from interface:VulkanLWJGLInstanceExtensionInfoHandlerType
Whether this handler supports extension info of the given type.- Specified by:
supports
in interfaceVulkanLWJGLInstanceExtensionInfoHandlerType
- Parameters:
clazz
- The type- Returns:
true
if this handler supports info of the given type
-
transform
public long transform(org.lwjgl.system.MemoryStack stack, VulkanInstanceExtensionInfoType info, long next) throws VulkanException Description copied from interface:VulkanLWJGLInstanceExtensionInfoHandlerType
Transform the given info to native structures.- Specified by:
transform
in interfaceVulkanLWJGLInstanceExtensionInfoHandlerType
- Parameters:
stack
- The memory stackinfo
- The infonext
- The next pointer- Returns:
- The transformed data
- Throws:
VulkanException
- On errors
-