All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphics.scenery.spirvcrossj.TIoMapResolver Maven / Gradle / Ivy

There is a newer version: 0.8.0-1.1.106.0
Show newest version
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 3.0.12
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package graphics.scenery.spirvcrossj;

public class TIoMapResolver {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

  protected TIoMapResolver(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(TIoMapResolver obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  protected void finalize() {
    delete();
  }

  public synchronized void delete() {
    if (swigCPtr != 0) {
      if (swigCMemOwn) {
        swigCMemOwn = false;
        libspirvcrossjJNI.delete_TIoMapResolver(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public boolean validateBinding(int stage, String name, SWIGTYPE_p_glslang__TType type, boolean is_live) {
    return libspirvcrossjJNI.TIoMapResolver_validateBinding(swigCPtr, this, stage, name, SWIGTYPE_p_glslang__TType.getCPtr(type), is_live);
  }

  public int resolveBinding(int stage, String name, SWIGTYPE_p_glslang__TType type, boolean is_live) {
    return libspirvcrossjJNI.TIoMapResolver_resolveBinding(swigCPtr, this, stage, name, SWIGTYPE_p_glslang__TType.getCPtr(type), is_live);
  }

  public int resolveSet(int stage, String name, SWIGTYPE_p_glslang__TType type, boolean is_live) {
    return libspirvcrossjJNI.TIoMapResolver_resolveSet(swigCPtr, this, stage, name, SWIGTYPE_p_glslang__TType.getCPtr(type), is_live);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy