io.qt.gui.rhi.QRhiVertexInputLayout Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui.rhi;
import io.qt.*;
/**
* Describes the layout of vertex inputs consumed by a vertex shader
* Java wrapper for Qt class QRhiVertexInputLayout
*/
public class QRhiVertexInputLayout extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRhiVertexInputLayout:: QRhiVertexInputLayout()
*/
public QRhiVertexInputLayout(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRhiVertexInputLayout instance);
/**
* See QRhiVertexInputLayout:: QRhiVertexInputLayout(QRhiVertexInputLayout)
*/
public QRhiVertexInputLayout(io.qt.gui.rhi.@StrictNonNull QRhiVertexInputLayout other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QRhiVertexInputLayout instance, io.qt.gui.rhi.QRhiVertexInputLayout other);
/**
* See QRhiVertexInputLayout:: attributeAt(qsizetype)const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiVertexInputAttribute attributeAt(long index){
return attributeAt_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiVertexInputAttribute attributeAt_native_qsizetype_constfct(long __this__nativeId, long index);
/**
* See QRhiVertexInputLayout:: attributeCount()const
*/
@QtUninvokable
public final long attributeCount(){
return attributeCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long attributeCount_native_constfct(long __this__nativeId);
/**
* See QRhiVertexInputLayout:: bindingAt(qsizetype)const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiVertexInputBinding bindingAt(long index){
return bindingAt_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiVertexInputBinding bindingAt_native_qsizetype_constfct(long __this__nativeId, long index);
/**
* See QRhiVertexInputLayout:: bindingCount()const
*/
@QtUninvokable
public final long bindingCount(){
return bindingCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long bindingCount_native_constfct(long __this__nativeId);
/**
* See operator==(QRhiVertexInputLayout, QRhiVertexInputLayout)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.@StrictNonNull QRhiVertexInputLayout b){
java.util.Objects.requireNonNull(b, "Argument 'b': null not expected.");
return equals_native_cref_QRhiVertexInputLayout(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(b));
}
@QtUninvokable
private native boolean equals_native_cref_QRhiVertexInputLayout(long __this__nativeId, long b);
/**
* See QRhiVertexInputLayout:: setAttributes(std::initializer_list<QRhiVertexInputAttribute>)
*/
@QtUninvokable
public final void setAttributes(io.qt.gui.rhi.@NonNull QRhiVertexInputAttribute@NonNull ... list){
setAttributes_native_std_initializer_list(QtJambi_LibraryUtilities.internal.nativeId(this), list);
}
@QtUninvokable
private native void setAttributes_native_std_initializer_list(long __this__nativeId, io.qt.gui.rhi.QRhiVertexInputAttribute[] list);
/**
* See QRhiVertexInputLayout:: setBindings(std::initializer_list<QRhiVertexInputBinding>)
*/
@QtUninvokable
public final void setBindings(io.qt.gui.rhi.@NonNull QRhiVertexInputBinding@NonNull ... list){
setBindings_native_std_initializer_list(QtJambi_LibraryUtilities.internal.nativeId(this), list);
}
@QtUninvokable
private native void setBindings_native_std_initializer_list(long __this__nativeId, io.qt.gui.rhi.QRhiVertexInputBinding[] list);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiVertexInputLayout(QPrivateConstructor p) { super(p); }
/**
* See operator==(QRhiVertexInputLayout, QRhiVertexInputLayout)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QRhiVertexInputLayout) {
return equals((io.qt.gui.rhi.QRhiVertexInputLayout) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QRhiVertexInputLayout)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QRhiVertexInputLayout)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QRhiVertexInputLayout:: QRhiVertexInputLayout(QRhiVertexInputLayout)
*/
@QtUninvokable
@Override
public QRhiVertexInputLayout clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QRhiVertexInputLayout clone_native(long __this_nativeId);
}