io.qt.qt3d.render.QTextureData Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled
* Java wrapper for Qt class Qt3DRender::QTextureData
*/
public class QTextureData extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See Qt3DRender::QTextureData:: QTextureData()
*/
public QTextureData(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QTextureData instance);
/**
* See Qt3DRender::QTextureData:: QTextureData(Qt3DRender::QTextureData)
* @param other
*/
public QTextureData(io.qt.qt3d.render.@StrictNonNull QTextureData other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QTextureData instance, io.qt.qt3d.render.QTextureData other);
/**
* See Qt3DRender::QTextureData:: addImageData(Qt3DRender::QTextureImageDataPtr)
* @param imageData
*/
@QtUninvokable
public final void addImageData(io.qt.qt3d.render.@Nullable QTextureImageData imageData){
addImageData_native_cref_QSharedPointer(QtJambi_LibraryUtilities.internal.nativeId(this), imageData);
}
@QtUninvokable
private native void addImageData_native_cref_QSharedPointer(long __this__nativeId, io.qt.qt3d.render.QTextureImageData imageData);
/**
* See Qt3DRender::QTextureData:: comparisonFunction()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull ComparisonFunction comparisonFunction(){
return io.qt.qt3d.render.QAbstractTexture.ComparisonFunction.resolve(comparisonFunction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int comparisonFunction_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: comparisonMode()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull ComparisonMode comparisonMode(){
return io.qt.qt3d.render.QAbstractTexture.ComparisonMode.resolve(comparisonMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int comparisonMode_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: depth()const
* @return
*/
@QtUninvokable
public final int depth(){
return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int depth_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: format()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull TextureFormat format(){
return io.qt.qt3d.render.QAbstractTexture.TextureFormat.resolve(format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int format_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: height()const
* @return
*/
@QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: imageData()const
* @return
*/
@QtUninvokable
public final io.qt.core.@NonNull QList imageData(){
return imageData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList imageData_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: isAutoMipMapGenerationEnabled()const
* @return
*/
@QtUninvokable
public final boolean isAutoMipMapGenerationEnabled(){
return isAutoMipMapGenerationEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAutoMipMapGenerationEnabled_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: layers()const
* @return
*/
@QtUninvokable
public final int layers(){
return layers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int layers_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: magnificationFilter()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull Filter magnificationFilter(){
return io.qt.qt3d.render.QAbstractTexture.Filter.resolve(magnificationFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int magnificationFilter_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: maximumAnisotropy()const
* @return
*/
@QtUninvokable
public final float maximumAnisotropy(){
return maximumAnisotropy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float maximumAnisotropy_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: minificationFilter()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull Filter minificationFilter(){
return io.qt.qt3d.render.QAbstractTexture.Filter.resolve(minificationFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int minificationFilter_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: setAutoMipMapGenerationEnabled(bool)
* @param isAutoMipMapGenerationEnabled
*/
@QtUninvokable
public final void setAutoMipMapGenerationEnabled(boolean isAutoMipMapGenerationEnabled){
setAutoMipMapGenerationEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), isAutoMipMapGenerationEnabled);
}
@QtUninvokable
private native void setAutoMipMapGenerationEnabled_native_bool(long __this__nativeId, boolean isAutoMipMapGenerationEnabled);
/**
* See Qt3DRender::QTextureData:: setComparisonFunction(Qt3DRender::QAbstractTexture::ComparisonFunction)
* @param comparisonFunction
*/
@QtUninvokable
public final void setComparisonFunction(io.qt.qt3d.render.QAbstractTexture.@NonNull ComparisonFunction comparisonFunction){
setComparisonFunction_native_Qt3DRender_QAbstractTexture_ComparisonFunction(QtJambi_LibraryUtilities.internal.nativeId(this), comparisonFunction.value());
}
@QtUninvokable
private native void setComparisonFunction_native_Qt3DRender_QAbstractTexture_ComparisonFunction(long __this__nativeId, int comparisonFunction);
/**
* See Qt3DRender::QTextureData:: setComparisonMode(Qt3DRender::QAbstractTexture::ComparisonMode)
* @param comparisonMode
*/
@QtUninvokable
public final void setComparisonMode(io.qt.qt3d.render.QAbstractTexture.@NonNull ComparisonMode comparisonMode){
setComparisonMode_native_Qt3DRender_QAbstractTexture_ComparisonMode(QtJambi_LibraryUtilities.internal.nativeId(this), comparisonMode.value());
}
@QtUninvokable
private native void setComparisonMode_native_Qt3DRender_QAbstractTexture_ComparisonMode(long __this__nativeId, int comparisonMode);
/**
* See Qt3DRender::QTextureData:: setDepth(int)
* @param depth
*/
@QtUninvokable
public final void setDepth(int depth){
setDepth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), depth);
}
@QtUninvokable
private native void setDepth_native_int(long __this__nativeId, int depth);
/**
* See Qt3DRender::QTextureData:: setFormat(Qt3DRender::QAbstractTexture::TextureFormat)
* @param arg__1
*/
@QtUninvokable
public final void setFormat(io.qt.qt3d.render.QAbstractTexture.@NonNull TextureFormat arg__1){
setFormat_native_Qt3DRender_QAbstractTexture_TextureFormat(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@QtUninvokable
private native void setFormat_native_Qt3DRender_QAbstractTexture_TextureFormat(long __this__nativeId, int arg__1);
/**
* See Qt3DRender::QTextureData:: setHeight(int)
* @param height
*/
@QtUninvokable
public final void setHeight(int height){
setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), height);
}
@QtUninvokable
private native void setHeight_native_int(long __this__nativeId, int height);
/**
* See Qt3DRender::QTextureData:: setLayers(int)
* @param layers
*/
@QtUninvokable
public final void setLayers(int layers){
setLayers_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), layers);
}
@QtUninvokable
private native void setLayers_native_int(long __this__nativeId, int layers);
/**
* See Qt3DRender::QTextureData:: setMagnificationFilter(Qt3DRender::QAbstractTexture::Filter)
* @param filter
*/
@QtUninvokable
public final void setMagnificationFilter(io.qt.qt3d.render.QAbstractTexture.@NonNull Filter filter){
setMagnificationFilter_native_Qt3DRender_QAbstractTexture_Filter(QtJambi_LibraryUtilities.internal.nativeId(this), filter.value());
}
@QtUninvokable
private native void setMagnificationFilter_native_Qt3DRender_QAbstractTexture_Filter(long __this__nativeId, int filter);
/**
* See Qt3DRender::QTextureData:: setMaximumAnisotropy(float)
* @param maximumAnisotropy
*/
@QtUninvokable
public final void setMaximumAnisotropy(float maximumAnisotropy){
setMaximumAnisotropy_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), maximumAnisotropy);
}
@QtUninvokable
private native void setMaximumAnisotropy_native_float(long __this__nativeId, float maximumAnisotropy);
/**
* See Qt3DRender::QTextureData:: setMinificationFilter(Qt3DRender::QAbstractTexture::Filter)
* @param filter
*/
@QtUninvokable
public final void setMinificationFilter(io.qt.qt3d.render.QAbstractTexture.@NonNull Filter filter){
setMinificationFilter_native_Qt3DRender_QAbstractTexture_Filter(QtJambi_LibraryUtilities.internal.nativeId(this), filter.value());
}
@QtUninvokable
private native void setMinificationFilter_native_Qt3DRender_QAbstractTexture_Filter(long __this__nativeId, int filter);
/**
* See Qt3DRender::QTextureData:: setTarget(Qt3DRender::QAbstractTexture::Target)
* @param target
*/
@QtUninvokable
public final void setTarget(io.qt.qt3d.render.QAbstractTexture.@NonNull Target target){
setTarget_native_Qt3DRender_QAbstractTexture_Target(QtJambi_LibraryUtilities.internal.nativeId(this), target.value());
}
@QtUninvokable
private native void setTarget_native_Qt3DRender_QAbstractTexture_Target(long __this__nativeId, int target);
/**
* See Qt3DRender::QTextureData:: setWidth(int)
* @param width
*/
@QtUninvokable
public final void setWidth(int width){
setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
@QtUninvokable
private native void setWidth_native_int(long __this__nativeId, int width);
/**
* See Qt3DRender::QTextureData:: setWrapModeX(Qt3DRender::QTextureWrapMode::WrapMode)
* @param wrapModeX
*/
@QtUninvokable
public final void setWrapModeX(io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeX){
setWrapModeX_native_Qt3DRender_QTextureWrapMode_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), wrapModeX.value());
}
@QtUninvokable
private native void setWrapModeX_native_Qt3DRender_QTextureWrapMode_WrapMode(long __this__nativeId, int wrapModeX);
/**
* See Qt3DRender::QTextureData:: setWrapModeY(Qt3DRender::QTextureWrapMode::WrapMode)
* @param wrapModeY
*/
@QtUninvokable
public final void setWrapModeY(io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeY){
setWrapModeY_native_Qt3DRender_QTextureWrapMode_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), wrapModeY.value());
}
@QtUninvokable
private native void setWrapModeY_native_Qt3DRender_QTextureWrapMode_WrapMode(long __this__nativeId, int wrapModeY);
/**
* See Qt3DRender::QTextureData:: setWrapModeZ(Qt3DRender::QTextureWrapMode::WrapMode)
* @param wrapModeZ
*/
@QtUninvokable
public final void setWrapModeZ(io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeZ){
setWrapModeZ_native_Qt3DRender_QTextureWrapMode_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), wrapModeZ.value());
}
@QtUninvokable
private native void setWrapModeZ_native_Qt3DRender_QTextureWrapMode_WrapMode(long __this__nativeId, int wrapModeZ);
/**
* See Qt3DRender::QTextureData:: target()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QAbstractTexture.@NonNull Target target(){
return io.qt.qt3d.render.QAbstractTexture.Target.resolve(target_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int target_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: width()const
* @return
*/
@QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: wrapModeX()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeX(){
return io.qt.qt3d.render.QTextureWrapMode.WrapMode.resolve(wrapModeX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int wrapModeX_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: wrapModeY()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeY(){
return io.qt.qt3d.render.QTextureWrapMode.WrapMode.resolve(wrapModeY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int wrapModeY_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QTextureData:: wrapModeZ()const
* @return
*/
@QtUninvokable
public final io.qt.qt3d.render.QTextureWrapMode.@NonNull WrapMode wrapModeZ(){
return io.qt.qt3d.render.QTextureWrapMode.WrapMode.resolve(wrapModeZ_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int wrapModeZ_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QTextureData(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See Qt3DRender::QTextureData:: QTextureData(Qt3DRender::QTextureData)
*/
@QtUninvokable
@Override
public QTextureData clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QTextureData clone_native(long __this_nativeId);
}