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