
com.nativelibs4java.opencl.library.cl_image_format Maven / Gradle / Ivy
package com.nativelibs4java.opencl.library;
import com.ochafik.lang.jnaerator.runtime.Structure;
/**
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA.
*/
public class cl_image_format extends Structure {
/// C type : cl_channel_order
public int image_channel_order;
/// C type : cl_channel_type
public int image_channel_data_type;
public cl_image_format() {
super();
}
/**
* @param image_channel_order C type : cl_channel_order
* @param image_channel_data_type C type : cl_channel_type
*/
public cl_image_format(int image_channel_order, int image_channel_data_type) {
super();
this.image_channel_order = image_channel_order;
this.image_channel_data_type = image_channel_data_type;
}
protected ByReference newByReference() { return new ByReference(); }
protected ByValue newByValue() { return new ByValue(); }
protected cl_image_format newInstance() { return new cl_image_format(); }
public static cl_image_format[] newArray(int arrayLength) {
return Structure.newArray(cl_image_format.class, arrayLength);
}
public static class ByReference extends cl_image_format implements Structure.ByReference {
};
public static class ByValue extends cl_image_format implements Structure.ByValue {
};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy