Class CurvedSpacetimeRenderVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
java.lang.Object
io.codetoil.curved_spacetime.render.vulkan_glfw.CurvedSpacetimeRenderVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
- All Implemented Interfaces:
ModuleDependentModuleInitializer<CurvedSpacetimeRenderVulkanModuleEntrypoint>, CurvedSpacetimeRenderVulkanModuleDependentModuleInitializer
public class CurvedSpacetimeRenderVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
extends Object
implements CurvedSpacetimeRenderVulkanModuleDependentModuleInitializer
Delivers the Vulkan render module's entrypoint to the Vulkan GLFW render module.
Registered by the Vulkan GLFW render module under curved_spacetime_render_vulkan_module_dependent. The Vulkan
render module invokes this during its own initialization; it locates the Vulkan GLFW module's main entrypoint through
the loader and transfers the Vulkan render entrypoint into that module's dependency queue, where the Vulkan GLFW
module is blocked waiting for it.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the dependent entrypoint. -
Method Summary
Modifier and TypeMethodDescriptionvoidonInitialize(CurvedSpacetimeRenderVulkanModuleEntrypoint vulkanRenderModuleEntrypoint, Engine engine) Runs the mod initializer.
-
Constructor Details
-
CurvedSpacetimeRenderVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint
public CurvedSpacetimeRenderVulkanModuleDependentCurvedSpacetimeRenderVulkanGLFWModuleEntrypoint()Creates the dependent entrypoint.Called by the loader; it holds no state of its own.
-
-
Method Details
-
onInitialize
public void onInitialize(CurvedSpacetimeRenderVulkanModuleEntrypoint vulkanRenderModuleEntrypoint, Engine engine) Description copied from interface:CurvedSpacetimeRenderVulkanModuleDependentModuleInitializerRuns the mod initializer.- Specified by:
onInitializein interfaceCurvedSpacetimeRenderVulkanModuleDependentModuleInitializer- Specified by:
onInitializein interfaceModuleDependentModuleInitializer<CurvedSpacetimeRenderVulkanModuleEntrypoint>- Parameters:
vulkanRenderModuleEntrypoint- the entrypoint of the module being depended onengine- the engine driving initialization
-