io.qt.gui.rhi.QRhiGraphicsPipeline Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui.rhi;
import io.qt.*;
/**
* Graphics pipeline state resource
* Java wrapper for Qt class QRhiGraphicsPipeline
* This class was introduced in Qt 6.6.
*/
public abstract class QRhiGraphicsPipeline extends io.qt.gui.rhi.QRhiResource
{
@QtPropertyMember(enabled=false)
private Object __rcRenderPassDescriptor = null;
@QtPropertyMember(enabled=false)
private Object __rcShaderResourceBindings = null;
@NativeAccess
private static final class ConcreteWrapper extends QRhiGraphicsPipeline {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean create(){
return create_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean create_native(long __this__nativeId);
@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 QRhiGraphicsPipeline::BlendFactor
*/
public enum BlendFactor implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: Zero
*/
Zero(0),
/**
* Representing QRhiGraphicsPipeline:: One
*/
One(1),
/**
* Representing QRhiGraphicsPipeline:: SrcColor
*/
SrcColor(2),
/**
* Representing QRhiGraphicsPipeline:: OneMinusSrcColor
*/
OneMinusSrcColor(3),
/**
* Representing QRhiGraphicsPipeline:: DstColor
*/
DstColor(4),
/**
* Representing QRhiGraphicsPipeline:: OneMinusDstColor
*/
OneMinusDstColor(5),
/**
* Representing QRhiGraphicsPipeline:: SrcAlpha
*/
SrcAlpha(6),
/**
* Representing QRhiGraphicsPipeline:: OneMinusSrcAlpha
*/
OneMinusSrcAlpha(7),
/**
* Representing QRhiGraphicsPipeline:: DstAlpha
*/
DstAlpha(8),
/**
* Representing QRhiGraphicsPipeline:: OneMinusDstAlpha
*/
OneMinusDstAlpha(9),
/**
* Representing QRhiGraphicsPipeline:: ConstantColor
*/
ConstantColor(10),
/**
* Representing QRhiGraphicsPipeline:: OneMinusConstantColor
*/
OneMinusConstantColor(11),
/**
* Representing QRhiGraphicsPipeline:: ConstantAlpha
*/
ConstantAlpha(12),
/**
* Representing QRhiGraphicsPipeline:: OneMinusConstantAlpha
*/
OneMinusConstantAlpha(13),
/**
* Representing QRhiGraphicsPipeline:: SrcAlphaSaturate
*/
SrcAlphaSaturate(14),
/**
* Representing QRhiGraphicsPipeline:: Src1Color
*/
Src1Color(15),
/**
* Representing QRhiGraphicsPipeline:: OneMinusSrc1Color
*/
OneMinusSrc1Color(16),
/**
* Representing QRhiGraphicsPipeline:: Src1Alpha
*/
Src1Alpha(17),
/**
* Representing QRhiGraphicsPipeline:: OneMinusSrc1Alpha
*/
OneMinusSrc1Alpha(18);
static {
QtJambi_LibraryUtilities.initialize();
}
private BlendFactor(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 BlendFactor resolve(int value) {
switch (value) {
case 0: return Zero;
case 1: return One;
case 2: return SrcColor;
case 3: return OneMinusSrcColor;
case 4: return DstColor;
case 5: return OneMinusDstColor;
case 6: return SrcAlpha;
case 7: return OneMinusSrcAlpha;
case 8: return DstAlpha;
case 9: return OneMinusDstAlpha;
case 10: return ConstantColor;
case 11: return OneMinusConstantColor;
case 12: return ConstantAlpha;
case 13: return OneMinusConstantAlpha;
case 14: return SrcAlphaSaturate;
case 15: return Src1Color;
case 16: return OneMinusSrc1Color;
case 17: return Src1Alpha;
case 18: return OneMinusSrc1Alpha;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::BlendOp
*/
public enum BlendOp implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: Add
*/
Add(0),
/**
* Representing QRhiGraphicsPipeline:: Subtract
*/
Subtract(1),
/**
* Representing QRhiGraphicsPipeline:: ReverseSubtract
*/
ReverseSubtract(2),
/**
* Representing QRhiGraphicsPipeline:: Min
*/
Min(3),
/**
* Representing QRhiGraphicsPipeline:: Max
*/
Max(4);
static {
QtJambi_LibraryUtilities.initialize();
}
private BlendOp(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 BlendOp resolve(int value) {
switch (value) {
case 0: return Add;
case 1: return Subtract;
case 2: return ReverseSubtract;
case 3: return Min;
case 4: return Max;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::ColorMaskComponent
*
* @see ColorMask
*/
public enum ColorMaskComponent implements QtFlagEnumerator {
/**
* Representing QRhiGraphicsPipeline:: R
*/
R(1),
/**
* Representing QRhiGraphicsPipeline:: G
*/
G(2),
/**
* Representing QRhiGraphicsPipeline:: B
*/
B(4),
/**
* Representing QRhiGraphicsPipeline:: A
*/
A(8);
static {
QtJambi_LibraryUtilities.initialize();
}
private ColorMaskComponent(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
public @NonNull ColorMask asFlags() {
return new ColorMask(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull ColorMask combined(@NonNull ColorMaskComponent 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 ColorMask cleared(@NonNull ColorMaskComponent e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link ColorMask} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull ColorMask flags(@Nullable ColorMaskComponent @NonNull... values) {
return new ColorMask(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ColorMaskComponent resolve(int value) {
switch (value) {
case 1: return R;
case 2: return G;
case 4: return B;
case 8: return A;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link ColorMaskComponent}
*/
public static final class ColorMask extends QFlags implements Comparable {
private static final long serialVersionUID = 0xb6e9f22153371f6aL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new ColorMask where the flags in args
are set.
* @param args enum entries
*/
public ColorMask(@Nullable ColorMaskComponent @NonNull... args){
super(args);
}
/**
* Creates a new ColorMask with given value
.
* @param value
*/
public ColorMask(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new ColorMask
*/
@Override
public final @NonNull ColorMask combined(@StrictNonNull ColorMaskComponent e){
return new ColorMask(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
@Override
public final @NonNull ColorMask setFlag(@Nullable ColorMaskComponent 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 ColorMask setFlag(@Nullable ColorMaskComponent 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 ColorMask.
* @return array of enum entries
*/
@Override
public final @NonNull ColorMaskComponent @NonNull[] flags(){
return super.flags(ColorMaskComponent.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull ColorMask clone(){
return new ColorMask(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull ColorMask other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::CompareOp
*/
public enum CompareOp implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: Never
*/
Never(0),
/**
* Representing QRhiGraphicsPipeline:: Less
*/
Less(1),
/**
* Representing QRhiGraphicsPipeline:: Equal
*/
Equal(2),
/**
* Representing QRhiGraphicsPipeline:: LessOrEqual
*/
LessOrEqual(3),
/**
* Representing QRhiGraphicsPipeline:: Greater
*/
Greater(4),
/**
* Representing QRhiGraphicsPipeline:: NotEqual
*/
NotEqual(5),
/**
* Representing QRhiGraphicsPipeline:: GreaterOrEqual
*/
GreaterOrEqual(6),
/**
* Representing QRhiGraphicsPipeline:: Always
*/
Always(7);
static {
QtJambi_LibraryUtilities.initialize();
}
private CompareOp(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 CompareOp resolve(int value) {
switch (value) {
case 0: return Never;
case 1: return Less;
case 2: return Equal;
case 3: return LessOrEqual;
case 4: return Greater;
case 5: return NotEqual;
case 6: return GreaterOrEqual;
case 7: return Always;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::CullMode
*/
public enum CullMode implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: None
*/
None(0),
/**
* Representing QRhiGraphicsPipeline:: Front
*/
Front(1),
/**
* Representing QRhiGraphicsPipeline:: Back
*/
Back(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private CullMode(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 CullMode resolve(int value) {
switch (value) {
case 0: return None;
case 1: return Front;
case 2: return Back;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::Flag
*
* @see Flags
*/
public enum Flag implements QtFlagEnumerator {
/**
* Representing QRhiGraphicsPipeline:: UsesBlendConstants
*/
UsesBlendConstants(1),
/**
* Representing QRhiGraphicsPipeline:: UsesStencilRef
*/
UsesStencilRef(2),
/**
* Representing QRhiGraphicsPipeline:: UsesScissor
*/
UsesScissor(4),
/**
* Representing QRhiGraphicsPipeline:: CompileShadersWithDebugInfo
*/
CompileShadersWithDebugInfo(8);
static {
QtJambi_LibraryUtilities.initialize();
}
private Flag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
@Override
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
@Override
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 UsesBlendConstants;
case 2: return UsesStencilRef;
case 4: return UsesScissor;
case 8: return CompileShadersWithDebugInfo;
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
*/
@Override
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
*/
@Override
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 QRhiGraphicsPipeline::FrontFace
*/
public enum FrontFace implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: CCW
*/
CCW(0),
/**
* Representing QRhiGraphicsPipeline:: CW
*/
CW(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private FrontFace(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 FrontFace resolve(int value) {
switch (value) {
case 0: return CCW;
case 1: return CW;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::PolygonMode
*/
public enum PolygonMode implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: Fill
*/
Fill(0),
/**
* Representing QRhiGraphicsPipeline:: Line
*/
Line(1);
static {
QtJambi_LibraryUtilities.initialize();
}
private PolygonMode(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 PolygonMode resolve(int value) {
switch (value) {
case 0: return Fill;
case 1: return Line;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::StencilOp
*/
public enum StencilOp implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: StencilZero
*/
StencilZero(0),
/**
* Representing QRhiGraphicsPipeline:: Keep
*/
Keep(1),
/**
* Representing QRhiGraphicsPipeline:: Replace
*/
Replace(2),
/**
* Representing QRhiGraphicsPipeline:: IncrementAndClamp
*/
IncrementAndClamp(3),
/**
* Representing QRhiGraphicsPipeline:: DecrementAndClamp
*/
DecrementAndClamp(4),
/**
* Representing QRhiGraphicsPipeline:: Invert
*/
Invert(5),
/**
* Representing QRhiGraphicsPipeline:: IncrementAndWrap
*/
IncrementAndWrap(6),
/**
* Representing QRhiGraphicsPipeline:: DecrementAndWrap
*/
DecrementAndWrap(7);
static {
QtJambi_LibraryUtilities.initialize();
}
private StencilOp(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 StencilOp resolve(int value) {
switch (value) {
case 0: return StencilZero;
case 1: return Keep;
case 2: return Replace;
case 3: return IncrementAndClamp;
case 4: return DecrementAndClamp;
case 5: return Invert;
case 6: return IncrementAndWrap;
case 7: return DecrementAndWrap;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QRhiGraphicsPipeline::Topology
*/
public enum Topology implements QtEnumerator {
/**
* Representing QRhiGraphicsPipeline:: Triangles
*/
Triangles(0),
/**
* Representing QRhiGraphicsPipeline:: TriangleStrip
*/
TriangleStrip(1),
/**
* Representing QRhiGraphicsPipeline:: TriangleFan
*/
TriangleFan(2),
/**
* Representing QRhiGraphicsPipeline:: Lines
*/
Lines(3),
/**
* Representing QRhiGraphicsPipeline:: LineStrip
*/
LineStrip(4),
/**
* Representing QRhiGraphicsPipeline:: Points
*/
Points(5),
/**
* Representing QRhiGraphicsPipeline:: Patches
*/
Patches(6);
static {
QtJambi_LibraryUtilities.initialize();
}
private Topology(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 Topology resolve(int value) {
switch (value) {
case 0: return Triangles;
case 1: return TriangleStrip;
case 2: return TriangleFan;
case 3: return Lines;
case 4: return LineStrip;
case 5: return Points;
case 6: return Patches;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Describes the blend state for one color attachment
* Java wrapper for Qt class QRhiGraphicsPipeline::TargetBlend
* This class was introduced in Qt 6.6.
*/
public static class TargetBlend extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRhiGraphicsPipeline::TargetBlend:: TargetBlend()
*/
public TargetBlend(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(TargetBlend instance);
/**
* See QRhiGraphicsPipeline::TargetBlend:: TargetBlend(QRhiGraphicsPipeline::TargetBlend)
*/
public TargetBlend(io.qt.gui.rhi.QRhiGraphicsPipeline.@StrictNonNull TargetBlend other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(TargetBlend instance, io.qt.gui.rhi.QRhiGraphicsPipeline.TargetBlend other);
/**
* See QRhiGraphicsPipeline::TargetBlend:: TargetBlend{QRhiGraphicsPipeline::ColorMask, bool, QRhiGraphicsPipeline::BlendFactor, QRhiGraphicsPipeline::BlendFactor, QRhiGraphicsPipeline::BlendOp, QRhiGraphicsPipeline::BlendFactor, QRhiGraphicsPipeline::BlendFactor, QRhiGraphicsPipeline::BlendOp}
*/
public TargetBlend(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull ColorMask colorWrite, boolean enable, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcColor, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstColor, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opColor, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcAlpha, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstAlpha, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opAlpha){
super((QPrivateConstructor)null);
initialize_native(this, colorWrite, enable, srcColor, dstColor, opColor, srcAlpha, dstAlpha, opAlpha);
}
private native static void initialize_native(TargetBlend instance, io.qt.gui.rhi.QRhiGraphicsPipeline.ColorMask colorWrite, boolean enable, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor srcColor, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor dstColor, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendOp opColor, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor srcAlpha, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor dstAlpha, io.qt.gui.rhi.QRhiGraphicsPipeline.BlendOp opAlpha);
/**
* See QRhiGraphicsPipeline::TargetBlend:: colorWrite
*/
@QtUninvokable
public final void setColorWrite(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull ColorMask colorWrite){
setColorWrite_native_cref_QRhiGraphicsPipeline_ColorMask(QtJambi_LibraryUtilities.internal.nativeId(this), colorWrite.value());
}
@QtUninvokable
private native void setColorWrite_native_cref_QRhiGraphicsPipeline_ColorMask(long __this__nativeId, int colorWrite);
/**
* See QRhiGraphicsPipeline::TargetBlend:: colorWrite
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull ColorMask colorWrite(){
return new io.qt.gui.rhi.QRhiGraphicsPipeline.ColorMask(colorWrite_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int colorWrite_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: dstAlpha
*/
@QtUninvokable
public final void setDstAlpha(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstAlpha){
setDstAlpha_native_cref_QRhiGraphicsPipeline_BlendFactor(QtJambi_LibraryUtilities.internal.nativeId(this), dstAlpha.value());
}
@QtUninvokable
private native void setDstAlpha_native_cref_QRhiGraphicsPipeline_BlendFactor(long __this__nativeId, int dstAlpha);
/**
* See QRhiGraphicsPipeline::TargetBlend:: dstAlpha
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstAlpha(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor.resolve(dstAlpha_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int dstAlpha_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: dstColor
*/
@QtUninvokable
public final void setDstColor(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstColor){
setDstColor_native_cref_QRhiGraphicsPipeline_BlendFactor(QtJambi_LibraryUtilities.internal.nativeId(this), dstColor.value());
}
@QtUninvokable
private native void setDstColor_native_cref_QRhiGraphicsPipeline_BlendFactor(long __this__nativeId, int dstColor);
/**
* See QRhiGraphicsPipeline::TargetBlend:: dstColor
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor dstColor(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor.resolve(dstColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int dstColor_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: enable
*/
@QtUninvokable
public final void setEnable(boolean enable){
setEnable_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setEnable_native_bool(long __this__nativeId, boolean enable);
/**
* See QRhiGraphicsPipeline::TargetBlend:: enable
*/
@QtUninvokable
public final boolean enable(){
return enable_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean enable_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: opAlpha
*/
@QtUninvokable
public final void setOpAlpha(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opAlpha){
setOpAlpha_native_cref_QRhiGraphicsPipeline_BlendOp(QtJambi_LibraryUtilities.internal.nativeId(this), opAlpha.value());
}
@QtUninvokable
private native void setOpAlpha_native_cref_QRhiGraphicsPipeline_BlendOp(long __this__nativeId, int opAlpha);
/**
* See QRhiGraphicsPipeline::TargetBlend:: opAlpha
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opAlpha(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendOp.resolve(opAlpha_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int opAlpha_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: opColor
*/
@QtUninvokable
public final void setOpColor(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opColor){
setOpColor_native_cref_QRhiGraphicsPipeline_BlendOp(QtJambi_LibraryUtilities.internal.nativeId(this), opColor.value());
}
@QtUninvokable
private native void setOpColor_native_cref_QRhiGraphicsPipeline_BlendOp(long __this__nativeId, int opColor);
/**
* See QRhiGraphicsPipeline::TargetBlend:: opColor
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp opColor(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendOp.resolve(opColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int opColor_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: srcAlpha
*/
@QtUninvokable
public final void setSrcAlpha(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcAlpha){
setSrcAlpha_native_cref_QRhiGraphicsPipeline_BlendFactor(QtJambi_LibraryUtilities.internal.nativeId(this), srcAlpha.value());
}
@QtUninvokable
private native void setSrcAlpha_native_cref_QRhiGraphicsPipeline_BlendFactor(long __this__nativeId, int srcAlpha);
/**
* See QRhiGraphicsPipeline::TargetBlend:: srcAlpha
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcAlpha(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor.resolve(srcAlpha_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int srcAlpha_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::TargetBlend:: srcColor
*/
@QtUninvokable
public final void setSrcColor(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcColor){
setSrcColor_native_cref_QRhiGraphicsPipeline_BlendFactor(QtJambi_LibraryUtilities.internal.nativeId(this), srcColor.value());
}
@QtUninvokable
private native void setSrcColor_native_cref_QRhiGraphicsPipeline_BlendFactor(long __this__nativeId, int srcColor);
/**
* See QRhiGraphicsPipeline::TargetBlend:: srcColor
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor srcColor(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.BlendFactor.resolve(srcColor_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int srcColor_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected TargetBlend(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QRhiGraphicsPipeline::TargetBlend:: TargetBlend(QRhiGraphicsPipeline::TargetBlend)
*/
@QtUninvokable
@Override
public TargetBlend clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native TargetBlend clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #setColorWrite(io.qt.gui.rhi.QRhiGraphicsPipeline.ColorMask)}.
*/
@QtUninvokable
public final void setColorWrite(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull ColorMaskComponent @NonNull... colorWrite) {
setColorWrite(new io.qt.gui.rhi.QRhiGraphicsPipeline.ColorMask(colorWrite));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #colorWrite()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull ColorMask getColorWrite() {
return colorWrite();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dstAlpha()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor getDstAlpha() {
return dstAlpha();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dstColor()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor getDstColor() {
return dstColor();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #enable()} instead.
*/
@QtUninvokable
public final boolean getEnable() {
return enable();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #opAlpha()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp getOpAlpha() {
return opAlpha();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #opColor()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendOp getOpColor() {
return opColor();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #srcAlpha()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor getSrcAlpha() {
return srcAlpha();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #srcColor()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull BlendFactor getSrcColor() {
return srcColor();
}
}
/**
* Describes the stencil operation state
* Java wrapper for Qt class QRhiGraphicsPipeline::StencilOpState
* This class was introduced in Qt 6.6.
*/
public static class StencilOpState extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRhiGraphicsPipeline::StencilOpState:: StencilOpState()
*/
public StencilOpState(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(StencilOpState instance);
/**
* See QRhiGraphicsPipeline::StencilOpState:: StencilOpState(QRhiGraphicsPipeline::StencilOpState)
*/
public StencilOpState(io.qt.gui.rhi.QRhiGraphicsPipeline.@StrictNonNull StencilOpState other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(StencilOpState instance, io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOpState other);
/**
* See QRhiGraphicsPipeline::StencilOpState:: StencilOpState{QRhiGraphicsPipeline::StencilOp, QRhiGraphicsPipeline::StencilOp, QRhiGraphicsPipeline::StencilOp, QRhiGraphicsPipeline::CompareOp}
*/
public StencilOpState(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp failOp, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp depthFailOp, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp passOp, io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp compareOp){
super((QPrivateConstructor)null);
initialize_native(this, failOp, depthFailOp, passOp, compareOp);
}
private native static void initialize_native(StencilOpState instance, io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp failOp, io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp depthFailOp, io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp passOp, io.qt.gui.rhi.QRhiGraphicsPipeline.CompareOp compareOp);
/**
* See QRhiGraphicsPipeline::StencilOpState:: compareOp
*/
@QtUninvokable
public final void setCompareOp(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp compareOp){
setCompareOp_native_cref_QRhiGraphicsPipeline_CompareOp(QtJambi_LibraryUtilities.internal.nativeId(this), compareOp.value());
}
@QtUninvokable
private native void setCompareOp_native_cref_QRhiGraphicsPipeline_CompareOp(long __this__nativeId, int compareOp);
/**
* See QRhiGraphicsPipeline::StencilOpState:: compareOp
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp compareOp(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.CompareOp.resolve(compareOp_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int compareOp_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::StencilOpState:: depthFailOp
*/
@QtUninvokable
public final void setDepthFailOp(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp depthFailOp){
setDepthFailOp_native_cref_QRhiGraphicsPipeline_StencilOp(QtJambi_LibraryUtilities.internal.nativeId(this), depthFailOp.value());
}
@QtUninvokable
private native void setDepthFailOp_native_cref_QRhiGraphicsPipeline_StencilOp(long __this__nativeId, int depthFailOp);
/**
* See QRhiGraphicsPipeline::StencilOpState:: depthFailOp
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp depthFailOp(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp.resolve(depthFailOp_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int depthFailOp_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::StencilOpState:: failOp
*/
@QtUninvokable
public final void setFailOp(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp failOp){
setFailOp_native_cref_QRhiGraphicsPipeline_StencilOp(QtJambi_LibraryUtilities.internal.nativeId(this), failOp.value());
}
@QtUninvokable
private native void setFailOp_native_cref_QRhiGraphicsPipeline_StencilOp(long __this__nativeId, int failOp);
/**
* See QRhiGraphicsPipeline::StencilOpState:: failOp
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp failOp(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp.resolve(failOp_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int failOp_native(long __this__nativeId);
/**
* See QRhiGraphicsPipeline::StencilOpState:: passOp
*/
@QtUninvokable
public final void setPassOp(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp passOp){
setPassOp_native_cref_QRhiGraphicsPipeline_StencilOp(QtJambi_LibraryUtilities.internal.nativeId(this), passOp.value());
}
@QtUninvokable
private native void setPassOp_native_cref_QRhiGraphicsPipeline_StencilOp(long __this__nativeId, int passOp);
/**
* See QRhiGraphicsPipeline::StencilOpState:: passOp
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp passOp(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOp.resolve(passOp_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int passOp_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected StencilOpState(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QRhiGraphicsPipeline::StencilOpState:: StencilOpState(QRhiGraphicsPipeline::StencilOpState)
*/
@QtUninvokable
@Override
public StencilOpState clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native StencilOpState clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #compareOp()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp getCompareOp() {
return compareOp();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #depthFailOp()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp getDepthFailOp() {
return depthFailOp();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #failOp()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp getFailOp() {
return failOp();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #passOp()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOp getPassOp() {
return passOp();
}
}
/**
* See QRhiGraphicsPipeline:: cullMode()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CullMode cullMode(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.CullMode.resolve(cullMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int cullMode_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: depthBias()const
*/
@QtUninvokable
public final int depthBias(){
return depthBias_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int depthBias_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: depthOp()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp depthOp(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.CompareOp.resolve(depthOp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int depthOp_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: flags()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull Flags flags(){
return new io.qt.gui.rhi.QRhiGraphicsPipeline.Flags(flags_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int flags_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: frontFace()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull FrontFace frontFace(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.FrontFace.resolve(frontFace_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int frontFace_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: hasDepthTest()const
*/
@QtUninvokable
public final boolean hasDepthTest(){
return hasDepthTest_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasDepthTest_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: hasDepthWrite()const
*/
@QtUninvokable
public final boolean hasDepthWrite(){
return hasDepthWrite_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasDepthWrite_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: hasStencilTest()const
*/
@QtUninvokable
public final boolean hasStencilTest(){
return hasStencilTest_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasStencilTest_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: lineWidth()const
*/
@QtUninvokable
public final float lineWidth(){
return lineWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float lineWidth_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: multiViewCount()const
* This function was introduced in Qt 6.7.
*/
@QtUninvokable
public final int multiViewCount(){
return multiViewCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int multiViewCount_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: patchControlPointCount()const
*/
@QtUninvokable
public final int patchControlPointCount(){
return patchControlPointCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int patchControlPointCount_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: polygonMode()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull PolygonMode polygonMode(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.PolygonMode.resolve(polygonMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int polygonMode_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: renderPassDescriptor()const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiRenderPassDescriptor renderPassDescriptor(){
return renderPassDescriptor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiRenderPassDescriptor renderPassDescriptor_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: sampleCount()const
*/
@QtUninvokable
public final int sampleCount(){
return sampleCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int sampleCount_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: setCullMode(QRhiGraphicsPipeline::CullMode)
*/
@QtUninvokable
public final void setCullMode(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CullMode mode){
setCullMode_native_QRhiGraphicsPipeline_CullMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setCullMode_native_QRhiGraphicsPipeline_CullMode(long __this__nativeId, int mode);
/**
* See QRhiGraphicsPipeline:: setDepthBias(int)
*/
@QtUninvokable
public final void setDepthBias(int bias){
setDepthBias_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), bias);
}
@QtUninvokable
private native void setDepthBias_native_int(long __this__nativeId, int bias);
/**
* See QRhiGraphicsPipeline:: setDepthOp(QRhiGraphicsPipeline::CompareOp)
*/
@QtUninvokable
public final void setDepthOp(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull CompareOp op){
setDepthOp_native_QRhiGraphicsPipeline_CompareOp(QtJambi_LibraryUtilities.internal.nativeId(this), op.value());
}
@QtUninvokable
private native void setDepthOp_native_QRhiGraphicsPipeline_CompareOp(long __this__nativeId, int op);
/**
* See QRhiGraphicsPipeline:: setDepthTest(bool)
*/
@QtUninvokable
public final void setDepthTest(boolean enable){
setDepthTest_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setDepthTest_native_bool(long __this__nativeId, boolean enable);
/**
* See QRhiGraphicsPipeline:: setDepthWrite(bool)
*/
@QtUninvokable
public final void setDepthWrite(boolean enable){
setDepthWrite_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setDepthWrite_native_bool(long __this__nativeId, boolean enable);
/**
* See QRhiGraphicsPipeline:: setFlags(QRhiGraphicsPipeline::Flags)
*/
@QtUninvokable
public final void setFlags(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull Flags f){
setFlags_native_QRhiGraphicsPipeline_Flags(QtJambi_LibraryUtilities.internal.nativeId(this), f.value());
}
@QtUninvokable
private native void setFlags_native_QRhiGraphicsPipeline_Flags(long __this__nativeId, int f);
/**
* See QRhiGraphicsPipeline:: setFrontFace(QRhiGraphicsPipeline::FrontFace)
*/
@QtUninvokable
public final void setFrontFace(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull FrontFace f){
setFrontFace_native_QRhiGraphicsPipeline_FrontFace(QtJambi_LibraryUtilities.internal.nativeId(this), f.value());
}
@QtUninvokable
private native void setFrontFace_native_QRhiGraphicsPipeline_FrontFace(long __this__nativeId, int f);
/**
* See QRhiGraphicsPipeline:: setLineWidth(float)
*/
@QtUninvokable
public final void setLineWidth(float width){
setLineWidth_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), width);
}
@QtUninvokable
private native void setLineWidth_native_float(long __this__nativeId, float width);
/**
* See QRhiGraphicsPipeline:: setMultiViewCount(int)
* This function was introduced in Qt 6.7.
*/
@QtUninvokable
public final void setMultiViewCount(int count){
setMultiViewCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@QtUninvokable
private native void setMultiViewCount_native_int(long __this__nativeId, int count);
/**
* See QRhiGraphicsPipeline:: setPatchControlPointCount(int)
*/
@QtUninvokable
public final void setPatchControlPointCount(int count){
setPatchControlPointCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), count);
}
@QtUninvokable
private native void setPatchControlPointCount_native_int(long __this__nativeId, int count);
/**
* See QRhiGraphicsPipeline:: setPolygonMode(QRhiGraphicsPipeline::PolygonMode)
*/
@QtUninvokable
public final void setPolygonMode(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull PolygonMode mode){
setPolygonMode_native_QRhiGraphicsPipeline_PolygonMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@QtUninvokable
private native void setPolygonMode_native_QRhiGraphicsPipeline_PolygonMode(long __this__nativeId, int mode);
/**
* See QRhiGraphicsPipeline:: setRenderPassDescriptor(QRhiRenderPassDescriptor*)
*/
@QtUninvokable
public final void setRenderPassDescriptor(io.qt.gui.rhi.@Nullable QRhiRenderPassDescriptor desc){
setRenderPassDescriptor_native_QRhiRenderPassDescriptor_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(desc));
__rcRenderPassDescriptor = desc;
}
@QtUninvokable
private native void setRenderPassDescriptor_native_QRhiRenderPassDescriptor_ptr(long __this__nativeId, long desc);
/**
* See QRhiGraphicsPipeline:: setSampleCount(int)
*/
@QtUninvokable
public final void setSampleCount(int s){
setSampleCount_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@QtUninvokable
private native void setSampleCount_native_int(long __this__nativeId, int s);
/**
* See QRhiGraphicsPipeline:: setShaderResourceBindings(QRhiShaderResourceBindings*)
*/
@QtUninvokable
public final void setShaderResourceBindings(io.qt.gui.rhi.@Nullable QRhiShaderResourceBindings srb){
setShaderResourceBindings_native_QRhiShaderResourceBindings_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(srb));
__rcShaderResourceBindings = srb;
}
@QtUninvokable
private native void setShaderResourceBindings_native_QRhiShaderResourceBindings_ptr(long __this__nativeId, long srb);
/**
* See QRhiGraphicsPipeline:: setShaderStages(std::initializer_list<QRhiShaderStage>)
*/
@QtUninvokable
public final void setShaderStages(io.qt.gui.rhi.@NonNull QRhiShaderStage@NonNull ... list){
setShaderStages_native_std_initializer_list(QtJambi_LibraryUtilities.internal.nativeId(this), list);
}
@QtUninvokable
private native void setShaderStages_native_std_initializer_list(long __this__nativeId, io.qt.gui.rhi.QRhiShaderStage[] list);
/**
* See QRhiGraphicsPipeline:: setSlopeScaledDepthBias(float)
*/
@QtUninvokable
public final void setSlopeScaledDepthBias(float bias){
setSlopeScaledDepthBias_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), bias);
}
@QtUninvokable
private native void setSlopeScaledDepthBias_native_float(long __this__nativeId, float bias);
/**
* See QRhiGraphicsPipeline:: setStencilBack(QRhiGraphicsPipeline::StencilOpState)
*/
@QtUninvokable
public final void setStencilBack(io.qt.gui.rhi.QRhiGraphicsPipeline.@StrictNonNull StencilOpState state){
java.util.Objects.requireNonNull(state, "Argument 'state': null not expected.");
setStencilBack_native_cref_QRhiGraphicsPipeline_StencilOpState(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state));
}
@QtUninvokable
private native void setStencilBack_native_cref_QRhiGraphicsPipeline_StencilOpState(long __this__nativeId, long state);
/**
* See QRhiGraphicsPipeline:: setStencilFront(QRhiGraphicsPipeline::StencilOpState)
*/
@QtUninvokable
public final void setStencilFront(io.qt.gui.rhi.QRhiGraphicsPipeline.@StrictNonNull StencilOpState state){
java.util.Objects.requireNonNull(state, "Argument 'state': null not expected.");
setStencilFront_native_cref_QRhiGraphicsPipeline_StencilOpState(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state));
}
@QtUninvokable
private native void setStencilFront_native_cref_QRhiGraphicsPipeline_StencilOpState(long __this__nativeId, long state);
/**
* See QRhiGraphicsPipeline:: setStencilReadMask(quint32)
*/
@QtUninvokable
public final void setStencilReadMask(int mask){
setStencilReadMask_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), mask);
}
@QtUninvokable
private native void setStencilReadMask_native_quint32(long __this__nativeId, int mask);
/**
* See QRhiGraphicsPipeline:: setStencilTest(bool)
*/
@QtUninvokable
public final void setStencilTest(boolean enable){
setStencilTest_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enable);
}
@QtUninvokable
private native void setStencilTest_native_bool(long __this__nativeId, boolean enable);
/**
* See QRhiGraphicsPipeline:: setStencilWriteMask(quint32)
*/
@QtUninvokable
public final void setStencilWriteMask(int mask){
setStencilWriteMask_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), mask);
}
@QtUninvokable
private native void setStencilWriteMask_native_quint32(long __this__nativeId, int mask);
/**
* See QRhiGraphicsPipeline:: setTargetBlends(std::initializer_list<QRhiGraphicsPipeline::TargetBlend>)
*/
@QtUninvokable
public final void setTargetBlends(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull TargetBlend@NonNull ... list){
setTargetBlends_native_std_initializer_list(QtJambi_LibraryUtilities.internal.nativeId(this), list);
}
@QtUninvokable
private native void setTargetBlends_native_std_initializer_list(long __this__nativeId, io.qt.gui.rhi.QRhiGraphicsPipeline.TargetBlend[] list);
/**
* See QRhiGraphicsPipeline:: setTopology(QRhiGraphicsPipeline::Topology)
*/
@QtUninvokable
public final void setTopology(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull Topology t){
setTopology_native_QRhiGraphicsPipeline_Topology(QtJambi_LibraryUtilities.internal.nativeId(this), t.value());
}
@QtUninvokable
private native void setTopology_native_QRhiGraphicsPipeline_Topology(long __this__nativeId, int t);
/**
* See QRhiGraphicsPipeline:: setVertexInputLayout(QRhiVertexInputLayout)
*/
@QtUninvokable
public final void setVertexInputLayout(io.qt.gui.rhi.@StrictNonNull QRhiVertexInputLayout layout){
java.util.Objects.requireNonNull(layout, "Argument 'layout': null not expected.");
setVertexInputLayout_native_cref_QRhiVertexInputLayout(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(layout));
}
@QtUninvokable
private native void setVertexInputLayout_native_cref_QRhiVertexInputLayout(long __this__nativeId, long layout);
/**
* See QRhiGraphicsPipeline:: shaderResourceBindings()const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiShaderResourceBindings shaderResourceBindings(){
return shaderResourceBindings_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiShaderResourceBindings shaderResourceBindings_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: shaderStageAt(qsizetype)const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiShaderStage shaderStageAt(long index){
return shaderStageAt_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiShaderStage shaderStageAt_native_qsizetype_constfct(long __this__nativeId, long index);
/**
* See QRhiGraphicsPipeline:: shaderStageCount()const
*/
@QtUninvokable
public final long shaderStageCount(){
return shaderStageCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long shaderStageCount_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: slopeScaledDepthBias()const
*/
@QtUninvokable
public final float slopeScaledDepthBias(){
return slopeScaledDepthBias_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float slopeScaledDepthBias_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: stencilBack()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOpState stencilBack(){
return stencilBack_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOpState stencilBack_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: stencilFront()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull StencilOpState stencilFront(){
return stencilFront_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiGraphicsPipeline.StencilOpState stencilFront_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: stencilReadMask()const
*/
@QtUninvokable
public final int stencilReadMask(){
return stencilReadMask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int stencilReadMask_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: stencilWriteMask()const
*/
@QtUninvokable
public final int stencilWriteMask(){
return stencilWriteMask_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int stencilWriteMask_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: targetBlendAt(qsizetype)const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@Nullable TargetBlend targetBlendAt(long index){
return targetBlendAt_native_qsizetype_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), index);
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiGraphicsPipeline.TargetBlend targetBlendAt_native_qsizetype_constfct(long __this__nativeId, long index);
/**
* See QRhiGraphicsPipeline:: targetBlendCount()const
*/
@QtUninvokable
public final long targetBlendCount(){
return targetBlendCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native long targetBlendCount_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: topology()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull Topology topology(){
return io.qt.gui.rhi.QRhiGraphicsPipeline.Topology.resolve(topology_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int topology_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: vertexInputLayout()const
*/
@QtUninvokable
public final io.qt.gui.rhi.@NonNull QRhiVertexInputLayout vertexInputLayout(){
return vertexInputLayout_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiVertexInputLayout vertexInputLayout_native_constfct(long __this__nativeId);
/**
* See QRhiGraphicsPipeline:: create()
*/
@QtUninvokable
public abstract boolean create();
@QtUninvokable
private native boolean create_native(long __this__nativeId);
/**
* 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 QRhiGraphicsPipeline(QPrivateConstructor p) { super(p); }
/**
* Overloaded function for {@link #setFlags(io.qt.gui.rhi.QRhiGraphicsPipeline.Flags)}.
*/
@QtUninvokable
public final void setFlags(io.qt.gui.rhi.QRhiGraphicsPipeline.@NonNull Flag @NonNull... f) {
setFlags(new io.qt.gui.rhi.QRhiGraphicsPipeline.Flags(f));
}
}