Class VulkanInstance
java.lang.Object
com.mojang.renderpearl.backend.vulkan.VulkanInstance
- All Implemented Interfaces:
UncheckedAutoCloseable, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final intprivate final VulkanDebugprivate static final Stringprivate static final intprivate static final org.slf4j.Loggerprivate final org.lwjgl.vulkan.VkInstance -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVulkanInstance(int debugVerbosity, boolean wantsDebugLabels, boolean validation) -
Method Summary
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
APPLICATION_NAME
- See Also:
-
APPLICATION_VERSION
private static final int APPLICATION_VERSION -
ENGINE_NAME
- See Also:
-
ENGINE_VERSION
private static final int ENGINE_VERSION- See Also:
-
enabledExtensions
-
vkInstance
private final org.lwjgl.vulkan.VkInstance vkInstance -
debug
-
-
Constructor Details
-
VulkanInstance
protected VulkanInstance(int debugVerbosity, boolean wantsDebugLabels, boolean validation) throws BackendCreationException - Throws:
BackendCreationException
-
-
Method Details
-
vkInstance
public org.lwjgl.vulkan.VkInstance vkInstance() -
getSupportedInstanceExtensions
- Throws:
BackendCreationException
-
getSupportedValidationLayers
- Throws:
BackendCreationException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceUncheckedAutoCloseable
-
getEnabledExtensions
-
debug
-