io.qt.gui.rhi.QRhiCommandBuffer Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui.rhi;
import io.qt.*;
/**
* Command buffer resource
* Java wrapper for Qt class QRhiCommandBuffer
* This class was introduced in Qt 6.6.
*/
public abstract class QRhiCommandBuffer extends io.qt.gui.rhi.QRhiResource
{
@QtPropertyMember(enabled=false)
private Object __rcComputePipeline = null;
@QtPropertyMember(enabled=false)
private Object __rcGraphicsPipeline = null;
@NativeAccess
private static final class ConcreteWrapper extends QRhiCommandBuffer {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public void destroy(){
destroy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void destroy_native(long __this__nativeId);
}
/**
* Java wrapper for Qt enum QRhiCommandBuffer::BeginPassFlag
*
* @see BeginPassFlags
*/
public enum BeginPassFlag implements QtFlagEnumerator {
/**
* Representing QRhiCommandBuffer:: ExternalContent
*/
ExternalContent(1),
/**
* Representing QRhiCommandBuffer:: DoNotTrackResourcesForCompute
*/
DoNotTrackResourcesForCompute(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private BeginPassFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
public @NonNull BeginPassFlags asFlags() {
return new BeginPassFlags(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull BeginPassFlags combined(@NonNull BeginPassFlag e) {
return asFlags().setFlag(e, true);
}
/**
* Excludes other enum entry from a flag of this entry.
* @param e enum entry
* @return new flag
*/
public @NonNull BeginPassFlags cleared(@NonNull BeginPassFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link BeginPassFlags} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull BeginPassFlags flags(@Nullable BeginPassFlag @NonNull... values) {
return new BeginPassFlags(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull BeginPassFlag resolve(int value) {
switch (value) {
case 1: return ExternalContent;
case 2: return DoNotTrackResourcesForCompute;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link BeginPassFlag}
*/
public static final class BeginPassFlags extends QFlags implements Comparable {
private static final long serialVersionUID = 0x8a6eb2669d7fe315L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new BeginPassFlags where the flags in args
are set.
* @param args enum entries
*/
public BeginPassFlags(@Nullable BeginPassFlag @NonNull... args){
super(args);
}
/**
* Creates a new BeginPassFlags with given value
.
* @param value
*/
public BeginPassFlags(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new BeginPassFlags
*/
@Override
public final @NonNull BeginPassFlags combined(@StrictNonNull BeginPassFlag e){
return new BeginPassFlags(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
@Override
public final @NonNull BeginPassFlags setFlag(@Nullable BeginPassFlag e){
return setFlag(e, true);
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
@Override
public final @NonNull BeginPassFlags setFlag(@Nullable BeginPassFlag e, boolean on){
if (on) {
setValue(value() | e.value());
}else {
setValue(value() & ~e.value());
}
return this;
}
/**
* Returns an array of flag objects represented by this BeginPassFlags.
* @return array of enum entries
*/
@Override
public final @NonNull BeginPassFlag @NonNull[] flags(){
return super.flags(BeginPassFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull BeginPassFlags clone(){
return new BeginPassFlags(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull BeginPassFlags other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QRhiCommandBuffer::IndexFormat
*/
public enum IndexFormat implements QtEnumerator {
/**
* Representing QRhiCommandBuffer:: IndexUInt16
*/
IndexUInt16(0),
/**
* Representing QRhiCommandBuffer:: IndexUInt32
*/
IndexUInt32(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private IndexFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull IndexFormat resolve(int value) {
switch (value) {
case 0: return IndexUInt16;
case 1: return IndexUInt32;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QRhiCommandBuffer:: beginComputePass(QRhiResourceUpdateBatch*, QRhiCommandBuffer::BeginPassFlags)
*/
@QtUninvokable
public final void beginComputePass(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlags flags){
beginComputePass_native_QRhiResourceUpdateBatch_ptr_QRhiCommandBuffer_BeginPassFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resourceUpdates), flags.value());
}
@QtUninvokable
private native void beginComputePass_native_QRhiResourceUpdateBatch_ptr_QRhiCommandBuffer_BeginPassFlags(long __this__nativeId, long resourceUpdates, int flags);
/**
* See QRhiCommandBuffer:: beginExternal()
*/
@QtUninvokable
public final void beginExternal(){
beginExternal_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void beginExternal_native(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlags flags){
java.util.Objects.requireNonNull(depthStencilClearValue, "Argument 'depthStencilClearValue': null not expected.");
beginPass_native_QRhiRenderTarget_ptr_cref_QColor_cref_QRhiDepthStencilClearValue_QRhiResourceUpdateBatch_ptr_QRhiCommandBuffer_BeginPassFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rt), QtJambi_LibraryUtilities.internal.checkedNativeId(colorClearValue), QtJambi_LibraryUtilities.internal.checkedNativeId(depthStencilClearValue), QtJambi_LibraryUtilities.internal.checkedNativeId(resourceUpdates), flags.value());
}
@QtUninvokable
private native void beginPass_native_QRhiRenderTarget_ptr_cref_QColor_cref_QRhiDepthStencilClearValue_QRhiResourceUpdateBatch_ptr_QRhiCommandBuffer_BeginPassFlags(long __this__nativeId, long rt, long colorClearValue, long depthStencilClearValue, long resourceUpdates, int flags);
/**
* See QRhiCommandBuffer:: debugMarkBegin(QByteArray)
*/
@QtUninvokable
public final void debugMarkBegin(io.qt.core.@NonNull QByteArray name){
debugMarkBegin_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(name));
}
@QtUninvokable
private native void debugMarkBegin_native_cref_QByteArray(long __this__nativeId, long name);
/**
* See QRhiCommandBuffer:: debugMarkEnd()
*/
@QtUninvokable
public final void debugMarkEnd(){
debugMarkEnd_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void debugMarkEnd_native(long __this__nativeId);
/**
* See QRhiCommandBuffer:: debugMarkMsg(QByteArray)
*/
@QtUninvokable
public final void debugMarkMsg(io.qt.core.@NonNull QByteArray msg){
debugMarkMsg_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(msg));
}
@QtUninvokable
private native void debugMarkMsg_native_cref_QByteArray(long __this__nativeId, long msg);
/**
* See QRhiCommandBuffer:: dispatch(int, int, int)
*/
@QtUninvokable
public final void dispatch(int x, int y, int z){
dispatch_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, z);
}
@QtUninvokable
private native void dispatch_native_int_int_int(long __this__nativeId, int x, int y, int z);
/**
* See QRhiCommandBuffer:: draw(quint32, quint32, quint32, quint32)
*/
@QtUninvokable
public final void draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance){
draw_native_quint32_quint32_quint32_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), vertexCount, instanceCount, firstVertex, firstInstance);
}
@QtUninvokable
private native void draw_native_quint32_quint32_quint32_quint32(long __this__nativeId, int vertexCount, int instanceCount, int firstVertex, int firstInstance);
/**
* See QRhiCommandBuffer:: drawIndexed(quint32, quint32, quint32, qint32, quint32)
*/
@QtUninvokable
public final void drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance){
drawIndexed_native_quint32_quint32_quint32_qint32_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), indexCount, instanceCount, firstIndex, vertexOffset, firstInstance);
}
@QtUninvokable
private native void drawIndexed_native_quint32_quint32_quint32_qint32_quint32(long __this__nativeId, int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance);
/**
* See QRhiCommandBuffer:: endComputePass(QRhiResourceUpdateBatch*)
*/
@QtUninvokable
public final void endComputePass(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates){
endComputePass_native_QRhiResourceUpdateBatch_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resourceUpdates));
}
@QtUninvokable
private native void endComputePass_native_QRhiResourceUpdateBatch_ptr(long __this__nativeId, long resourceUpdates);
/**
* See QRhiCommandBuffer:: endExternal()
*/
@QtUninvokable
public final void endExternal(){
endExternal_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void endExternal_native(long __this__nativeId);
/**
* See QRhiCommandBuffer:: endPass(QRhiResourceUpdateBatch*)
*/
@QtUninvokable
public final void endPass(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates){
endPass_native_QRhiResourceUpdateBatch_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resourceUpdates));
}
@QtUninvokable
private native void endPass_native_QRhiResourceUpdateBatch_ptr(long __this__nativeId, long resourceUpdates);
/**
* See QRhiCommandBuffer:: lastCompletedGpuTime()
*/
@QtUninvokable
public final double lastCompletedGpuTime(){
return lastCompletedGpuTime_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double lastCompletedGpuTime_native(long __this__nativeId);
/**
* See QRhiCommandBuffer:: nativeHandles()
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiNativeHandles nativeHandles(){
return nativeHandles_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiNativeHandles nativeHandles_native(long __this__nativeId);
/**
* See QRhiCommandBuffer:: resourceUpdate(QRhiResourceUpdateBatch*)
*/
@QtUninvokable
public final void resourceUpdate(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates){
resourceUpdate_native_QRhiResourceUpdateBatch_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(resourceUpdates));
}
@QtUninvokable
private native void resourceUpdate_native_QRhiResourceUpdateBatch_ptr(long __this__nativeId, long resourceUpdates);
/**
* See QRhiCommandBuffer:: setBlendConstants(QColor)
*/
@QtUninvokable
public final void setBlendConstants(io.qt.gui.@NonNull QColor c){
setBlendConstants_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(c));
}
@QtUninvokable
private native void setBlendConstants_native_cref_QColor(long __this__nativeId, long c);
/**
* See QRhiCommandBuffer:: setComputePipeline(QRhiComputePipeline*)
*/
@QtUninvokable
public final void setComputePipeline(io.qt.gui.rhi.@Nullable QRhiComputePipeline ps){
setComputePipeline_native_QRhiComputePipeline_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ps));
__rcComputePipeline = ps;
}
@QtUninvokable
private native void setComputePipeline_native_QRhiComputePipeline_ptr(long __this__nativeId, long ps);
/**
* See QRhiCommandBuffer:: setGraphicsPipeline(QRhiGraphicsPipeline*)
*/
@QtUninvokable
public final void setGraphicsPipeline(io.qt.gui.rhi.@Nullable QRhiGraphicsPipeline ps){
setGraphicsPipeline_native_QRhiGraphicsPipeline_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ps));
__rcGraphicsPipeline = ps;
}
@QtUninvokable
private native void setGraphicsPipeline_native_QRhiGraphicsPipeline_ptr(long __this__nativeId, long ps);
/**
* See QRhiCommandBuffer:: setScissor(QRhiScissor)
*/
@QtUninvokable
public final void setScissor(io.qt.gui.rhi.@StrictNonNull QRhiScissor scissor){
java.util.Objects.requireNonNull(scissor, "Argument 'scissor': null not expected.");
setScissor_native_cref_QRhiScissor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(scissor));
}
@QtUninvokable
private native void setScissor_native_cref_QRhiScissor(long __this__nativeId, long scissor);
/**
*
*/
@SafeVarargs
@QtUninvokable
public final void setShaderResources(io.qt.gui.rhi.@Nullable QRhiShaderResourceBindings srb, io.qt.core.@NonNull QPair @StrictNonNull... dynamicOffsets){
java.util.Objects.requireNonNull(dynamicOffsets, "Argument 'dynamicOffsets': null not expected.");
setShaderResources_native_QRhiShaderResourceBindings_ptr_int_const_QPair_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(srb), dynamicOffsets);
}
@QtUninvokable
private native void setShaderResources_native_QRhiShaderResourceBindings_ptr_int_const_QPair_ptr(long __this__nativeId, long srb, io.qt.core.QPair[] dynamicOffsets);
/**
* See QRhiCommandBuffer:: setStencilRef(quint32)
*/
@QtUninvokable
public final void setStencilRef(int refValue){
setStencilRef_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), refValue);
}
@QtUninvokable
private native void setStencilRef_native_quint32(long __this__nativeId, int refValue);
/**
*
*/
@QtUninvokable
public final void setVertexInput(int startBinding, io.qt.core.@NonNull QPair extends io.qt.gui.rhi.@Nullable QRhiBuffer, java.lang.@QtPrimitiveType@NonNull Integer> @StrictNonNull[] bindings, io.qt.gui.rhi.@Nullable QRhiBuffer indexBuf, int indexOffset, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull IndexFormat indexFormat){
java.util.Objects.requireNonNull(bindings, "Argument 'bindings': null not expected.");
setVertexInput_native_int_int_const_QPair_ptr_QRhiBuffer_ptr_quint32_QRhiCommandBuffer_IndexFormat(QtJambi_LibraryUtilities.internal.nativeId(this), startBinding, bindings, QtJambi_LibraryUtilities.internal.checkedNativeId(indexBuf), indexOffset, indexFormat.value());
}
@QtUninvokable
private native void setVertexInput_native_int_int_const_QPair_ptr_QRhiBuffer_ptr_quint32_QRhiCommandBuffer_IndexFormat(long __this__nativeId, int startBinding, io.qt.core.QPair extends io.qt.gui.rhi.QRhiBuffer, java.lang.Integer>[] bindings, long indexBuf, int indexOffset, int indexFormat);
/**
* See QRhiCommandBuffer:: setViewport(QRhiViewport)
*/
@QtUninvokable
public final void setViewport(io.qt.gui.rhi.@StrictNonNull QRhiViewport viewport){
java.util.Objects.requireNonNull(viewport, "Argument 'viewport': null not expected.");
setViewport_native_cref_QRhiViewport(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(viewport));
}
@QtUninvokable
private native void setViewport_native_cref_QRhiViewport(long __this__nativeId, long viewport);
/**
* See QRhiResource:: resourceType()const
*/
@QtUninvokable
@Override
public io.qt.gui.rhi.QRhiResource.@NonNull Type resourceType(){
return io.qt.gui.rhi.QRhiResource.Type.resolve(resourceType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int resourceType_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiCommandBuffer(QPrivateConstructor p) { super(p); }
@SuppressWarnings("unchecked")
private final static io.qt.core.QPair[] noDynamicOffsets = new io.qt.core.QPair[0];
/**
* Overloaded function for {@link #beginComputePass(io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
.
*/
@QtUninvokable
public final void beginComputePass(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates) {
beginComputePass(resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginComputePass(io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with:
* resourceUpdates = null
* flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
*
*/
@QtUninvokable
public final void beginComputePass() {
beginComputePass((io.qt.gui.rhi.QRhiResourceUpdateBatch)null, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginComputePass(io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginComputePass(io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlag @NonNull... flags) {
beginComputePass(resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(flags));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates) {
beginPass(rt, colorClearValue, depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with:
* resourceUpdates = null
* flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
*
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue) {
beginPass(rt, colorClearValue, depthStencilClearValue, (io.qt.gui.rhi.QRhiResourceUpdateBatch)null, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.core.Qt.GlobalColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.core.Qt.@NonNull GlobalColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates) {
beginPass(rt, colorClearValue, depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.core.Qt.GlobalColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with:
* resourceUpdates = null
* flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
*
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.core.Qt.@NonNull GlobalColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue) {
beginPass(rt, colorClearValue, depthStencilClearValue, (io.qt.gui.rhi.QRhiResourceUpdateBatch)null, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.core.Qt.@NonNull GlobalColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlags flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, flags);
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QRgba64, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QRgba64 colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates) {
beginPass(rt, colorClearValue, depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QRgba64, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with:
* resourceUpdates = null
* flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
*
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QRgba64 colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue) {
beginPass(rt, colorClearValue, depthStencilClearValue, (io.qt.gui.rhi.QRhiResourceUpdateBatch)null, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QRgba64 colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlags flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, flags);
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, java.lang.String, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, java.lang.@NonNull String colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates) {
beginPass(rt, colorClearValue, depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, java.lang.String, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}
* with:
* resourceUpdates = null
* flags = new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0)
*
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, java.lang.@NonNull String colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue) {
beginPass(rt, colorClearValue, depthStencilClearValue, (io.qt.gui.rhi.QRhiResourceUpdateBatch)null, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(0));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, java.lang.@NonNull String colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlags flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, flags);
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlag @NonNull... flags) {
beginPass(rt, colorClearValue, depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(flags));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.core.Qt.@NonNull GlobalColor colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlag @NonNull... flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(flags));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, io.qt.gui.@NonNull QRgba64 colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlag @NonNull... flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(flags));
}
/**
* Overloaded function for {@link #beginPass(io.qt.gui.rhi.QRhiRenderTarget, io.qt.gui.QColor, io.qt.gui.rhi.QRhiDepthStencilClearValue, io.qt.gui.rhi.QRhiResourceUpdateBatch, io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags)}.
*/
@QtUninvokable
public final void beginPass(io.qt.gui.rhi.@Nullable QRhiRenderTarget rt, java.lang.@NonNull String colorClearValue, io.qt.gui.rhi.@StrictNonNull QRhiDepthStencilClearValue depthStencilClearValue, io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch resourceUpdates, io.qt.gui.rhi.QRhiCommandBuffer.@NonNull BeginPassFlag @NonNull... flags) {
beginPass(rt, new io.qt.gui.QColor(colorClearValue), depthStencilClearValue, resourceUpdates, new io.qt.gui.rhi.QRhiCommandBuffer.BeginPassFlags(flags));
}
/**
* Overloaded function for {@link #debugMarkBegin(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void debugMarkBegin(byte @NonNull[] name) {
debugMarkBegin(new io.qt.core.QByteArray(name));
}
/**
* Overloaded function for {@link #debugMarkMsg(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void debugMarkMsg(byte @NonNull[] msg) {
debugMarkMsg(new io.qt.core.QByteArray(msg));
}
/**
* Overloaded function for {@link #draw(int, int, int, int)}
* with firstInstance = 0
.
*/
@QtUninvokable
public final void draw(int vertexCount, int instanceCount, int firstVertex) {
draw(vertexCount, instanceCount, firstVertex, (int)0);
}
/**
* Overloaded function for {@link #draw(int, int, int, int)}
* with:
* firstVertex = 0
* firstInstance = 0
*
*/
@QtUninvokable
public final void draw(int vertexCount, int instanceCount) {
draw(vertexCount, instanceCount, (int)0, (int)0);
}
/**
* Overloaded function for {@link #draw(int, int, int, int)}
* with:
* instanceCount = 1
* firstVertex = 0
* firstInstance = 0
*
*/
@QtUninvokable
public final void draw(int vertexCount) {
draw(vertexCount, (int)1, (int)0, (int)0);
}
/**
* Overloaded function for {@link #drawIndexed(int, int, int, int, int)}
* with firstInstance = 0
.
*/
@QtUninvokable
public final void drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset) {
drawIndexed(indexCount, instanceCount, firstIndex, vertexOffset, (int)0);
}
/**
* Overloaded function for {@link #drawIndexed(int, int, int, int, int)}
* with:
* vertexOffset = 0
* firstInstance = 0
*
*/
@QtUninvokable
public final void drawIndexed(int indexCount, int instanceCount, int firstIndex) {
drawIndexed(indexCount, instanceCount, firstIndex, (int)0, (int)0);
}
/**
* Overloaded function for {@link #drawIndexed(int, int, int, int, int)}
* with:
* firstIndex = 0
* vertexOffset = 0
* firstInstance = 0
*
*/
@QtUninvokable
public final void drawIndexed(int indexCount, int instanceCount) {
drawIndexed(indexCount, instanceCount, (int)0, (int)0, (int)0);
}
/**
* Overloaded function for {@link #drawIndexed(int, int, int, int, int)}
* with:
* instanceCount = 1
* firstIndex = 0
* vertexOffset = 0
* firstInstance = 0
*
*/
@QtUninvokable
public final void drawIndexed(int indexCount) {
drawIndexed(indexCount, (int)1, (int)0, (int)0, (int)0);
}
/**
* Overloaded function for {@link #endComputePass(io.qt.gui.rhi.QRhiResourceUpdateBatch)}
* with resourceUpdates = null
.
*/
@QtUninvokable
public final void endComputePass() {
endComputePass((io.qt.gui.rhi.QRhiResourceUpdateBatch)null);
}
/**
* Overloaded function for {@link #endPass(io.qt.gui.rhi.QRhiResourceUpdateBatch)}
* with resourceUpdates = null
.
*/
@QtUninvokable
public final void endPass() {
endPass((io.qt.gui.rhi.QRhiResourceUpdateBatch)null);
}
/**
* Overloaded function for {@link #setBlendConstants(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBlendConstants(io.qt.core.Qt.@NonNull GlobalColor c) {
setBlendConstants(new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setBlendConstants(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBlendConstants(io.qt.gui.@NonNull QRgba64 c) {
setBlendConstants(new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setBlendConstants(io.qt.gui.QColor)}.
*/
@QtUninvokable
public final void setBlendConstants(java.lang.@NonNull String c) {
setBlendConstants(new io.qt.gui.QColor(c));
}
/**
* Overloaded function for {@link #setShaderResources(io.qt.gui.rhi.QRhiShaderResourceBindings, io.qt.core.QPair[])}
* with dynamicOffsets = noDynamicOffsets
.
*/
@QtUninvokable
public final void setShaderResources(io.qt.gui.rhi.@Nullable QRhiShaderResourceBindings srb) {
setShaderResources(srb, noDynamicOffsets);
}
/**
* Overloaded function for {@link #setShaderResources(io.qt.gui.rhi.QRhiShaderResourceBindings, io.qt.core.QPair[])}
* with:
* srb = null
* dynamicOffsets = noDynamicOffsets
*
*/
@QtUninvokable
public final void setShaderResources() {
setShaderResources((io.qt.gui.rhi.QRhiShaderResourceBindings)null, noDynamicOffsets);
}
/**
* Overloaded function for {@link #setVertexInput(int, io.qt.core.QPair[], io.qt.gui.rhi.QRhiBuffer, int, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat)}
* with indexFormat = io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16
.
*/
@QtUninvokable
public final void setVertexInput(int startBinding, io.qt.core.@NonNull QPair extends io.qt.gui.rhi.@Nullable QRhiBuffer, java.lang.@QtPrimitiveType@NonNull Integer> @StrictNonNull[] bindings, io.qt.gui.rhi.@Nullable QRhiBuffer indexBuf, int indexOffset) {
setVertexInput(startBinding, bindings, indexBuf, indexOffset, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16);
}
/**
* Overloaded function for {@link #setVertexInput(int, io.qt.core.QPair[], io.qt.gui.rhi.QRhiBuffer, int, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat)}
* with:
* indexOffset = 0
* indexFormat = io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16
*
*/
@QtUninvokable
public final void setVertexInput(int startBinding, io.qt.core.@NonNull QPair extends io.qt.gui.rhi.@Nullable QRhiBuffer, java.lang.@QtPrimitiveType@NonNull Integer> @StrictNonNull[] bindings, io.qt.gui.rhi.@Nullable QRhiBuffer indexBuf) {
setVertexInput(startBinding, bindings, indexBuf, (int)0, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16);
}
/**
* Overloaded function for {@link #setVertexInput(int, io.qt.core.QPair[], io.qt.gui.rhi.QRhiBuffer, int, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat)}
* with:
* indexBuf = null
* indexOffset = 0
* indexFormat = io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16
*
*/
@QtUninvokable
public final void setVertexInput(int startBinding, io.qt.core.@NonNull QPair extends io.qt.gui.rhi.@Nullable QRhiBuffer, java.lang.@QtPrimitiveType@NonNull Integer> @StrictNonNull[] bindings) {
setVertexInput(startBinding, bindings, (io.qt.gui.rhi.QRhiBuffer)null, (int)0, io.qt.gui.rhi.QRhiCommandBuffer.IndexFormat.IndexUInt16);
}
}