main.java.graphics.scenery.spirvcrossj.MSLResourceBinding 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 MSLResourceBinding {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected MSLResourceBinding(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(MSLResourceBinding obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libspirvcrossjJNI.delete_MSLResourceBinding(swigCPtr);
}
swigCPtr = 0;
}
}
public void setStage(int value) {
libspirvcrossjJNI.MSLResourceBinding_stage_set(swigCPtr, this, value);
}
public int getStage() {
return libspirvcrossjJNI.MSLResourceBinding_stage_get(swigCPtr, this);
}
public void setDescSet(long value) {
libspirvcrossjJNI.MSLResourceBinding_descSet_set(swigCPtr, this, value);
}
public long getDescSet() {
return libspirvcrossjJNI.MSLResourceBinding_descSet_get(swigCPtr, this);
}
public void setBinding(long value) {
libspirvcrossjJNI.MSLResourceBinding_binding_set(swigCPtr, this, value);
}
public long getBinding() {
return libspirvcrossjJNI.MSLResourceBinding_binding_get(swigCPtr, this);
}
public void setMslBuffer(long value) {
libspirvcrossjJNI.MSLResourceBinding_mslBuffer_set(swigCPtr, this, value);
}
public long getMslBuffer() {
return libspirvcrossjJNI.MSLResourceBinding_mslBuffer_get(swigCPtr, this);
}
public void setMslTexture(long value) {
libspirvcrossjJNI.MSLResourceBinding_mslTexture_set(swigCPtr, this, value);
}
public long getMslTexture() {
return libspirvcrossjJNI.MSLResourceBinding_mslTexture_get(swigCPtr, this);
}
public void setMslSampler(long value) {
libspirvcrossjJNI.MSLResourceBinding_mslSampler_set(swigCPtr, this, value);
}
public long getMslSampler() {
return libspirvcrossjJNI.MSLResourceBinding_mslSampler_get(swigCPtr, this);
}
public void setUsedByShader(boolean value) {
libspirvcrossjJNI.MSLResourceBinding_usedByShader_set(swigCPtr, this, value);
}
public boolean getUsedByShader() {
return libspirvcrossjJNI.MSLResourceBinding_usedByShader_get(swigCPtr, this);
}
public MSLResourceBinding() {
this(libspirvcrossjJNI.new_MSLResourceBinding(), true);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy