Package icyllis.arc3d.compiler

# Class ModuleLoader

java.lang.Object
icyllis.arc3d.compiler.ModuleLoader

public class ModuleLoader extends Object
Thread-safe class that loads shader modules.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BuiltinTypes`
  `getBuiltinTypes()`
  `static ModuleLoader`
  `getInstance()`
  `ModuleUnit`
  `getRootModule()`
  `ModuleUnit`
  `loadCommonModule(ShaderCompiler compiler)`
  `ModuleUnit`
  `loadGLSLFragModule(ShaderCompiler compiler)`
  `ModuleUnit`
  `loadGLSLVertModule(ShaderCompiler compiler)`
  `String`
  `loadModuleSource(String name)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getInstance

    public static ModuleLoader getInstance()

  - ### getBuiltinTypes

    public BuiltinTypes getBuiltinTypes()

  - ### getRootModule

    public ModuleUnit getRootModule()

  - ### loadModuleSource

    @Nonnull public String loadModuleSource(String name)

  - ### loadCommonModule

    @Nonnull public ModuleUnit loadCommonModule(ShaderCompiler compiler)

  - ### loadGLSLVertModule

    @Nonnull public ModuleUnit loadGLSLVertModule(ShaderCompiler compiler)

  - ### loadGLSLFragModule

    @Nonnull public ModuleUnit loadGLSLFragModule(ShaderCompiler compiler)