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

main.java.graphics.scenery.spirvcrossj.SpvVersion 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 SpvVersion {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

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

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

  protected void finalize() {
    delete();
  }

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

  public SpvVersion() {
    this(libspirvcrossjJNI.new_SpvVersion(), true);
  }

  public void setSpv(long value) {
    libspirvcrossjJNI.SpvVersion_spv_set(swigCPtr, this, value);
  }

  public long getSpv() {
    return libspirvcrossjJNI.SpvVersion_spv_get(swigCPtr, this);
  }

  public void setVulkan(int value) {
    libspirvcrossjJNI.SpvVersion_vulkan_set(swigCPtr, this, value);
  }

  public int getVulkan() {
    return libspirvcrossjJNI.SpvVersion_vulkan_get(swigCPtr, this);
  }

  public void setOpenGl(int value) {
    libspirvcrossjJNI.SpvVersion_openGl_set(swigCPtr, this, value);
  }

  public int getOpenGl() {
    return libspirvcrossjJNI.SpvVersion_openGl_get(swigCPtr, this);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy