Example #1
0
  interface Resources extends DefaultResources {
    Resources INSTANCE = ClassUtils.newProxyInstance(Resources.class);

    @Source("shaders/water.vs")
    SourceTextResource getVertexShader();

    @Source("shaders/water.fs")
    SourceTextResource getFragmentShader();
  }
  interface Resources extends Shader.DefaultResources {
    Resources INSTANCE = ClassUtils.newProxyInstance(Resources.class);

    @Source("../../resources/shaders/skydome.vs")
    SourceTextResource getVertexShader();

    @Source("../../resources/shaders/skydome.fs")
    SourceTextResource getFragmentShader();
  }