main.java.graphics.scenery.spirvcrossj.SpecializationConstant Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spirvcrossj Show documentation
Show all versions of spirvcrossj Show documentation
Java bindings for Khronos' SPIRV-Cross
/* ----------------------------------------------------------------------------
* 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 SpecializationConstant {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected SpecializationConstant(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(SpecializationConstant obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libspirvcrossjJNI.delete_SpecializationConstant(swigCPtr);
}
swigCPtr = 0;
}
}
public void setId(long value) {
libspirvcrossjJNI.SpecializationConstant_id_set(swigCPtr, this, value);
}
public long getId() {
return libspirvcrossjJNI.SpecializationConstant_id_get(swigCPtr, this);
}
public void setConstantId(long value) {
libspirvcrossjJNI.SpecializationConstant_constantId_set(swigCPtr, this, value);
}
public long getConstantId() {
return libspirvcrossjJNI.SpecializationConstant_constantId_get(swigCPtr, this);
}
public SpecializationConstant() {
this(libspirvcrossjJNI.new_SpecializationConstant(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy