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

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

    @Source("shaders/water.fs")
    SourceTextResource getFragmentShader();
  }
示例#2
0
  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();
  }