main.java.graphics.scenery.spirvcrossj.TUniformMap 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 TUniformMap extends TShHandleBase {
private transient long swigCPtr;
protected TUniformMap(long cPtr, boolean cMemoryOwn) {
super(libspirvcrossjJNI.TUniformMap_SWIGUpcast(cPtr), cMemoryOwn);
swigCPtr = cPtr;
}
protected static long getCPtr(TUniformMap obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
libspirvcrossjJNI.delete_TUniformMap(swigCPtr);
}
swigCPtr = 0;
}
super.delete();
}
public TUniformMap getAsUniformMap() {
long cPtr = libspirvcrossjJNI.TUniformMap_getAsUniformMap(swigCPtr, this);
return (cPtr == 0) ? null : new TUniformMap(cPtr, false);
}
public int getLocation(String name) {
return libspirvcrossjJNI.TUniformMap_getLocation(swigCPtr, this, name);
}
public SWIGTYPE_p_TInfoSink getInfoSink() {
return new SWIGTYPE_p_TInfoSink(libspirvcrossjJNI.TUniformMap_getInfoSink(swigCPtr, this), false);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy