Examples of GLParam


Examples of com.badlogic.jglfw.generators.GLParser.GLParam

    buffer.append("\t*/\n\n");
  }

  private void generateCParams (StringBuffer buffer, GLProcedure proc, ProcedureType type) {
    for(int i = 0; i < proc.params.size(); i++) {
      GLParam param = proc.params.get(i);
      if(param.type.ptrCount > 0) {
        if(type == ProcedureType.Default) {
          buffer.append("(" + param.type.getCType() + ")(" + param.name + " + " + param.name + "ByteOffset)");
        }
        if(type == ProcedureType.LongPointerParams) {
View Full Code Here

Examples of com.badlogic.jglfw.generators.GLParser.GLParam

    }
  }

  private void generateJavaParams (StringBuffer buffer, GLProcedure proc, ProcedureType type) {
    for(int i = 0; i < proc.params.size(); i++) {
      GLParam param = proc.params.get(i);
      if(param.type.ptrCount > 0) {
        if(type == ProcedureType.Default) {
          buffer.append("Buffer " + param.name + ", int " + param.name + "ByteOffset");
        }
        if(type == ProcedureType.LongPointerParams) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.