All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.rhi.QRhi Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui.rhi;

import io.qt.*;


/**
 * 

Accelerated 2D/3D graphics API abstraction

*

Java wrapper for Qt class QRhi

*/ public class QRhi extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QRhi::BeginFrameFlag

* * @see BeginFrameFlags */ public enum BeginFrameFlag implements QtFlagEnumerator { ; static { QtJambi_LibraryUtilities.initialize(); } private BeginFrameFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull BeginFrameFlags asFlags() { return new BeginFrameFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull BeginFrameFlags combined(@NonNull BeginFrameFlag 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 BeginFrameFlags cleared(@NonNull BeginFrameFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link BeginFrameFlags} from the entries. * @param values entries * @return new flag */ public static @NonNull BeginFrameFlags flags(@Nullable BeginFrameFlag @NonNull... values) { return new BeginFrameFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull BeginFrameFlag resolve(int value) { switch (value) { default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link BeginFrameFlag} */ public static final class BeginFrameFlags extends QFlags implements Comparable { private static final long serialVersionUID = 0x411edd79d04278daL; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new BeginFrameFlags where the flags in args are set. * @param args enum entries */ public BeginFrameFlags(@Nullable BeginFrameFlag @NonNull... args){ super(args); } /** * Creates a new BeginFrameFlags with given value. * @param value */ public BeginFrameFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new BeginFrameFlags */ @Override public final @NonNull BeginFrameFlags combined(@StrictNonNull BeginFrameFlag e){ return new BeginFrameFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull BeginFrameFlags setFlag(@Nullable BeginFrameFlag e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull BeginFrameFlags setFlag(@Nullable BeginFrameFlag 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 BeginFrameFlags. * @return array of enum entries */ @Override public final @NonNull BeginFrameFlag @NonNull[] flags(){ return super.flags(BeginFrameFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull BeginFrameFlags clone(){ return new BeginFrameFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull BeginFrameFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QRhi::EndFrameFlag

* * @see EndFrameFlags */ public enum EndFrameFlag implements QtFlagEnumerator { /** *

Representing QRhi::SkipPresent

*/ SkipPresent(1); static { QtJambi_LibraryUtilities.initialize(); } private EndFrameFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull EndFrameFlags asFlags() { return new EndFrameFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull EndFrameFlags combined(@NonNull EndFrameFlag 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 EndFrameFlags cleared(@NonNull EndFrameFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link EndFrameFlags} from the entries. * @param values entries * @return new flag */ public static @NonNull EndFrameFlags flags(@Nullable EndFrameFlag @NonNull... values) { return new EndFrameFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull EndFrameFlag resolve(int value) { switch (value) { case 1: return SkipPresent; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link EndFrameFlag} */ public static final class EndFrameFlags extends QFlags implements Comparable { private static final long serialVersionUID = 0x819919a3c34c81c0L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new EndFrameFlags where the flags in args are set. * @param args enum entries */ public EndFrameFlags(@Nullable EndFrameFlag @NonNull... args){ super(args); } /** * Creates a new EndFrameFlags with given value. * @param value */ public EndFrameFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new EndFrameFlags */ @Override public final @NonNull EndFrameFlags combined(@StrictNonNull EndFrameFlag e){ return new EndFrameFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull EndFrameFlags setFlag(@Nullable EndFrameFlag e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull EndFrameFlags setFlag(@Nullable EndFrameFlag 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 EndFrameFlags. * @return array of enum entries */ @Override public final @NonNull EndFrameFlag @NonNull[] flags(){ return super.flags(EndFrameFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull EndFrameFlags clone(){ return new EndFrameFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull EndFrameFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QRhi::Feature

*/ public enum Feature implements QtEnumerator { /** *

Representing QRhi::MultisampleTexture

*/ MultisampleTexture(1), /** *

Representing QRhi::MultisampleRenderBuffer

*/ MultisampleRenderBuffer(2), /** *

Representing QRhi::DebugMarkers

*/ DebugMarkers(3), /** *

Representing QRhi::Timestamps

*/ Timestamps(4), /** *

Representing QRhi::Instancing

*/ Instancing(5), /** *

Representing QRhi::CustomInstanceStepRate

*/ CustomInstanceStepRate(6), /** *

Representing QRhi::PrimitiveRestart

*/ PrimitiveRestart(7), /** *

Representing QRhi::NonDynamicUniformBuffers

*/ NonDynamicUniformBuffers(8), /** *

Representing QRhi::NonFourAlignedEffectiveIndexBufferOffset

*/ NonFourAlignedEffectiveIndexBufferOffset(9), /** *

Representing QRhi::NPOTTextureRepeat

*/ NPOTTextureRepeat(10), /** *

Representing QRhi::RedOrAlpha8IsRed

*/ RedOrAlpha8IsRed(11), /** *

Representing QRhi::ElementIndexUint

*/ ElementIndexUint(12), /** *

Representing QRhi::Compute

*/ Compute(13), /** *

Representing QRhi::WideLines

*/ WideLines(14), /** *

Representing QRhi::VertexShaderPointSize

*/ VertexShaderPointSize(15), /** *

Representing QRhi::BaseVertex

*/ BaseVertex(16), /** *

Representing QRhi::BaseInstance

*/ BaseInstance(17), /** *

Representing QRhi::TriangleFanTopology

*/ TriangleFanTopology(18), /** *

Representing QRhi::ReadBackNonUniformBuffer

*/ ReadBackNonUniformBuffer(19), /** *

Representing QRhi::ReadBackNonBaseMipLevel

*/ ReadBackNonBaseMipLevel(20), /** *

Representing QRhi::TexelFetch

*/ TexelFetch(21), /** *

Representing QRhi::RenderToNonBaseMipLevel

*/ RenderToNonBaseMipLevel(22), /** *

Representing QRhi::IntAttributes

*/ IntAttributes(23), /** *

Representing QRhi::ScreenSpaceDerivatives

*/ ScreenSpaceDerivatives(24), /** *

Representing QRhi::ReadBackAnyTextureFormat

*/ ReadBackAnyTextureFormat(25), /** *

Representing QRhi::PipelineCacheDataLoadSave

*/ PipelineCacheDataLoadSave(26), /** *

Representing QRhi::ImageDataStride

*/ ImageDataStride(27), /** *

Representing QRhi::RenderBufferImport

*/ RenderBufferImport(28), /** *

Representing QRhi::ThreeDimensionalTextures

*/ ThreeDimensionalTextures(29), /** *

Representing QRhi::RenderTo3DTextureSlice

*/ RenderTo3DTextureSlice(30), /** *

Representing QRhi::TextureArrays

*/ TextureArrays(31), /** *

Representing QRhi::Tessellation

*/ Tessellation(32), /** *

Representing QRhi::GeometryShader

*/ GeometryShader(33), /** *

Representing QRhi::TextureArrayRange

*/ TextureArrayRange(34), /** *

Representing QRhi::NonFillPolygonMode

*/ NonFillPolygonMode(35), /** *

Representing QRhi::OneDimensionalTextures

*/ OneDimensionalTextures(36), /** *

Representing QRhi::OneDimensionalTextureMipmaps

*/ OneDimensionalTextureMipmaps(37), /** *

Representing QRhi::HalfAttributes

*/ HalfAttributes(38), /** *

Representing QRhi::RenderToOneDimensionalTexture

*/ RenderToOneDimensionalTexture(39), /** *

Representing QRhi::ThreeDimensionalTextureMipmaps

*/ ThreeDimensionalTextureMipmaps(40); static { QtJambi_LibraryUtilities.initialize(); } private Feature(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Feature resolve(int value) { switch (value) { case 1: return MultisampleTexture; case 2: return MultisampleRenderBuffer; case 3: return DebugMarkers; case 4: return Timestamps; case 5: return Instancing; case 6: return CustomInstanceStepRate; case 7: return PrimitiveRestart; case 8: return NonDynamicUniformBuffers; case 9: return NonFourAlignedEffectiveIndexBufferOffset; case 10: return NPOTTextureRepeat; case 11: return RedOrAlpha8IsRed; case 12: return ElementIndexUint; case 13: return Compute; case 14: return WideLines; case 15: return VertexShaderPointSize; case 16: return BaseVertex; case 17: return BaseInstance; case 18: return TriangleFanTopology; case 19: return ReadBackNonUniformBuffer; case 20: return ReadBackNonBaseMipLevel; case 21: return TexelFetch; case 22: return RenderToNonBaseMipLevel; case 23: return IntAttributes; case 24: return ScreenSpaceDerivatives; case 25: return ReadBackAnyTextureFormat; case 26: return PipelineCacheDataLoadSave; case 27: return ImageDataStride; case 28: return RenderBufferImport; case 29: return ThreeDimensionalTextures; case 30: return RenderTo3DTextureSlice; case 31: return TextureArrays; case 32: return Tessellation; case 33: return GeometryShader; case 34: return TextureArrayRange; case 35: return NonFillPolygonMode; case 36: return OneDimensionalTextures; case 37: return OneDimensionalTextureMipmaps; case 38: return HalfAttributes; case 39: return RenderToOneDimensionalTexture; case 40: return ThreeDimensionalTextureMipmaps; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QRhi::Flag

* * @see Flags */ public enum Flag implements QtFlagEnumerator { /** *

Representing QRhi::EnableDebugMarkers

*/ EnableDebugMarkers(1), /** *

Representing QRhi::PreferSoftwareRenderer

*/ PreferSoftwareRenderer(2), /** *

Representing QRhi::EnablePipelineCacheDataSave

*/ EnablePipelineCacheDataSave(4), /** *

Representing QRhi::EnableTimestamps

*/ EnableTimestamps(8); static { QtJambi_LibraryUtilities.initialize(); } private Flag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull Flags asFlags() { return new Flags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull Flags combined(@NonNull Flag 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 Flags cleared(@NonNull Flag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link Flags} from the entries. * @param values entries * @return new flag */ public static @NonNull Flags flags(@Nullable Flag @NonNull... values) { return new Flags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Flag resolve(int value) { switch (value) { case 1: return EnableDebugMarkers; case 2: return PreferSoftwareRenderer; case 4: return EnablePipelineCacheDataSave; case 8: return EnableTimestamps; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link Flag} */ public static final class Flags extends QFlags implements Comparable { private static final long serialVersionUID = 0x92d9bce6c929c1c6L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new Flags where the flags in args are set. * @param args enum entries */ public Flags(@Nullable Flag @NonNull... args){ super(args); } /** * Creates a new Flags with given value. * @param value */ public Flags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new Flags */ @Override public final @NonNull Flags combined(@StrictNonNull Flag e){ return new Flags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull Flags setFlag(@Nullable Flag e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull Flags setFlag(@Nullable Flag 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 Flags. * @return array of enum entries */ @Override public final @NonNull Flag @NonNull[] flags(){ return super.flags(Flag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull Flags clone(){ return new Flags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull Flags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QRhi::FrameOpResult

*/ public enum FrameOpResult implements QtEnumerator { /** *

Representing QRhi::FrameOpSuccess

*/ FrameOpSuccess(0), /** *

Representing QRhi::FrameOpError

*/ FrameOpError(1), /** *

Representing QRhi::FrameOpSwapChainOutOfDate

*/ FrameOpSwapChainOutOfDate(2), /** *

Representing QRhi::FrameOpDeviceLost

*/ FrameOpDeviceLost(3); static { QtJambi_LibraryUtilities.initialize(); } private FrameOpResult(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull FrameOpResult resolve(int value) { switch (value) { case 0: return FrameOpSuccess; case 1: return FrameOpError; case 2: return FrameOpSwapChainOutOfDate; case 3: return FrameOpDeviceLost; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QRhi::Implementation

*/ public enum Implementation implements QtEnumerator { /** *

Representing QRhi::Null

*/ Null(0), /** *

Representing QRhi::Vulkan

*/ Vulkan(1), /** *

Representing QRhi::OpenGLES2

*/ OpenGLES2(2), /** *

Representing QRhi::D3D11

*/ D3D11(3), /** *

Representing QRhi::Metal

*/ Metal(4), /** *

Representing QRhi::D3D12

*/ D3D12(5); static { QtJambi_LibraryUtilities.initialize(); } private Implementation(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull Implementation resolve(int value) { switch (value) { case 0: return Null; case 1: return Vulkan; case 2: return OpenGLES2; case 3: return D3D11; case 4: return Metal; case 5: return D3D12; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QRhi::ResourceLimit

*/ public enum ResourceLimit implements QtEnumerator { /** *

Representing QRhi::TextureSizeMin

*/ TextureSizeMin(1), /** *

Representing QRhi::TextureSizeMax

*/ TextureSizeMax(2), /** *

Representing QRhi::MaxColorAttachments

*/ MaxColorAttachments(3), /** *

Representing QRhi::FramesInFlight

*/ FramesInFlight(4), /** *

Representing QRhi::MaxAsyncReadbackFrames

*/ MaxAsyncReadbackFrames(5), /** *

Representing QRhi::MaxThreadGroupsPerDimension

*/ MaxThreadGroupsPerDimension(6), /** *

Representing QRhi::MaxThreadsPerThreadGroup

*/ MaxThreadsPerThreadGroup(7), /** *

Representing QRhi::MaxThreadGroupX

*/ MaxThreadGroupX(8), /** *

Representing QRhi::MaxThreadGroupY

*/ MaxThreadGroupY(9), /** *

Representing QRhi::MaxThreadGroupZ

*/ MaxThreadGroupZ(10), /** *

Representing QRhi::TextureArraySizeMax

*/ TextureArraySizeMax(11), /** *

Representing QRhi::MaxUniformBufferRange

*/ MaxUniformBufferRange(12), /** *

Representing QRhi::MaxVertexInputs

*/ MaxVertexInputs(13), /** *

Representing QRhi::MaxVertexOutputs

*/ MaxVertexOutputs(14); static { QtJambi_LibraryUtilities.initialize(); } private ResourceLimit(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull ResourceLimit resolve(int value) { switch (value) { case 1: return TextureSizeMin; case 2: return TextureSizeMax; case 3: return MaxColorAttachments; case 4: return FramesInFlight; case 5: return MaxAsyncReadbackFrames; case 6: return MaxThreadGroupsPerDimension; case 7: return MaxThreadsPerThreadGroup; case 8: return MaxThreadGroupX; case 9: return MaxThreadGroupY; case 10: return MaxThreadGroupZ; case 11: return TextureArraySizeMax; case 12: return MaxUniformBufferRange; case 13: return MaxVertexInputs; case 14: return MaxVertexOutputs; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt callable QRhi::CleanupCallback

*/ @FunctionalInterface public interface CleanupCallback extends QtObjectInterface, java.util.function.Consumer { @Override public void accept(io.qt.gui.rhi.@Nullable QRhi arg__1); /** * @hidden *

Implementor class for interface {@link CleanupCallback}

*/ public static abstract class Impl extends QtObject implements CleanupCallback{ static { QtJambi_LibraryUtilities.initialize(); } public Impl(){ super((QPrivateConstructor)null); initialize_native(this); } protected Impl(QPrivateConstructor p){ super(p); } private static native void initialize_native(CleanupCallback instance); @NativeAccess private final static class ConcreteWrapper extends Impl { private ConcreteWrapper(QPrivateConstructor c){ super(c); } @Override public void accept(io.qt.gui.rhi.@Nullable QRhi arg__1){ accept_native(QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } private native void accept_native(long arg__1); } } } /** *

See QRhi::QRhi()

*/ protected QRhi(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRhi instance); /** *

See QRhi::addCleanupCallback(QRhi::CleanupCallback)

*/ @QtUninvokable public final void addCleanupCallback(io.qt.gui.rhi.QRhi.@Nullable CleanupCallback callback){ addCleanupCallback_native_cref_QRhi_CleanupCallback(QtJambi_LibraryUtilities.internal.nativeId(this), callback); } @QtUninvokable private native void addCleanupCallback_native_cref_QRhi_CleanupCallback(long __this__nativeId, io.qt.gui.rhi.QRhi.CleanupCallback callback); /** *

See QRhi::backend()const

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull Implementation backend(){ return io.qt.gui.rhi.QRhi.Implementation.resolve(backend_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int backend_native_constfct(long __this__nativeId); /** *

See QRhi::backendName()const

*/ @QtUninvokable public final java.lang.@Nullable String backendName(){ return backendName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String backendName_native_constfct(long __this__nativeId); /** *

See QRhi::beginFrame(QRhiSwapChain*,QRhi::BeginFrameFlags)

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain, io.qt.gui.rhi.QRhi.@NonNull BeginFrameFlags flags){ return io.qt.gui.rhi.QRhi.FrameOpResult.resolve(beginFrame_native_QRhiSwapChain_ptr_QRhi_BeginFrameFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(swapChain), flags.value())); } @QtUninvokable private native int beginFrame_native_QRhiSwapChain_ptr_QRhi_BeginFrameFlags(long __this__nativeId, long swapChain, int flags); /** *

See QRhi::beginOffscreenFrame(QRhiCommandBuffer**,QRhi::BeginFrameFlags)

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginOffscreenFrame(io.qt.gui.rhi.@Nullable QRhiCommandBuffer @StrictNonNull[] cb, io.qt.gui.rhi.QRhi.@NonNull BeginFrameFlags flags){ java.util.Objects.requireNonNull(cb, "Argument 'cb': null not expected."); if(cb.length < 1) throw new IllegalArgumentException("Argument 'cb': Wrong number of elements in array. Found: " + cb.length + ", expected: 1"); return io.qt.gui.rhi.QRhi.FrameOpResult.resolve(beginOffscreenFrame_native_QRhiCommandBuffer_ptr_ptr_QRhi_BeginFrameFlags(QtJambi_LibraryUtilities.internal.nativeId(this), cb, flags.value())); } @QtUninvokable private native int beginOffscreenFrame_native_QRhiCommandBuffer_ptr_ptr_QRhi_BeginFrameFlags(long __this__nativeId, io.qt.gui.rhi.QRhiCommandBuffer[] cb, int flags); /** *

See QRhi::clipSpaceCorrMatrix()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QMatrix4x4 clipSpaceCorrMatrix(){ return clipSpaceCorrMatrix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QMatrix4x4 clipSpaceCorrMatrix_native_constfct(long __this__nativeId); /** *

See QRhi::currentFrameSlot()const

*/ @QtUninvokable public final int currentFrameSlot(){ return currentFrameSlot_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int currentFrameSlot_native_constfct(long __this__nativeId); /** *

See QRhi::driverInfo()const

*/ @QtUninvokable public final io.qt.gui.rhi.@NonNull QRhiDriverInfo driverInfo(){ return driverInfo_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiDriverInfo driverInfo_native_constfct(long __this__nativeId); /** *

See QRhi::endFrame(QRhiSwapChain*,QRhi::EndFrameFlags)

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain, io.qt.gui.rhi.QRhi.@NonNull EndFrameFlags flags){ return io.qt.gui.rhi.QRhi.FrameOpResult.resolve(endFrame_native_QRhiSwapChain_ptr_QRhi_EndFrameFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(swapChain), flags.value())); } @QtUninvokable private native int endFrame_native_QRhiSwapChain_ptr_QRhi_EndFrameFlags(long __this__nativeId, long swapChain, int flags); /** *

See QRhi::endOffscreenFrame(QRhi::EndFrameFlags)

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endOffscreenFrame(io.qt.gui.rhi.QRhi.@NonNull EndFrameFlags flags){ return io.qt.gui.rhi.QRhi.FrameOpResult.resolve(endOffscreenFrame_native_QRhi_EndFrameFlags(QtJambi_LibraryUtilities.internal.nativeId(this), flags.value())); } @QtUninvokable private native int endOffscreenFrame_native_QRhi_EndFrameFlags(long __this__nativeId, int flags); /** *

See QRhi::finish()

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult finish(){ return io.qt.gui.rhi.QRhi.FrameOpResult.resolve(finish_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int finish_native(long __this__nativeId); /** *

See QRhi::isClipDepthZeroToOne()const

*/ @QtUninvokable public final boolean isClipDepthZeroToOne(){ return isClipDepthZeroToOne_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isClipDepthZeroToOne_native_constfct(long __this__nativeId); /** *

See QRhi::isDeviceLost()const

*/ @QtUninvokable public final boolean isDeviceLost(){ return isDeviceLost_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isDeviceLost_native_constfct(long __this__nativeId); /** *

See QRhi::isFeatureSupported(QRhi::Feature)const

*/ @QtUninvokable public final boolean isFeatureSupported(io.qt.gui.rhi.QRhi.@NonNull Feature feature){ return isFeatureSupported_native_QRhi_Feature_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), feature.value()); } @QtUninvokable private native boolean isFeatureSupported_native_QRhi_Feature_constfct(long __this__nativeId, int feature); /** *

See QRhi::isRecordingFrame()const

*/ @QtUninvokable public final boolean isRecordingFrame(){ return isRecordingFrame_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isRecordingFrame_native_constfct(long __this__nativeId); /** *

See QRhi::isTextureFormatSupported(QRhiTexture::Format,QRhiTexture::Flags)const

*/ @QtUninvokable public final boolean isTextureFormatSupported(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.gui.rhi.QRhiTexture.@NonNull Flags flags){ return isTextureFormatSupported_native_QRhiTexture_Format_QRhiTexture_Flags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format.value(), flags.value()); } @QtUninvokable private native boolean isTextureFormatSupported_native_QRhiTexture_Format_QRhiTexture_Flags_constfct(long __this__nativeId, int format, int flags); /** *

See QRhi::isYUpInFramebuffer()const

*/ @QtUninvokable public final boolean isYUpInFramebuffer(){ return isYUpInFramebuffer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isYUpInFramebuffer_native_constfct(long __this__nativeId); /** *

See QRhi::isYUpInNDC()const

*/ @QtUninvokable public final boolean isYUpInNDC(){ return isYUpInNDC_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isYUpInNDC_native_constfct(long __this__nativeId); /** *

See QRhi::makeThreadLocalNativeContextCurrent()

*/ @QtUninvokable public final boolean makeThreadLocalNativeContextCurrent(){ return makeThreadLocalNativeContextCurrent_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean makeThreadLocalNativeContextCurrent_native(long __this__nativeId); /** *

See QRhi::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 QRhi::newBuffer(QRhiBuffer::Type,QRhiBuffer::UsageFlags,quint32)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiBuffer newBuffer(io.qt.gui.rhi.QRhiBuffer.@NonNull Type type, io.qt.gui.rhi.QRhiBuffer.@NonNull UsageFlags usage, int size){ return newBuffer_native_QRhiBuffer_Type_QRhiBuffer_UsageFlags_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), type.value(), usage.value(), size); } @QtUninvokable private native io.qt.gui.rhi.QRhiBuffer newBuffer_native_QRhiBuffer_Type_QRhiBuffer_UsageFlags_quint32(long __this__nativeId, int type, int usage, int size); /** *

See QRhi::newComputePipeline()

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiComputePipeline newComputePipeline(){ return newComputePipeline_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiComputePipeline newComputePipeline_native(long __this__nativeId); /** *

See QRhi::newGraphicsPipeline()

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiGraphicsPipeline newGraphicsPipeline(){ return newGraphicsPipeline_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiGraphicsPipeline newGraphicsPipeline_native(long __this__nativeId); /** *

See QRhi::newRenderBuffer(QRhiRenderBuffer::Type,QSize,int,QRhiRenderBuffer::Flags,QRhiTexture::Format)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiRenderBuffer newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Type type, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Flags flags, io.qt.gui.rhi.QRhiTexture.@NonNull Format backingFormatHint){ return newRenderBuffer_native_QRhiRenderBuffer_Type_cref_QSize_int_QRhiRenderBuffer_Flags_QRhiTexture_Format(QtJambi_LibraryUtilities.internal.nativeId(this), type.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pixelSize), sampleCount, flags.value(), backingFormatHint.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiRenderBuffer newRenderBuffer_native_QRhiRenderBuffer_Type_cref_QSize_int_QRhiRenderBuffer_Flags_QRhiTexture_Format(long __this__nativeId, int type, long pixelSize, int sampleCount, int flags, int backingFormatHint); /** *

See QRhi::newSampler(QRhiSampler::Filter,QRhiSampler::Filter,QRhiSampler::Filter,QRhiSampler::AddressMode,QRhiSampler::AddressMode,QRhiSampler::AddressMode)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiSampler newSampler(io.qt.gui.rhi.QRhiSampler.@NonNull Filter magFilter, io.qt.gui.rhi.QRhiSampler.@NonNull Filter minFilter, io.qt.gui.rhi.QRhiSampler.@NonNull Filter mipmapMode, io.qt.gui.rhi.QRhiSampler.@NonNull AddressMode addressU, io.qt.gui.rhi.QRhiSampler.@NonNull AddressMode addressV, io.qt.gui.rhi.QRhiSampler.@NonNull AddressMode addressW){ return newSampler_native_QRhiSampler_Filter_QRhiSampler_Filter_QRhiSampler_Filter_QRhiSampler_AddressMode_QRhiSampler_AddressMode_QRhiSampler_AddressMode(QtJambi_LibraryUtilities.internal.nativeId(this), magFilter.value(), minFilter.value(), mipmapMode.value(), addressU.value(), addressV.value(), addressW.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiSampler newSampler_native_QRhiSampler_Filter_QRhiSampler_Filter_QRhiSampler_Filter_QRhiSampler_AddressMode_QRhiSampler_AddressMode_QRhiSampler_AddressMode(long __this__nativeId, int magFilter, int minFilter, int mipmapMode, int addressU, int addressV, int addressW); /** *

See QRhi::newShaderResourceBindings()

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiShaderResourceBindings newShaderResourceBindings(){ return newShaderResourceBindings_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiShaderResourceBindings newShaderResourceBindings_native(long __this__nativeId); /** *

See QRhi::newSwapChain()

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiSwapChain newSwapChain(){ return newSwapChain_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiSwapChain newSwapChain_native(long __this__nativeId); /** *

See QRhi::newTexture(QRhiTexture::Format,QSize,int,QRhiTexture::Flags)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flags flags){ return newTexture_native_QRhiTexture_Format_cref_QSize_int_QRhiTexture_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(pixelSize), sampleCount, flags.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiTexture newTexture_native_QRhiTexture_Format_cref_QSize_int_QRhiTexture_Flags(long __this__nativeId, int format, long pixelSize, int sampleCount, int flags); /** *

See QRhi::newTexture(QRhiTexture::Format,int,int,int,int,QRhiTexture::Flags)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int width, int height, int depth, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flags flags){ return newTexture_native_QRhiTexture_Format_int_int_int_int_QRhiTexture_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), format.value(), width, height, depth, sampleCount, flags.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiTexture newTexture_native_QRhiTexture_Format_int_int_int_int_QRhiTexture_Flags(long __this__nativeId, int format, int width, int height, int depth, int sampleCount, int flags); /** *

See QRhi::newTextureArray(QRhiTexture::Format,int,QSize,int,QRhiTexture::Flags)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTextureArray(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int arraySize, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flags flags){ return newTextureArray_native_QRhiTexture_Format_int_cref_QSize_int_QRhiTexture_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), format.value(), arraySize, QtJambi_LibraryUtilities.internal.checkedNativeId(pixelSize), sampleCount, flags.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiTexture newTextureArray_native_QRhiTexture_Format_int_cref_QSize_int_QRhiTexture_Flags(long __this__nativeId, int format, int arraySize, long pixelSize, int sampleCount, int flags); /** *

See QRhi::newTextureRenderTarget(QRhiTextureRenderTargetDescription,QRhiTextureRenderTarget::Flags)

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiTextureRenderTargetDescription desc, io.qt.gui.rhi.QRhiTextureRenderTarget.@NonNull Flags flags){ java.util.Objects.requireNonNull(desc, "Argument 'desc': null not expected."); return newTextureRenderTarget_native_cref_QRhiTextureRenderTargetDescription_QRhiTextureRenderTarget_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(desc), flags.value()); } @QtUninvokable private native io.qt.gui.rhi.QRhiTextureRenderTarget newTextureRenderTarget_native_cref_QRhiTextureRenderTargetDescription_QRhiTextureRenderTarget_Flags(long __this__nativeId, long desc, int flags); /** *

See QRhi::nextResourceUpdateBatch()

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiResourceUpdateBatch nextResourceUpdateBatch(){ return nextResourceUpdateBatch_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiResourceUpdateBatch nextResourceUpdateBatch_native(long __this__nativeId); /** *

See QRhi::pipelineCacheData()

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray pipelineCacheData(){ return pipelineCacheData_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QByteArray pipelineCacheData_native(long __this__nativeId); /** *

See QRhi::releaseCachedResources()

*/ @QtUninvokable public final void releaseCachedResources(){ releaseCachedResources_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void releaseCachedResources_native(long __this__nativeId); /** *

See QRhi::resourceLimit(QRhi::ResourceLimit)const

*/ @QtUninvokable public final int resourceLimit(io.qt.gui.rhi.QRhi.@NonNull ResourceLimit limit){ return resourceLimit_native_QRhi_ResourceLimit_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), limit.value()); } @QtUninvokable private native int resourceLimit_native_QRhi_ResourceLimit_constfct(long __this__nativeId, int limit); /** *

See QRhi::runCleanup()

*/ @QtUninvokable public final void runCleanup(){ runCleanup_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void runCleanup_native(long __this__nativeId); /** *

See QRhi::setPipelineCacheData(QByteArray)

*/ @QtUninvokable public final void setPipelineCacheData(io.qt.core.@NonNull QByteArray data){ setPipelineCacheData_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(data)); } @QtUninvokable private native void setPipelineCacheData_native_cref_QByteArray(long __this__nativeId, long data); /** *

See QRhi::statistics()const

*/ @QtUninvokable public final io.qt.gui.rhi.@NonNull QRhiStats statistics(){ return statistics_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.rhi.QRhiStats statistics_native_constfct(long __this__nativeId); /** *

See QRhi::supportedSampleCounts()const

*/ @QtUninvokable public final io.qt.core.@NonNull QList supportedSampleCounts(){ return supportedSampleCounts_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QList supportedSampleCounts_native_constfct(long __this__nativeId); /** *

See QRhi::thread()const

*/ @QtUninvokable public final io.qt.core.@Nullable QThread thread(){ return thread_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QThread thread_native_constfct(long __this__nativeId); /** *

See QRhi::ubufAligned(int)const

*/ @QtUninvokable public final int ubufAligned(int v){ return ubufAligned_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), v); } @QtUninvokable private native int ubufAligned_native_int_constfct(long __this__nativeId, int v); /** *

See QRhi::ubufAlignment()const

*/ @QtUninvokable public final int ubufAlignment(){ return ubufAlignment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int ubufAlignment_native_constfct(long __this__nativeId); /** *

See QRhi::backendName(QRhi::Implementation)

*/ public static java.lang.@Nullable String backendName(io.qt.gui.rhi.QRhi.@NonNull Implementation impl){ return backendName_native_QRhi_Implementation(impl.value()); } private native static java.lang.String backendName_native_QRhi_Implementation(int impl); /** *

See QRhi::create(QRhi::Implementation,QRhiInitParams*,QRhi::Flags,QRhiNativeHandles*)

*/ public static io.qt.gui.rhi.@Nullable QRhi create(io.qt.gui.rhi.QRhi.@NonNull Implementation impl, io.qt.gui.rhi.@Nullable QRhiInitParams params, io.qt.gui.rhi.QRhi.@NonNull Flags flags, io.qt.gui.rhi.@Nullable QRhiNativeHandles importDevice){ io.qt.gui.rhi.@Nullable QRhi __qt_return_value = create_native_QRhi_Implementation_QRhiInitParams_ptr_QRhi_Flags_QRhiNativeHandles_ptr(impl.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(params), flags.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(importDevice)); if(__qt_return_value!=null){ __qt_return_value.__rc_params = params; __qt_return_value.__rc_importDevice = importDevice; } return __qt_return_value; } private native static io.qt.gui.rhi.QRhi create_native_QRhi_Implementation_QRhiInitParams_ptr_QRhi_Flags_QRhiNativeHandles_ptr(int impl, long params, int flags, long importDevice); /** *

See QRhi::mipLevelsForSize(QSize)

*/ public static int mipLevelsForSize(io.qt.core.@NonNull QSize size){ return mipLevelsForSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } private native static int mipLevelsForSize_native_cref_QSize(long size); /** *

See QRhi::probe(QRhi::Implementation,QRhiInitParams*)

*/ public static boolean probe(io.qt.gui.rhi.QRhi.@NonNull Implementation impl, io.qt.gui.rhi.@Nullable QRhiInitParams params){ return probe_native_QRhi_Implementation_QRhiInitParams_ptr(impl.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(params)); } private native static boolean probe_native_QRhi_Implementation_QRhiInitParams_ptr(int impl, long params); /** *

See QRhi::sizeForMipLevel(int,QSize)

*/ public static io.qt.core.@NonNull QSize sizeForMipLevel(int mipLevel, io.qt.core.@NonNull QSize baseLevelSize){ return sizeForMipLevel_native_int_cref_QSize(mipLevel, QtJambi_LibraryUtilities.internal.checkedNativeId(baseLevelSize)); } private native static io.qt.core.QSize sizeForMipLevel_native_int_cref_QSize(int mipLevel, long baseLevelSize); /** *

See QRhi::updateSwapChainProxyData(QRhi::Implementation,QWindow*)

*/ public static io.qt.gui.rhi.@NonNull QRhiSwapChainProxyData updateSwapChainProxyData(io.qt.gui.rhi.QRhi.@NonNull Implementation impl, io.qt.gui.@Nullable QWindow window){ return updateSwapChainProxyData_native_QRhi_Implementation_QWindow_ptr(impl.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(window)); } private native static io.qt.gui.rhi.QRhiSwapChainProxyData updateSwapChainProxyData_native_QRhi_Implementation_QWindow_ptr(int impl, long window); /** *

See QRhi::MAX_MIP_LEVELS

*/ private native static int MAX_MIP_LEVELS(); /** *

See QRhi::MAX_MIP_LEVELS

*/ public static final int MAX_MIP_LEVELS = MAX_MIP_LEVELS(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhi(QPrivateConstructor p) { super(p); } private io.qt.gui.rhi.QRhiInitParams __rc_params; private io.qt.gui.rhi.QRhiNativeHandles __rc_importDevice; /** *

Overloaded function for {@link #beginFrame(io.qt.gui.rhi.QRhiSwapChain, io.qt.gui.rhi.QRhi.BeginFrameFlags)} * with flags = new io.qt.gui.rhi.QRhi.BeginFrameFlags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain) { return beginFrame(swapChain, new io.qt.gui.rhi.QRhi.BeginFrameFlags(0)); } /** *

Overloaded function for {@link #beginFrame(io.qt.gui.rhi.QRhiSwapChain, io.qt.gui.rhi.QRhi.BeginFrameFlags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain, io.qt.gui.rhi.QRhi.@NonNull BeginFrameFlag @NonNull... flags) { return beginFrame(swapChain, new io.qt.gui.rhi.QRhi.BeginFrameFlags(flags)); } /** *

Overloaded function for {@link #beginOffscreenFrame(io.qt.gui.rhi.QRhiCommandBuffer[], io.qt.gui.rhi.QRhi.BeginFrameFlags)} * with flags = new io.qt.gui.rhi.QRhi.BeginFrameFlags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginOffscreenFrame(io.qt.gui.rhi.@Nullable QRhiCommandBuffer @StrictNonNull[] cb) { return beginOffscreenFrame(cb, new io.qt.gui.rhi.QRhi.BeginFrameFlags(0)); } /** *

Overloaded function for {@link #beginOffscreenFrame(io.qt.gui.rhi.QRhiCommandBuffer[], io.qt.gui.rhi.QRhi.BeginFrameFlags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult beginOffscreenFrame(io.qt.gui.rhi.@Nullable QRhiCommandBuffer @StrictNonNull[] cb, io.qt.gui.rhi.QRhi.@NonNull BeginFrameFlag @NonNull... flags) { return beginOffscreenFrame(cb, new io.qt.gui.rhi.QRhi.BeginFrameFlags(flags)); } /** *

Overloaded function for {@link #endFrame(io.qt.gui.rhi.QRhiSwapChain, io.qt.gui.rhi.QRhi.EndFrameFlags)} * with flags = new io.qt.gui.rhi.QRhi.EndFrameFlags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain) { return endFrame(swapChain, new io.qt.gui.rhi.QRhi.EndFrameFlags(0)); } /** *

Overloaded function for {@link #endFrame(io.qt.gui.rhi.QRhiSwapChain, io.qt.gui.rhi.QRhi.EndFrameFlags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endFrame(io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain, io.qt.gui.rhi.QRhi.@NonNull EndFrameFlag @NonNull... flags) { return endFrame(swapChain, new io.qt.gui.rhi.QRhi.EndFrameFlags(flags)); } /** *

Overloaded function for {@link #endOffscreenFrame(io.qt.gui.rhi.QRhi.EndFrameFlags)} * with flags = new io.qt.gui.rhi.QRhi.EndFrameFlags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endOffscreenFrame() { return endOffscreenFrame(new io.qt.gui.rhi.QRhi.EndFrameFlags(0)); } /** *

Overloaded function for {@link #endOffscreenFrame(io.qt.gui.rhi.QRhi.EndFrameFlags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.QRhi.@NonNull FrameOpResult endOffscreenFrame(io.qt.gui.rhi.QRhi.@NonNull EndFrameFlag @NonNull... flags) { return endOffscreenFrame(new io.qt.gui.rhi.QRhi.EndFrameFlags(flags)); } /** *

Overloaded function for {@link #isTextureFormatSupported(io.qt.gui.rhi.QRhiTexture.Format, io.qt.gui.rhi.QRhiTexture.Flags)} * with flags = new io.qt.gui.rhi.QRhiTexture.Flags(0).

*/ @QtUninvokable public final boolean isTextureFormatSupported(io.qt.gui.rhi.QRhiTexture.@NonNull Format format) { return isTextureFormatSupported(format, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #isTextureFormatSupported(io.qt.gui.rhi.QRhiTexture.Format, io.qt.gui.rhi.QRhiTexture.Flags)}.

*/ @QtUninvokable public final boolean isTextureFormatSupported(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.gui.rhi.QRhiTexture.@NonNull Flag @NonNull... flags) { return isTextureFormatSupported(format, new io.qt.gui.rhi.QRhiTexture.Flags(flags)); } /** *

Overloaded function for {@link #newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.Type, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiRenderBuffer.Flags, io.qt.gui.rhi.QRhiTexture.Format)} * with backingFormatHint = io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiRenderBuffer newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Type type, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Flags flags) { return newRenderBuffer(type, pixelSize, sampleCount, flags, io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat); } /** *

Overloaded function for {@link #newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.Type, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiRenderBuffer.Flags, io.qt.gui.rhi.QRhiTexture.Format)}

*

with:

    *
  • flags = new io.qt.gui.rhi.QRhiRenderBuffer.Flags(0)
  • *
  • backingFormatHint = io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat
  • *
*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiRenderBuffer newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Type type, io.qt.core.@NonNull QSize pixelSize, int sampleCount) { return newRenderBuffer(type, pixelSize, sampleCount, new io.qt.gui.rhi.QRhiRenderBuffer.Flags(0), io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat); } /** *

Overloaded function for {@link #newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.Type, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiRenderBuffer.Flags, io.qt.gui.rhi.QRhiTexture.Format)}

*

with:

    *
  • sampleCount = 1
  • *
  • flags = new io.qt.gui.rhi.QRhiRenderBuffer.Flags(0)
  • *
  • backingFormatHint = io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat
  • *
*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiRenderBuffer newRenderBuffer(io.qt.gui.rhi.QRhiRenderBuffer.@NonNull Type type, io.qt.core.@NonNull QSize pixelSize) { return newRenderBuffer(type, pixelSize, (int)1, new io.qt.gui.rhi.QRhiRenderBuffer.Flags(0), io.qt.gui.rhi.QRhiTexture.Format.UnknownFormat); } /** *

Overloaded function for {@link #newSampler(io.qt.gui.rhi.QRhiSampler.Filter, io.qt.gui.rhi.QRhiSampler.Filter, io.qt.gui.rhi.QRhiSampler.Filter, io.qt.gui.rhi.QRhiSampler.AddressMode, io.qt.gui.rhi.QRhiSampler.AddressMode, io.qt.gui.rhi.QRhiSampler.AddressMode)} * with addressW = io.qt.gui.rhi.QRhiSampler.AddressMode.Repeat.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiSampler newSampler(io.qt.gui.rhi.QRhiSampler.@NonNull Filter magFilter, io.qt.gui.rhi.QRhiSampler.@NonNull Filter minFilter, io.qt.gui.rhi.QRhiSampler.@NonNull Filter mipmapMode, io.qt.gui.rhi.QRhiSampler.@NonNull AddressMode addressU, io.qt.gui.rhi.QRhiSampler.@NonNull AddressMode addressV) { return newSampler(magFilter, minFilter, mipmapMode, addressU, addressV, io.qt.gui.rhi.QRhiSampler.AddressMode.Repeat); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)} * with flags = new io.qt.gui.rhi.QRhiTexture.Flags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.core.@NonNull QSize pixelSize, int sampleCount) { return newTexture(format, pixelSize, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)}

*

with:

    *
  • sampleCount = 1
  • *
  • flags = new io.qt.gui.rhi.QRhiTexture.Flags(0)
  • *
*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.core.@NonNull QSize pixelSize) { return newTexture(format, pixelSize, (int)1, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flag @NonNull... flags) { return newTexture(format, pixelSize, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(flags)); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, int, int, int, int, io.qt.gui.rhi.QRhiTexture.Flags)} * with flags = new io.qt.gui.rhi.QRhiTexture.Flags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int width, int height, int depth, int sampleCount) { return newTexture(format, width, height, depth, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, int, int, int, int, io.qt.gui.rhi.QRhiTexture.Flags)}

*

with:

    *
  • sampleCount = 1
  • *
  • flags = new io.qt.gui.rhi.QRhiTexture.Flags(0)
  • *
*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int width, int height, int depth) { return newTexture(format, width, height, depth, (int)1, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTexture(io.qt.gui.rhi.QRhiTexture.Format, int, int, int, int, io.qt.gui.rhi.QRhiTexture.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTexture(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int width, int height, int depth, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flag @NonNull... flags) { return newTexture(format, width, height, depth, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(flags)); } /** *

Overloaded function for {@link #newTextureArray(io.qt.gui.rhi.QRhiTexture.Format, int, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)} * with flags = new io.qt.gui.rhi.QRhiTexture.Flags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTextureArray(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int arraySize, io.qt.core.@NonNull QSize pixelSize, int sampleCount) { return newTextureArray(format, arraySize, pixelSize, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTextureArray(io.qt.gui.rhi.QRhiTexture.Format, int, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)}

*

with:

    *
  • sampleCount = 1
  • *
  • flags = new io.qt.gui.rhi.QRhiTexture.Flags(0)
  • *
*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTextureArray(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int arraySize, io.qt.core.@NonNull QSize pixelSize) { return newTextureArray(format, arraySize, pixelSize, (int)1, new io.qt.gui.rhi.QRhiTexture.Flags(0)); } /** *

Overloaded function for {@link #newTextureArray(io.qt.gui.rhi.QRhiTexture.Format, int, io.qt.core.QSize, int, io.qt.gui.rhi.QRhiTexture.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTexture newTextureArray(io.qt.gui.rhi.QRhiTexture.@NonNull Format format, int arraySize, io.qt.core.@NonNull QSize pixelSize, int sampleCount, io.qt.gui.rhi.QRhiTexture.@NonNull Flag @NonNull... flags) { return newTextureArray(format, arraySize, pixelSize, sampleCount, new io.qt.gui.rhi.QRhiTexture.Flags(flags)); } /** *

Overloaded function for {@link #newTextureRenderTarget(io.qt.gui.rhi.QRhiTextureRenderTargetDescription, io.qt.gui.rhi.QRhiTextureRenderTarget.Flags)} * with flags = new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiTextureRenderTargetDescription desc) { return newTextureRenderTarget(desc, new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(0)); } /** *

Overloaded function for {@link #newTextureRenderTarget(io.qt.gui.rhi.QRhiColorAttachment, io.qt.gui.rhi.QRhiTextureRenderTarget.Flags)} * with flags = new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(0).

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment desc) { return newTextureRenderTarget(desc, new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(0)); } /** *

Overloaded function for {@link #newTextureRenderTarget(io.qt.gui.rhi.QRhiTextureRenderTargetDescription, io.qt.gui.rhi.QRhiTextureRenderTarget.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment desc, io.qt.gui.rhi.QRhiTextureRenderTarget.@NonNull Flags flags) { return newTextureRenderTarget(new io.qt.gui.rhi.QRhiTextureRenderTargetDescription(desc), flags); } /** *

Overloaded function for {@link #newTextureRenderTarget(io.qt.gui.rhi.QRhiTextureRenderTargetDescription, io.qt.gui.rhi.QRhiTextureRenderTarget.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiTextureRenderTargetDescription desc, io.qt.gui.rhi.QRhiTextureRenderTarget.@NonNull Flag @NonNull... flags) { return newTextureRenderTarget(desc, new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(flags)); } /** *

Overloaded function for {@link #newTextureRenderTarget(io.qt.gui.rhi.QRhiTextureRenderTargetDescription, io.qt.gui.rhi.QRhiTextureRenderTarget.Flags)}.

*/ @QtUninvokable public final io.qt.gui.rhi.@Nullable QRhiTextureRenderTarget newTextureRenderTarget(io.qt.gui.rhi.@StrictNonNull QRhiColorAttachment desc, io.qt.gui.rhi.QRhiTextureRenderTarget.@NonNull Flag @NonNull... flags) { return newTextureRenderTarget(new io.qt.gui.rhi.QRhiTextureRenderTargetDescription(desc), new io.qt.gui.rhi.QRhiTextureRenderTarget.Flags(flags)); } /** *

Overloaded function for {@link #setPipelineCacheData(io.qt.core.QByteArray)}.

*/ @QtUninvokable public final void setPipelineCacheData(byte @NonNull[] data) { setPipelineCacheData(new io.qt.core.QByteArray(data)); } /** *

Overloaded function for {@link #create(io.qt.gui.rhi.QRhi.Implementation, io.qt.gui.rhi.QRhiInitParams, io.qt.gui.rhi.QRhi.Flags, io.qt.gui.rhi.QRhiNativeHandles)} * with importDevice = null.

*/ public static io.qt.gui.rhi.@Nullable QRhi create(io.qt.gui.rhi.QRhi.@NonNull Implementation impl, io.qt.gui.rhi.@Nullable QRhiInitParams params, io.qt.gui.rhi.QRhi.@NonNull Flags flags) { return create(impl, params, flags, (io.qt.gui.rhi.QRhiNativeHandles)null); } /** *

Overloaded function for {@link #create(io.qt.gui.rhi.QRhi.Implementation, io.qt.gui.rhi.QRhiInitParams, io.qt.gui.rhi.QRhi.Flags, io.qt.gui.rhi.QRhiNativeHandles)}

*

with:

    *
  • flags = new io.qt.gui.rhi.QRhi.Flags(0)
  • *
  • importDevice = null
  • *
*/ public static io.qt.gui.rhi.@Nullable QRhi create(io.qt.gui.rhi.QRhi.@NonNull Implementation impl, io.qt.gui.rhi.@Nullable QRhiInitParams params) { return create(impl, params, new io.qt.gui.rhi.QRhi.Flags(0), (io.qt.gui.rhi.QRhiNativeHandles)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #MAX_MIP_LEVELS()} instead.

*/ private static int getMAX_MIP_LEVELS() { return MAX_MIP_LEVELS(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy