Class CurvedSpacetimeVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
java.lang.Object
io.codetoil.curved_spacetime.render.vulkan_glfw.CurvedSpacetimeVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
- All Implemented Interfaces:
ModuleDependentModuleInitializer<CurvedSpacetimeVulkanModuleEntrypoint>, CurvedSpacetimeVulkanModuleDependentModuleInitializer
public class CurvedSpacetimeVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
extends Object
implements CurvedSpacetimeVulkanModuleDependentModuleInitializer
Delivers the Vulkan module's entrypoint to the Vulkan GLFW render module.
Registered by the Vulkan GLFW render module under curved_spacetime_vulkan_module_dependent. The Vulkan module
invokes this during its own initialization; it locates the Vulkan GLFW render module's main entrypoint through the
loader and transfers the Vulkan entrypoint into that module's dependency queue, where the Vulkan GLFW render module
is blocked waiting for it.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the dependent entrypoint. -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitialize(CurvedSpacetimeVulkanModuleEntrypoint vulkanModuleEntrypoint, Engine engine) Receives the Vulkan module's entrypoint.
-
Constructor Details
-
CurvedSpacetimeVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
public CurvedSpacetimeVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint()Creates the dependent entrypoint.Called by the loader; it holds no state of its own.
-
-
Method Details
-
onInitialize
public void onInitialize(CurvedSpacetimeVulkanModuleEntrypoint vulkanModuleEntrypoint, Engine engine) Description copied from interface:CurvedSpacetimeVulkanModuleDependentModuleInitializerReceives the Vulkan module's entrypoint.Called on the Vulkan module's initialization thread, not the receiving module's.
- Specified by:
onInitializein interfaceCurvedSpacetimeVulkanModuleDependentModuleInitializer- Specified by:
onInitializein interfaceModuleDependentModuleInitializer<CurvedSpacetimeVulkanModuleEntrypoint>- Parameters:
vulkanModuleEntrypoint- the Vulkan module's main entrypointengine- the engine driving initialization
-