Class CurvedSpacetimeRenderGLFWModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
java.lang.Object
io.codetoil.curved_spacetime.render.vulkan_glfw.CurvedSpacetimeRenderGLFWModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
- All Implemented Interfaces:
ModuleDependentModuleInitializer<CurvedSpacetimeRenderGLFWModuleEntrypoint>, CurvedSpacetimeRenderGLFWModuleDependentModuleInitializer
public class CurvedSpacetimeRenderGLFWModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
extends Object
implements CurvedSpacetimeRenderGLFWModuleDependentModuleInitializer
Delivers the GLFW render module's entrypoint to the Vulkan GLFW render module.
Registered by the Vulkan GLFW render module under curved_spacetime_render_glfw_module_dependent. The GLFW
render module invokes this during its own initialization; it locates the Vulkan GLFW render module's main entrypoint
through the loader and transfers the GLFW render 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(CurvedSpacetimeRenderGLFWModuleEntrypoint glfwRenderModuleEntrypoint, Engine engine) Runs the mod initializer.
-
Constructor Details
-
CurvedSpacetimeRenderGLFWModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
public CurvedSpacetimeRenderGLFWModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint()Creates the dependent entrypoint.Called by the loader; it holds no state of its own.
-
-
Method Details
-
onInitialize
public void onInitialize(CurvedSpacetimeRenderGLFWModuleEntrypoint glfwRenderModuleEntrypoint, Engine engine) Description copied from interface:CurvedSpacetimeRenderGLFWModuleDependentModuleInitializerRuns the mod initializer.- Specified by:
onInitializein interfaceCurvedSpacetimeRenderGLFWModuleDependentModuleInitializer- Specified by:
onInitializein interfaceModuleDependentModuleInitializer<CurvedSpacetimeRenderGLFWModuleEntrypoint>- Parameters:
glfwRenderModuleEntrypoint- the entrypoint of the module being depended onengine- the engine driving initialization
-