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