Package vazkii.botania.api.boss

Examples of vazkii.botania.api.boss.IBotaniaBossWithShader


  }
 
  public static void drawBar(int x, int y, int u, int v, int w, int h, boolean bg) {
    boolean useShader = currentBoss instanceof IBotaniaBossWithShader;
    if(useShader) {
      IBotaniaBossWithShader shader = (IBotaniaBossWithShader) currentBoss;
      int program = shader.getBossBarShaderProgram(bg);
      ShaderCallback callback = program == 0 ? null : shader.getBossBarShaderCallback(bg, program);
      barUniformCallback.set(u, v, callback);
     
      ShaderHelper.useShader(program, barUniformCallback);
    }
   
View Full Code Here

TOP

Related Classes of vazkii.botania.api.boss.IBotaniaBossWithShader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.