main.java.graphics.scenery.spirvcrossj.BufferRange Maven / Gradle / Ivy
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.9
*
* 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 BufferRange {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected BufferRange(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(BufferRange obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libspirvcrossjJNI.delete_BufferRange(swigCPtr);
}
swigCPtr = 0;
}
}
public void setIndex(long value) {
libspirvcrossjJNI.BufferRange_index_set(swigCPtr, this, value);
}
public long getIndex() {
return libspirvcrossjJNI.BufferRange_index_get(swigCPtr, this);
}
public void setOffset(long value) {
libspirvcrossjJNI.BufferRange_offset_set(swigCPtr, this, value);
}
public long getOffset() {
return libspirvcrossjJNI.BufferRange_offset_get(swigCPtr, this);
}
public void setRange(long value) {
libspirvcrossjJNI.BufferRange_range_set(swigCPtr, this, value);
}
public long getRange() {
return libspirvcrossjJNI.BufferRange_range_get(swigCPtr, this);
}
public BufferRange() {
this(libspirvcrossjJNI.new_BufferRange(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy