main.java.graphics.scenery.spirvcrossj.Resource 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 Resource {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Resource(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Resource obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libspirvcrossjJNI.delete_Resource(swigCPtr);
}
swigCPtr = 0;
}
}
public void setId(long value) {
libspirvcrossjJNI.Resource_id_set(swigCPtr, this, value);
}
public long getId() {
return libspirvcrossjJNI.Resource_id_get(swigCPtr, this);
}
public void setTypeId(long value) {
libspirvcrossjJNI.Resource_typeId_set(swigCPtr, this, value);
}
public long getTypeId() {
return libspirvcrossjJNI.Resource_typeId_get(swigCPtr, this);
}
public void setBaseTypeId(long value) {
libspirvcrossjJNI.Resource_baseTypeId_set(swigCPtr, this, value);
}
public long getBaseTypeId() {
return libspirvcrossjJNI.Resource_baseTypeId_get(swigCPtr, this);
}
public void setName(String value) {
libspirvcrossjJNI.Resource_name_set(swigCPtr, this, value);
}
public String getName() {
return libspirvcrossjJNI.Resource_name_get(swigCPtr, this);
}
public Resource() {
this(libspirvcrossjJNI.new_Resource(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy