io.qt.gui.rhi.QShaderDescription Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui.rhi;
import io.qt.*;
/**
* Describes the interface of a shader
* Java wrapper for Qt class QShaderDescription
*/
public class QShaderDescription extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QShaderDescription::BuiltinType
*/
public enum BuiltinType implements QtEnumerator {
/**
* Representing QShaderDescription:: PositionBuiltin
*/
PositionBuiltin(0),
/**
* Representing QShaderDescription:: PointSizeBuiltin
*/
PointSizeBuiltin(1),
/**
* Representing QShaderDescription:: ClipDistanceBuiltin
*/
ClipDistanceBuiltin(3),
/**
* Representing QShaderDescription:: CullDistanceBuiltin
*/
CullDistanceBuiltin(4),
/**
* Representing QShaderDescription:: VertexIdBuiltin
*/
VertexIdBuiltin(5),
/**
* Representing QShaderDescription:: InstanceIdBuiltin
*/
InstanceIdBuiltin(6),
/**
* Representing QShaderDescription:: PrimitiveIdBuiltin
*/
PrimitiveIdBuiltin(7),
/**
* Representing QShaderDescription:: InvocationIdBuiltin
*/
InvocationIdBuiltin(8),
/**
* Representing QShaderDescription:: LayerBuiltin
*/
LayerBuiltin(9),
/**
* Representing QShaderDescription:: ViewportIndexBuiltin
*/
ViewportIndexBuiltin(10),
/**
* Representing QShaderDescription:: TessLevelOuterBuiltin
*/
TessLevelOuterBuiltin(11),
/**
* Representing QShaderDescription:: TessLevelInnerBuiltin
*/
TessLevelInnerBuiltin(12),
/**
* Representing QShaderDescription:: TessCoordBuiltin
*/
TessCoordBuiltin(13),
/**
* Representing QShaderDescription:: PatchVerticesBuiltin
*/
PatchVerticesBuiltin(14),
/**
* Representing QShaderDescription:: FragCoordBuiltin
*/
FragCoordBuiltin(15),
/**
* Representing QShaderDescription:: PointCoordBuiltin
*/
PointCoordBuiltin(16),
/**
* Representing QShaderDescription:: FrontFacingBuiltin
*/
FrontFacingBuiltin(17),
/**
* Representing QShaderDescription:: SampleIdBuiltin
*/
SampleIdBuiltin(18),
/**
* Representing QShaderDescription:: SamplePositionBuiltin
*/
SamplePositionBuiltin(19),
/**
* Representing QShaderDescription:: SampleMaskBuiltin
*/
SampleMaskBuiltin(20),
/**
* Representing QShaderDescription:: FragDepthBuiltin
*/
FragDepthBuiltin(22),
/**
* Representing QShaderDescription:: NumWorkGroupsBuiltin
*/
NumWorkGroupsBuiltin(24),
/**
* Representing QShaderDescription:: WorkgroupSizeBuiltin
*/
WorkgroupSizeBuiltin(25),
/**
* Representing QShaderDescription:: WorkgroupIdBuiltin
*/
WorkgroupIdBuiltin(26),
/**
* Representing QShaderDescription:: LocalInvocationIdBuiltin
*/
LocalInvocationIdBuiltin(27),
/**
* Representing QShaderDescription:: GlobalInvocationIdBuiltin
*/
GlobalInvocationIdBuiltin(28),
/**
* Representing QShaderDescription:: LocalInvocationIndexBuiltin
*/
LocalInvocationIndexBuiltin(29),
/**
* Representing QShaderDescription:: VertexIndexBuiltin
*/
VertexIndexBuiltin(42),
/**
* Representing QShaderDescription:: InstanceIndexBuiltin
*/
InstanceIndexBuiltin(43);
static {
QtJambi_LibraryUtilities.initialize();
}
private BuiltinType(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 BuiltinType resolve(int value) {
switch (value) {
case 0: return PositionBuiltin;
case 1: return PointSizeBuiltin;
case 3: return ClipDistanceBuiltin;
case 4: return CullDistanceBuiltin;
case 5: return VertexIdBuiltin;
case 6: return InstanceIdBuiltin;
case 7: return PrimitiveIdBuiltin;
case 8: return InvocationIdBuiltin;
case 9: return LayerBuiltin;
case 10: return ViewportIndexBuiltin;
case 11: return TessLevelOuterBuiltin;
case 12: return TessLevelInnerBuiltin;
case 13: return TessCoordBuiltin;
case 14: return PatchVerticesBuiltin;
case 15: return FragCoordBuiltin;
case 16: return PointCoordBuiltin;
case 17: return FrontFacingBuiltin;
case 18: return SampleIdBuiltin;
case 19: return SamplePositionBuiltin;
case 20: return SampleMaskBuiltin;
case 22: return FragDepthBuiltin;
case 24: return NumWorkGroupsBuiltin;
case 25: return WorkgroupSizeBuiltin;
case 26: return WorkgroupIdBuiltin;
case 27: return LocalInvocationIdBuiltin;
case 28: return GlobalInvocationIdBuiltin;
case 29: return LocalInvocationIndexBuiltin;
case 42: return VertexIndexBuiltin;
case 43: return InstanceIndexBuiltin;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QShaderDescription::ImageFlag
*
* @see ImageFlags
*/
public enum ImageFlag implements QtFlagEnumerator {
/**
* Representing QShaderDescription:: ReadOnlyImage
*/
ReadOnlyImage(1),
/**
* Representing QShaderDescription:: WriteOnlyImage
*/
WriteOnlyImage(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private ImageFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull ImageFlags asFlags() {
return new ImageFlags(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull ImageFlags combined(@NonNull ImageFlag 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 ImageFlags cleared(@NonNull ImageFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link ImageFlags} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull ImageFlags flags(@Nullable ImageFlag @NonNull... values) {
return new ImageFlags(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull ImageFlag resolve(int value) {
switch (value) {
case 1: return ReadOnlyImage;
case 2: return WriteOnlyImage;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link ImageFlag}
*/
public static final class ImageFlags extends QFlags implements Comparable {
private static final long serialVersionUID = 0xf65fc51e80b7823eL;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new ImageFlags where the flags in args
are set.
* @param args enum entries
*/
public ImageFlags(@Nullable ImageFlag @NonNull... args){
super(args);
}
/**
* Creates a new ImageFlags with given value
.
* @param value
*/
public ImageFlags(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new ImageFlags
*/
@Override
public final @NonNull ImageFlags combined(@StrictNonNull ImageFlag e){
return new ImageFlags(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull ImageFlags setFlag(@Nullable ImageFlag 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 ImageFlags setFlag(@Nullable ImageFlag 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 ImageFlags.
* @return array of enum entries
*/
@Override
public final @NonNull ImageFlag @NonNull[] flags(){
return super.flags(ImageFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull ImageFlags clone(){
return new ImageFlags(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull ImageFlags other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QShaderDescription::ImageFormat
*/
public enum ImageFormat implements QtEnumerator {
/**
* Representing QShaderDescription:: ImageFormatUnknown
*/
ImageFormatUnknown(0),
/**
* Representing QShaderDescription:: ImageFormatRgba32f
*/
ImageFormatRgba32f(1),
/**
* Representing QShaderDescription:: ImageFormatRgba16f
*/
ImageFormatRgba16f(2),
/**
* Representing QShaderDescription:: ImageFormatR32f
*/
ImageFormatR32f(3),
/**
* Representing QShaderDescription:: ImageFormatRgba8
*/
ImageFormatRgba8(4),
/**
* Representing QShaderDescription:: ImageFormatRgba8Snorm
*/
ImageFormatRgba8Snorm(5),
/**
* Representing QShaderDescription:: ImageFormatRg32f
*/
ImageFormatRg32f(6),
/**
* Representing QShaderDescription:: ImageFormatRg16f
*/
ImageFormatRg16f(7),
/**
* Representing QShaderDescription:: ImageFormatR11fG11fB10f
*/
ImageFormatR11fG11fB10f(8),
/**
* Representing QShaderDescription:: ImageFormatR16f
*/
ImageFormatR16f(9),
/**
* Representing QShaderDescription:: ImageFormatRgba16
*/
ImageFormatRgba16(10),
/**
* Representing QShaderDescription:: ImageFormatRgb10A2
*/
ImageFormatRgb10A2(11),
/**
* Representing QShaderDescription:: ImageFormatRg16
*/
ImageFormatRg16(12),
/**
* Representing QShaderDescription:: ImageFormatRg8
*/
ImageFormatRg8(13),
/**
* Representing QShaderDescription:: ImageFormatR16
*/
ImageFormatR16(14),
/**
* Representing QShaderDescription:: ImageFormatR8
*/
ImageFormatR8(15),
/**
* Representing QShaderDescription:: ImageFormatRgba16Snorm
*/
ImageFormatRgba16Snorm(16),
/**
* Representing QShaderDescription:: ImageFormatRg16Snorm
*/
ImageFormatRg16Snorm(17),
/**
* Representing QShaderDescription:: ImageFormatRg8Snorm
*/
ImageFormatRg8Snorm(18),
/**
* Representing QShaderDescription:: ImageFormatR16Snorm
*/
ImageFormatR16Snorm(19),
/**
* Representing QShaderDescription:: ImageFormatR8Snorm
*/
ImageFormatR8Snorm(20),
/**
* Representing QShaderDescription:: ImageFormatRgba32i
*/
ImageFormatRgba32i(21),
/**
* Representing QShaderDescription:: ImageFormatRgba16i
*/
ImageFormatRgba16i(22),
/**
* Representing QShaderDescription:: ImageFormatRgba8i
*/
ImageFormatRgba8i(23),
/**
* Representing QShaderDescription:: ImageFormatR32i
*/
ImageFormatR32i(24),
/**
* Representing QShaderDescription:: ImageFormatRg32i
*/
ImageFormatRg32i(25),
/**
* Representing QShaderDescription:: ImageFormatRg16i
*/
ImageFormatRg16i(26),
/**
* Representing QShaderDescription:: ImageFormatRg8i
*/
ImageFormatRg8i(27),
/**
* Representing QShaderDescription:: ImageFormatR16i
*/
ImageFormatR16i(28),
/**
* Representing QShaderDescription:: ImageFormatR8i
*/
ImageFormatR8i(29),
/**
* Representing QShaderDescription:: ImageFormatRgba32ui
*/
ImageFormatRgba32ui(30),
/**
* Representing QShaderDescription:: ImageFormatRgba16ui
*/
ImageFormatRgba16ui(31),
/**
* Representing QShaderDescription:: ImageFormatRgba8ui
*/
ImageFormatRgba8ui(32),
/**
* Representing QShaderDescription:: ImageFormatR32ui
*/
ImageFormatR32ui(33),
/**
* Representing QShaderDescription:: ImageFormatRgb10a2ui
*/
ImageFormatRgb10a2ui(34),
/**
* Representing QShaderDescription:: ImageFormatRg32ui
*/
ImageFormatRg32ui(35),
/**
* Representing QShaderDescription:: ImageFormatRg16ui
*/
ImageFormatRg16ui(36),
/**
* Representing QShaderDescription:: ImageFormatRg8ui
*/
ImageFormatRg8ui(37),
/**
* Representing QShaderDescription:: ImageFormatR16ui
*/
ImageFormatR16ui(38),
/**
* Representing QShaderDescription:: ImageFormatR8ui
*/
ImageFormatR8ui(39);
static {
QtJambi_LibraryUtilities.initialize();
}
private ImageFormat(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 ImageFormat resolve(int value) {
switch (value) {
case 0: return ImageFormatUnknown;
case 1: return ImageFormatRgba32f;
case 2: return ImageFormatRgba16f;
case 3: return ImageFormatR32f;
case 4: return ImageFormatRgba8;
case 5: return ImageFormatRgba8Snorm;
case 6: return ImageFormatRg32f;
case 7: return ImageFormatRg16f;
case 8: return ImageFormatR11fG11fB10f;
case 9: return ImageFormatR16f;
case 10: return ImageFormatRgba16;
case 11: return ImageFormatRgb10A2;
case 12: return ImageFormatRg16;
case 13: return ImageFormatRg8;
case 14: return ImageFormatR16;
case 15: return ImageFormatR8;
case 16: return ImageFormatRgba16Snorm;
case 17: return ImageFormatRg16Snorm;
case 18: return ImageFormatRg8Snorm;
case 19: return ImageFormatR16Snorm;
case 20: return ImageFormatR8Snorm;
case 21: return ImageFormatRgba32i;
case 22: return ImageFormatRgba16i;
case 23: return ImageFormatRgba8i;
case 24: return ImageFormatR32i;
case 25: return ImageFormatRg32i;
case 26: return ImageFormatRg16i;
case 27: return ImageFormatRg8i;
case 28: return ImageFormatR16i;
case 29: return ImageFormatR8i;
case 30: return ImageFormatRgba32ui;
case 31: return ImageFormatRgba16ui;
case 32: return ImageFormatRgba8ui;
case 33: return ImageFormatR32ui;
case 34: return ImageFormatRgb10a2ui;
case 35: return ImageFormatRg32ui;
case 36: return ImageFormatRg16ui;
case 37: return ImageFormatRg8ui;
case 38: return ImageFormatR16ui;
case 39: return ImageFormatR8ui;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QShaderDescription::QualifierFlag
*
* @see QualifierFlags
*/
public enum QualifierFlag implements QtFlagEnumerator {
/**
* Representing QShaderDescription:: QualifierReadOnly
*/
QualifierReadOnly(1),
/**
* Representing QShaderDescription:: QualifierWriteOnly
*/
QualifierWriteOnly(2),
/**
* Representing QShaderDescription:: QualifierCoherent
*/
QualifierCoherent(4),
/**
* Representing QShaderDescription:: QualifierVolatile
*/
QualifierVolatile(8),
/**
* Representing QShaderDescription:: QualifierRestrict
*/
QualifierRestrict(16);
static {
QtJambi_LibraryUtilities.initialize();
}
private QualifierFlag(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public @NonNull QualifierFlags asFlags() {
return new QualifierFlags(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public @NonNull QualifierFlags combined(@NonNull QualifierFlag 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 QualifierFlags cleared(@NonNull QualifierFlag e) {
return asFlags().setFlag(e, false);
}
/**
* Creates a new {@link QualifierFlags} from the entries.
* @param values entries
* @return new flag
*/
public static @NonNull QualifierFlags flags(@Nullable QualifierFlag @NonNull... values) {
return new QualifierFlags(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull QualifierFlag resolve(int value) {
switch (value) {
case 1: return QualifierReadOnly;
case 2: return QualifierWriteOnly;
case 4: return QualifierCoherent;
case 8: return QualifierVolatile;
case 16: return QualifierRestrict;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* {@link QFlags} type for enum {@link QualifierFlag}
*/
public static final class QualifierFlags extends QFlags implements Comparable {
private static final long serialVersionUID = 0xba5d3a6862e688e2L;
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Creates a new QualifierFlags where the flags in args
are set.
* @param args enum entries
*/
public QualifierFlags(@Nullable QualifierFlag @NonNull... args){
super(args);
}
/**
* Creates a new QualifierFlags with given value
.
* @param value
*/
public QualifierFlags(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new QualifierFlags
*/
@Override
public final @NonNull QualifierFlags combined(@StrictNonNull QualifierFlag e){
return new QualifierFlags(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final @NonNull QualifierFlags setFlag(@Nullable QualifierFlag 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 QualifierFlags setFlag(@Nullable QualifierFlag 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 QualifierFlags.
* @return array of enum entries
*/
@Override
public final @NonNull QualifierFlag @NonNull[] flags(){
return super.flags(QualifierFlag.values());
}
/**
* {@inheritDoc}
*/
@Override
public final @NonNull QualifierFlags clone(){
return new QualifierFlags(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(@StrictNonNull QualifierFlags other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QShaderDescription::TessellationMode
*/
public enum TessellationMode implements QtEnumerator {
/**
* Representing QShaderDescription:: UnknownTessellationMode
*/
UnknownTessellationMode(0),
/**
* Representing QShaderDescription:: TrianglesTessellationMode
*/
TrianglesTessellationMode(1),
/**
* Representing QShaderDescription:: QuadTessellationMode
*/
QuadTessellationMode(2),
/**
* Representing QShaderDescription:: IsolineTessellationMode
*/
IsolineTessellationMode(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private TessellationMode(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 TessellationMode resolve(int value) {
switch (value) {
case 0: return UnknownTessellationMode;
case 1: return TrianglesTessellationMode;
case 2: return QuadTessellationMode;
case 3: return IsolineTessellationMode;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QShaderDescription::TessellationPartitioning
*/
public enum TessellationPartitioning implements QtEnumerator {
/**
* Representing QShaderDescription:: UnknownTessellationPartitioning
*/
UnknownTessellationPartitioning(0),
/**
* Representing QShaderDescription:: EqualTessellationPartitioning
*/
EqualTessellationPartitioning(1),
/**
* Representing QShaderDescription:: FractionalEvenTessellationPartitioning
*/
FractionalEvenTessellationPartitioning(2),
/**
* Representing QShaderDescription:: FractionalOddTessellationPartitioning
*/
FractionalOddTessellationPartitioning(3);
static {
QtJambi_LibraryUtilities.initialize();
}
private TessellationPartitioning(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 TessellationPartitioning resolve(int value) {
switch (value) {
case 0: return UnknownTessellationPartitioning;
case 1: return EqualTessellationPartitioning;
case 2: return FractionalEvenTessellationPartitioning;
case 3: return FractionalOddTessellationPartitioning;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QShaderDescription::TessellationWindingOrder
*/
public enum TessellationWindingOrder implements QtEnumerator {
/**
* Representing QShaderDescription:: UnknownTessellationWindingOrder
*/
UnknownTessellationWindingOrder(0),
/**
* Representing QShaderDescription:: CwTessellationWindingOrder
*/
CwTessellationWindingOrder(1),
/**
* Representing QShaderDescription:: CcwTessellationWindingOrder
*/
CcwTessellationWindingOrder(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private TessellationWindingOrder(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 TessellationWindingOrder resolve(int value) {
switch (value) {
case 0: return UnknownTessellationWindingOrder;
case 1: return CwTessellationWindingOrder;
case 2: return CcwTessellationWindingOrder;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QShaderDescription::VariableType
*/
public enum VariableType implements QtEnumerator {
/**
* Representing QShaderDescription:: Unknown
*/
Unknown(0),
/**
* Representing QShaderDescription:: Float
*/
Float(1),
/**
* Representing QShaderDescription:: Vec2
*/
Vec2(2),
/**
* Representing QShaderDescription:: Vec3
*/
Vec3(3),
/**
* Representing QShaderDescription:: Vec4
*/
Vec4(4),
/**
* Representing QShaderDescription:: Mat2
*/
Mat2(5),
/**
* Representing QShaderDescription:: Mat2x3
*/
Mat2x3(6),
/**
* Representing QShaderDescription:: Mat2x4
*/
Mat2x4(7),
/**
* Representing QShaderDescription:: Mat3
*/
Mat3(8),
/**
* Representing QShaderDescription:: Mat3x2
*/
Mat3x2(9),
/**
* Representing QShaderDescription:: Mat3x4
*/
Mat3x4(10),
/**
* Representing QShaderDescription:: Mat4
*/
Mat4(11),
/**
* Representing QShaderDescription:: Mat4x2
*/
Mat4x2(12),
/**
* Representing QShaderDescription:: Mat4x3
*/
Mat4x3(13),
/**
* Representing QShaderDescription:: Int
*/
Int(14),
/**
* Representing QShaderDescription:: Int2
*/
Int2(15),
/**
* Representing QShaderDescription:: Int3
*/
Int3(16),
/**
* Representing QShaderDescription:: Int4
*/
Int4(17),
/**
* Representing QShaderDescription:: Uint
*/
Uint(18),
/**
* Representing QShaderDescription:: Uint2
*/
Uint2(19),
/**
* Representing QShaderDescription:: Uint3
*/
Uint3(20),
/**
* Representing QShaderDescription:: Uint4
*/
Uint4(21),
/**
* Representing QShaderDescription:: Bool
*/
Bool(22),
/**
* Representing QShaderDescription:: Bool2
*/
Bool2(23),
/**
* Representing QShaderDescription:: Bool3
*/
Bool3(24),
/**
* Representing QShaderDescription:: Bool4
*/
Bool4(25),
/**
* Representing QShaderDescription:: Double
*/
Double(26),
/**
* Representing QShaderDescription:: Double2
*/
Double2(27),
/**
* Representing QShaderDescription:: Double3
*/
Double3(28),
/**
* Representing QShaderDescription:: Double4
*/
Double4(29),
/**
* Representing QShaderDescription:: DMat2
*/
DMat2(30),
/**
* Representing QShaderDescription:: DMat2x3
*/
DMat2x3(31),
/**
* Representing QShaderDescription:: DMat2x4
*/
DMat2x4(32),
/**
* Representing QShaderDescription:: DMat3
*/
DMat3(33),
/**
* Representing QShaderDescription:: DMat3x2
*/
DMat3x2(34),
/**
* Representing QShaderDescription:: DMat3x4
*/
DMat3x4(35),
/**
* Representing QShaderDescription:: DMat4
*/
DMat4(36),
/**
* Representing QShaderDescription:: DMat4x2
*/
DMat4x2(37),
/**
* Representing QShaderDescription:: DMat4x3
*/
DMat4x3(38),
/**
* Representing QShaderDescription:: Sampler1D
*/
Sampler1D(39),
/**
* Representing QShaderDescription:: Sampler2D
*/
Sampler2D(40),
/**
* Representing QShaderDescription:: Sampler2DMS
*/
Sampler2DMS(41),
/**
* Representing QShaderDescription:: Sampler3D
*/
Sampler3D(42),
/**
* Representing QShaderDescription:: SamplerCube
*/
SamplerCube(43),
/**
* Representing QShaderDescription:: Sampler1DArray
*/
Sampler1DArray(44),
/**
* Representing QShaderDescription:: Sampler2DArray
*/
Sampler2DArray(45),
/**
* Representing QShaderDescription:: Sampler2DMSArray
*/
Sampler2DMSArray(46),
/**
* Representing QShaderDescription:: Sampler3DArray
*/
Sampler3DArray(47),
/**
* Representing QShaderDescription:: SamplerCubeArray
*/
SamplerCubeArray(48),
/**
* Representing QShaderDescription:: SamplerRect
*/
SamplerRect(49),
/**
* Representing QShaderDescription:: SamplerBuffer
*/
SamplerBuffer(50),
/**
* Representing QShaderDescription:: SamplerExternalOES
*/
SamplerExternalOES(51),
/**
* Representing QShaderDescription:: Sampler
*/
Sampler(52),
/**
* Representing QShaderDescription:: Image1D
*/
Image1D(53),
/**
* Representing QShaderDescription:: Image2D
*/
Image2D(54),
/**
* Representing QShaderDescription:: Image2DMS
*/
Image2DMS(55),
/**
* Representing QShaderDescription:: Image3D
*/
Image3D(56),
/**
* Representing QShaderDescription:: ImageCube
*/
ImageCube(57),
/**
* Representing QShaderDescription:: Image1DArray
*/
Image1DArray(58),
/**
* Representing QShaderDescription:: Image2DArray
*/
Image2DArray(59),
/**
* Representing QShaderDescription:: Image2DMSArray
*/
Image2DMSArray(60),
/**
* Representing QShaderDescription:: Image3DArray
*/
Image3DArray(61),
/**
* Representing QShaderDescription:: ImageCubeArray
*/
ImageCubeArray(62),
/**
* Representing QShaderDescription:: ImageRect
*/
ImageRect(63),
/**
* Representing QShaderDescription:: ImageBuffer
*/
ImageBuffer(64),
/**
* Representing QShaderDescription:: Struct
*/
Struct(65),
/**
* Representing QShaderDescription:: Half
*/
Half(66),
/**
* Representing QShaderDescription:: Half2
*/
Half2(67),
/**
* Representing QShaderDescription:: Half3
*/
Half3(68),
/**
* Representing QShaderDescription:: Half4
*/
Half4(69);
static {
QtJambi_LibraryUtilities.initialize();
}
private VariableType(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 VariableType resolve(int value) {
switch (value) {
case 0: return Unknown;
case 1: return Float;
case 2: return Vec2;
case 3: return Vec3;
case 4: return Vec4;
case 5: return Mat2;
case 6: return Mat2x3;
case 7: return Mat2x4;
case 8: return Mat3;
case 9: return Mat3x2;
case 10: return Mat3x4;
case 11: return Mat4;
case 12: return Mat4x2;
case 13: return Mat4x3;
case 14: return Int;
case 15: return Int2;
case 16: return Int3;
case 17: return Int4;
case 18: return Uint;
case 19: return Uint2;
case 20: return Uint3;
case 21: return Uint4;
case 22: return Bool;
case 23: return Bool2;
case 24: return Bool3;
case 25: return Bool4;
case 26: return Double;
case 27: return Double2;
case 28: return Double3;
case 29: return Double4;
case 30: return DMat2;
case 31: return DMat2x3;
case 32: return DMat2x4;
case 33: return DMat3;
case 34: return DMat3x2;
case 35: return DMat3x4;
case 36: return DMat4;
case 37: return DMat4x2;
case 38: return DMat4x3;
case 39: return Sampler1D;
case 40: return Sampler2D;
case 41: return Sampler2DMS;
case 42: return Sampler3D;
case 43: return SamplerCube;
case 44: return Sampler1DArray;
case 45: return Sampler2DArray;
case 46: return Sampler2DMSArray;
case 47: return Sampler3DArray;
case 48: return SamplerCubeArray;
case 49: return SamplerRect;
case 50: return SamplerBuffer;
case 51: return SamplerExternalOES;
case 52: return Sampler;
case 53: return Image1D;
case 54: return Image2D;
case 55: return Image2DMS;
case 56: return Image3D;
case 57: return ImageCube;
case 58: return Image1DArray;
case 59: return Image2DArray;
case 60: return Image2DMSArray;
case 61: return Image3DArray;
case 62: return ImageCubeArray;
case 63: return ImageRect;
case 64: return ImageBuffer;
case 65: return Struct;
case 66: return Half;
case 67: return Half2;
case 68: return Half3;
case 69: return Half4;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Describes a member of a uniform or push constant block
* Java wrapper for Qt class QShaderDescription::BlockVariable
*/
public static class BlockVariable extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::BlockVariable:: BlockVariable()
*/
public BlockVariable(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(BlockVariable instance);
/**
* See QShaderDescription::BlockVariable:: BlockVariable(QShaderDescription::BlockVariable)
*/
public BlockVariable(io.qt.gui.rhi.QShaderDescription.@StrictNonNull BlockVariable other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(BlockVariable instance, io.qt.gui.rhi.QShaderDescription.BlockVariable other);
/**
* See QShaderDescription::BlockVariable:: BlockVariable{QByteArray, QShaderDescription::VariableType, int, int, QList<int>, int, int, bool, QList<QShaderDescription::BlockVariable>}
*/
public BlockVariable(io.qt.core.@NonNull QByteArray name, io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type, int offset, int size, java.util.@NonNull Collection arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers){
super((QPrivateConstructor)null);
initialize_native(this, name, type, offset, size, arrayDims, arrayStride, matrixStride, matrixIsRowMajor, structMembers);
}
private native static void initialize_native(BlockVariable instance, io.qt.core.QByteArray name, io.qt.gui.rhi.QShaderDescription.VariableType type, int offset, int size, java.util.Collection arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> structMembers);
/**
* See operator==(QShaderDescription::BlockVariable, QShaderDescription::BlockVariable)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull BlockVariable rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_BlockVariable(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_BlockVariable(long __this__nativeId, long rhs);
/**
* See QShaderDescription::BlockVariable:: arrayDims
*/
@QtUninvokable
public final void setArrayDims(java.util.@NonNull Collection arrayDims){
setArrayDims_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), arrayDims);
}
@QtUninvokable
private native void setArrayDims_native_cref_QList(long __this__nativeId, java.util.Collection arrayDims);
/**
* See QShaderDescription::BlockVariable:: arrayDims
*/
@QtUninvokable
public final io.qt.core.@NonNull QList arrayDims(){
return arrayDims_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList arrayDims_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: arrayStride
*/
@QtUninvokable
public final void setArrayStride(int arrayStride){
setArrayStride_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), arrayStride);
}
@QtUninvokable
private native void setArrayStride_native_int(long __this__nativeId, int arrayStride);
/**
* See QShaderDescription::BlockVariable:: arrayStride
*/
@QtUninvokable
public final int arrayStride(){
return arrayStride_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int arrayStride_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: matrixIsRowMajor
*/
@QtUninvokable
public final void setMatrixIsRowMajor(boolean matrixIsRowMajor){
setMatrixIsRowMajor_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), matrixIsRowMajor);
}
@QtUninvokable
private native void setMatrixIsRowMajor_native_bool(long __this__nativeId, boolean matrixIsRowMajor);
/**
* See QShaderDescription::BlockVariable:: matrixIsRowMajor
*/
@QtUninvokable
public final boolean matrixIsRowMajor(){
return matrixIsRowMajor_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean matrixIsRowMajor_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: matrixStride
*/
@QtUninvokable
public final void setMatrixStride(int matrixStride){
setMatrixStride_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), matrixStride);
}
@QtUninvokable
private native void setMatrixStride_native_int(long __this__nativeId, int matrixStride);
/**
* See QShaderDescription::BlockVariable:: matrixStride
*/
@QtUninvokable
public final int matrixStride(){
return matrixStride_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int matrixStride_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: name
*/
@QtUninvokable
public final void setName(io.qt.core.@NonNull QByteArray name){
setName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(name));
}
@QtUninvokable
private native void setName_native_cref_QByteArray(long __this__nativeId, long name);
/**
* See QShaderDescription::BlockVariable:: name
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray name(){
return name_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray name_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: offset
*/
@QtUninvokable
public final void setOffset(int offset){
setOffset_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), offset);
}
@QtUninvokable
private native void setOffset_native_int(long __this__nativeId, int offset);
/**
* See QShaderDescription::BlockVariable:: offset
*/
@QtUninvokable
public final int offset(){
return offset_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int offset_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: size
*/
@QtUninvokable
public final void setSize(int size){
setSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void setSize_native_int(long __this__nativeId, int size);
/**
* See QShaderDescription::BlockVariable:: size
*/
@QtUninvokable
public final int size(){
return size_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int size_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: structMembers
*/
@QtUninvokable
public final void setStructMembers(java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers){
setStructMembers_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), structMembers);
}
@QtUninvokable
private native void setStructMembers_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> structMembers);
/**
* See QShaderDescription::BlockVariable:: structMembers
*/
@QtUninvokable
public final io.qt.core.@NonNull QList structMembers(){
return structMembers_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList structMembers_native(long __this__nativeId);
/**
* See QShaderDescription::BlockVariable:: type
*/
@QtUninvokable
public final void setType(io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type){
setType_native_cref_QShaderDescription_VariableType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@QtUninvokable
private native void setType_native_cref_QShaderDescription_VariableType(long __this__nativeId, int type);
/**
* See QShaderDescription::BlockVariable:: type
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type(){
return io.qt.gui.rhi.QShaderDescription.VariableType.resolve(type_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected BlockVariable(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::BlockVariable, QShaderDescription::BlockVariable)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.BlockVariable) {
return equals((io.qt.gui.rhi.QShaderDescription.BlockVariable) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::BlockVariable)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::BlockVariable)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::BlockVariable:: BlockVariable(QShaderDescription::BlockVariable)
*/
@QtUninvokable
@Override
public BlockVariable clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native BlockVariable clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #BlockVariable(io.qt.core.QByteArray, io.qt.gui.rhi.QShaderDescription.VariableType, int, int, java.util.Collection, int, int, boolean, java.util.Collection)}.
*/
public BlockVariable(byte @NonNull[] name, io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type, int offset, int size, java.util.@NonNull Collection arrayDims, int arrayStride, int matrixStride, boolean matrixIsRowMajor, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers) {
this(new io.qt.core.QByteArray(name), type, offset, size, arrayDims, arrayStride, matrixStride, matrixIsRowMajor, structMembers);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #arrayDims()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getArrayDims() {
return arrayDims();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #arrayStride()} instead.
*/
@QtUninvokable
public final int getArrayStride() {
return arrayStride();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #matrixIsRowMajor()} instead.
*/
@QtUninvokable
public final boolean getMatrixIsRowMajor() {
return matrixIsRowMajor();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #matrixStride()} instead.
*/
@QtUninvokable
public final int getMatrixStride() {
return matrixStride();
}
/**
* Overloaded function for {@link #setName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setName(byte @NonNull[] name) {
setName(new io.qt.core.QByteArray(name));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #name()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getName() {
return name();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #offset()} instead.
*/
@QtUninvokable
public final int getOffset() {
return offset();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #size()} instead.
*/
@QtUninvokable
public final int getSize() {
return size();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #structMembers()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getStructMembers() {
return structMembers();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #type()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType getType() {
return type();
}
}
/**
* Describes an input or output variable in the shader
* Java wrapper for Qt class QShaderDescription::InOutVariable
*/
public static class InOutVariable extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::InOutVariable:: InOutVariable()
*/
public InOutVariable(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(InOutVariable instance);
/**
* See QShaderDescription::InOutVariable:: InOutVariable(QShaderDescription::InOutVariable)
*/
public InOutVariable(io.qt.gui.rhi.QShaderDescription.@StrictNonNull InOutVariable other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(InOutVariable instance, io.qt.gui.rhi.QShaderDescription.InOutVariable other);
/**
* See QShaderDescription::InOutVariable:: InOutVariable{QByteArray, QShaderDescription::VariableType, int, int, int, QShaderDescription::ImageFormat, QShaderDescription::ImageFlags, QList<int>, bool, QList<QShaderDescription::BlockVariable>}
*/
public InOutVariable(io.qt.core.@NonNull QByteArray name, io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type, int location, int binding, int descriptorSet, io.qt.gui.rhi.QShaderDescription.@NonNull ImageFormat imageFormat, io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlags imageFlags, java.util.@NonNull Collection arrayDims, boolean perPatch, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers){
super((QPrivateConstructor)null);
initialize_native(this, name, type, location, binding, descriptorSet, imageFormat, imageFlags, arrayDims, perPatch, structMembers);
}
private native static void initialize_native(InOutVariable instance, io.qt.core.QByteArray name, io.qt.gui.rhi.QShaderDescription.VariableType type, int location, int binding, int descriptorSet, io.qt.gui.rhi.QShaderDescription.ImageFormat imageFormat, io.qt.gui.rhi.QShaderDescription.ImageFlags imageFlags, java.util.Collection arrayDims, boolean perPatch, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> structMembers);
/**
* See operator==(QShaderDescription::InOutVariable, QShaderDescription::InOutVariable)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull InOutVariable rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_InOutVariable(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_InOutVariable(long __this__nativeId, long rhs);
/**
* See QShaderDescription::InOutVariable:: arrayDims
*/
@QtUninvokable
public final void setArrayDims(java.util.@NonNull Collection arrayDims){
setArrayDims_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), arrayDims);
}
@QtUninvokable
private native void setArrayDims_native_cref_QList(long __this__nativeId, java.util.Collection arrayDims);
/**
* See QShaderDescription::InOutVariable:: arrayDims
*/
@QtUninvokable
public final io.qt.core.@NonNull QList arrayDims(){
return arrayDims_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList arrayDims_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: binding
*/
@QtUninvokable
public final void setBinding(int binding){
setBinding_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), binding);
}
@QtUninvokable
private native void setBinding_native_int(long __this__nativeId, int binding);
/**
* See QShaderDescription::InOutVariable:: binding
*/
@QtUninvokable
public final int binding(){
return binding_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int binding_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: descriptorSet
*/
@QtUninvokable
public final void setDescriptorSet(int descriptorSet){
setDescriptorSet_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), descriptorSet);
}
@QtUninvokable
private native void setDescriptorSet_native_int(long __this__nativeId, int descriptorSet);
/**
* See QShaderDescription::InOutVariable:: descriptorSet
*/
@QtUninvokable
public final int descriptorSet(){
return descriptorSet_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int descriptorSet_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: imageFlags
*/
@QtUninvokable
public final void setImageFlags(io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlags imageFlags){
setImageFlags_native_cref_QShaderDescription_ImageFlags(QtJambi_LibraryUtilities.internal.nativeId(this), imageFlags.value());
}
@QtUninvokable
private native void setImageFlags_native_cref_QShaderDescription_ImageFlags(long __this__nativeId, int imageFlags);
/**
* See QShaderDescription::InOutVariable:: imageFlags
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlags imageFlags(){
return new io.qt.gui.rhi.QShaderDescription.ImageFlags(imageFlags_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int imageFlags_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: imageFormat
*/
@QtUninvokable
public final void setImageFormat(io.qt.gui.rhi.QShaderDescription.@NonNull ImageFormat imageFormat){
setImageFormat_native_cref_QShaderDescription_ImageFormat(QtJambi_LibraryUtilities.internal.nativeId(this), imageFormat.value());
}
@QtUninvokable
private native void setImageFormat_native_cref_QShaderDescription_ImageFormat(long __this__nativeId, int imageFormat);
/**
* See QShaderDescription::InOutVariable:: imageFormat
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull ImageFormat imageFormat(){
return io.qt.gui.rhi.QShaderDescription.ImageFormat.resolve(imageFormat_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int imageFormat_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: location
*/
@QtUninvokable
public final void setLocation(int location){
setLocation_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), location);
}
@QtUninvokable
private native void setLocation_native_int(long __this__nativeId, int location);
/**
* See QShaderDescription::InOutVariable:: location
*/
@QtUninvokable
public final int location(){
return location_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int location_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: name
*/
@QtUninvokable
public final void setName(io.qt.core.@NonNull QByteArray name){
setName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(name));
}
@QtUninvokable
private native void setName_native_cref_QByteArray(long __this__nativeId, long name);
/**
* See QShaderDescription::InOutVariable:: name
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray name(){
return name_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray name_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: perPatch
*/
@QtUninvokable
public final void setPerPatch(boolean perPatch){
setPerPatch_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), perPatch);
}
@QtUninvokable
private native void setPerPatch_native_bool(long __this__nativeId, boolean perPatch);
/**
* See QShaderDescription::InOutVariable:: perPatch
*/
@QtUninvokable
public final boolean perPatch(){
return perPatch_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean perPatch_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: structMembers
*/
@QtUninvokable
public final void setStructMembers(java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers){
setStructMembers_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), structMembers);
}
@QtUninvokable
private native void setStructMembers_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> structMembers);
/**
* See QShaderDescription::InOutVariable:: structMembers
*/
@QtUninvokable
public final io.qt.core.@NonNull QList structMembers(){
return structMembers_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList structMembers_native(long __this__nativeId);
/**
* See QShaderDescription::InOutVariable:: type
*/
@QtUninvokable
public final void setType(io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type){
setType_native_cref_QShaderDescription_VariableType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@QtUninvokable
private native void setType_native_cref_QShaderDescription_VariableType(long __this__nativeId, int type);
/**
* See QShaderDescription::InOutVariable:: type
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type(){
return io.qt.gui.rhi.QShaderDescription.VariableType.resolve(type_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected InOutVariable(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::InOutVariable, QShaderDescription::InOutVariable)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.InOutVariable) {
return equals((io.qt.gui.rhi.QShaderDescription.InOutVariable) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::InOutVariable)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::InOutVariable)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::InOutVariable:: InOutVariable(QShaderDescription::InOutVariable)
*/
@QtUninvokable
@Override
public InOutVariable clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native InOutVariable clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #InOutVariable(io.qt.core.QByteArray, io.qt.gui.rhi.QShaderDescription.VariableType, int, int, int, io.qt.gui.rhi.QShaderDescription.ImageFormat, io.qt.gui.rhi.QShaderDescription.ImageFlags, java.util.Collection, boolean, java.util.Collection)}.
*/
public InOutVariable(byte @NonNull[] name, io.qt.gui.rhi.QShaderDescription.@NonNull VariableType type, int location, int binding, int descriptorSet, io.qt.gui.rhi.QShaderDescription.@NonNull ImageFormat imageFormat, io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlags imageFlags, java.util.@NonNull Collection arrayDims, boolean perPatch, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> structMembers) {
this(new io.qt.core.QByteArray(name), type, location, binding, descriptorSet, imageFormat, imageFlags, arrayDims, perPatch, structMembers);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #arrayDims()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getArrayDims() {
return arrayDims();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #binding()} instead.
*/
@QtUninvokable
public final int getBinding() {
return binding();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #descriptorSet()} instead.
*/
@QtUninvokable
public final int getDescriptorSet() {
return descriptorSet();
}
/**
* Overloaded function for {@link #setImageFlags(io.qt.gui.rhi.QShaderDescription.ImageFlags)}.
*/
@QtUninvokable
public final void setImageFlags(io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlag @NonNull... imageFlags) {
setImageFlags(new io.qt.gui.rhi.QShaderDescription.ImageFlags(imageFlags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #imageFlags()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull ImageFlags getImageFlags() {
return imageFlags();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #imageFormat()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull ImageFormat getImageFormat() {
return imageFormat();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #location()} instead.
*/
@QtUninvokable
public final int getLocation() {
return location();
}
/**
* Overloaded function for {@link #setName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setName(byte @NonNull[] name) {
setName(new io.qt.core.QByteArray(name));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #name()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getName() {
return name();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #perPatch()} instead.
*/
@QtUninvokable
public final boolean getPerPatch() {
return perPatch();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #structMembers()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getStructMembers() {
return structMembers();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #type()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType getType() {
return type();
}
}
/**
* Describes a uniform block
* Java wrapper for Qt class QShaderDescription::UniformBlock
*/
public static class UniformBlock extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::UniformBlock:: UniformBlock()
*/
public UniformBlock(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(UniformBlock instance);
/**
* See QShaderDescription::UniformBlock:: UniformBlock(QShaderDescription::UniformBlock)
*/
public UniformBlock(io.qt.gui.rhi.QShaderDescription.@StrictNonNull UniformBlock other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(UniformBlock instance, io.qt.gui.rhi.QShaderDescription.UniformBlock other);
/**
* See QShaderDescription::UniformBlock:: UniformBlock{QByteArray, QByteArray, int, int, int, QList<QShaderDescription::BlockVariable>}
*/
public UniformBlock(io.qt.core.@NonNull QByteArray blockName, io.qt.core.@NonNull QByteArray structName, int size, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members){
super((QPrivateConstructor)null);
initialize_native(this, blockName, structName, size, binding, descriptorSet, members);
}
private native static void initialize_native(UniformBlock instance, io.qt.core.QByteArray blockName, io.qt.core.QByteArray structName, int size, int binding, int descriptorSet, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members);
/**
* See operator==(QShaderDescription::UniformBlock, QShaderDescription::UniformBlock)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull UniformBlock rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_UniformBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_UniformBlock(long __this__nativeId, long rhs);
/**
* See QShaderDescription::UniformBlock:: binding
*/
@QtUninvokable
public final void setBinding(int binding){
setBinding_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), binding);
}
@QtUninvokable
private native void setBinding_native_int(long __this__nativeId, int binding);
/**
* See QShaderDescription::UniformBlock:: binding
*/
@QtUninvokable
public final int binding(){
return binding_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int binding_native(long __this__nativeId);
/**
* See QShaderDescription::UniformBlock:: blockName
*/
@QtUninvokable
public final void setBlockName(io.qt.core.@NonNull QByteArray blockName){
setBlockName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(blockName));
}
@QtUninvokable
private native void setBlockName_native_cref_QByteArray(long __this__nativeId, long blockName);
/**
* See QShaderDescription::UniformBlock:: blockName
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray blockName(){
return blockName_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray blockName_native(long __this__nativeId);
/**
* See QShaderDescription::UniformBlock:: descriptorSet
*/
@QtUninvokable
public final void setDescriptorSet(int descriptorSet){
setDescriptorSet_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), descriptorSet);
}
@QtUninvokable
private native void setDescriptorSet_native_int(long __this__nativeId, int descriptorSet);
/**
* See QShaderDescription::UniformBlock:: descriptorSet
*/
@QtUninvokable
public final int descriptorSet(){
return descriptorSet_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int descriptorSet_native(long __this__nativeId);
/**
* See QShaderDescription::UniformBlock:: members
*/
@QtUninvokable
public final void setMembers(java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members){
setMembers_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), members);
}
@QtUninvokable
private native void setMembers_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members);
/**
* See QShaderDescription::UniformBlock:: members
*/
@QtUninvokable
public final io.qt.core.@NonNull QList members(){
return members_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList members_native(long __this__nativeId);
/**
* See QShaderDescription::UniformBlock:: size
*/
@QtUninvokable
public final void setSize(int size){
setSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void setSize_native_int(long __this__nativeId, int size);
/**
* See QShaderDescription::UniformBlock:: size
*/
@QtUninvokable
public final int size(){
return size_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int size_native(long __this__nativeId);
/**
* See QShaderDescription::UniformBlock:: structName
*/
@QtUninvokable
public final void setStructName(io.qt.core.@NonNull QByteArray structName){
setStructName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(structName));
}
@QtUninvokable
private native void setStructName_native_cref_QByteArray(long __this__nativeId, long structName);
/**
* See QShaderDescription::UniformBlock:: structName
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray structName(){
return structName_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray structName_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected UniformBlock(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::UniformBlock, QShaderDescription::UniformBlock)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.UniformBlock) {
return equals((io.qt.gui.rhi.QShaderDescription.UniformBlock) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::UniformBlock)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::UniformBlock)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::UniformBlock:: UniformBlock(QShaderDescription::UniformBlock)
*/
@QtUninvokable
@Override
public UniformBlock clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native UniformBlock clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)}.
*/
public UniformBlock(byte @NonNull[] blockName, io.qt.core.@NonNull QByteArray structName, int size, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members) {
this(new io.qt.core.QByteArray(blockName), structName, size, binding, descriptorSet, members);
}
/**
* Overloaded constructor for {@link #UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)}.
*/
public UniformBlock(io.qt.core.@NonNull QByteArray blockName, byte @NonNull[] structName, int size, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members) {
this(blockName, new io.qt.core.QByteArray(structName), size, binding, descriptorSet, members);
}
/**
* Overloaded constructor for {@link #UniformBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection)}.
*/
public UniformBlock(byte @NonNull[] blockName, byte @NonNull[] structName, int size, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members) {
this(new io.qt.core.QByteArray(blockName), new io.qt.core.QByteArray(structName), size, binding, descriptorSet, members);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #binding()} instead.
*/
@QtUninvokable
public final int getBinding() {
return binding();
}
/**
* Overloaded function for {@link #setBlockName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setBlockName(byte @NonNull[] blockName) {
setBlockName(new io.qt.core.QByteArray(blockName));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #blockName()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getBlockName() {
return blockName();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #descriptorSet()} instead.
*/
@QtUninvokable
public final int getDescriptorSet() {
return descriptorSet();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #members()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getMembers() {
return members();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #size()} instead.
*/
@QtUninvokable
public final int getSize() {
return size();
}
/**
* Overloaded function for {@link #setStructName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setStructName(byte @NonNull[] structName) {
setStructName(new io.qt.core.QByteArray(structName));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #structName()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getStructName() {
return structName();
}
}
/**
* Describes a push constant block
* Java wrapper for Qt class QShaderDescription::PushConstantBlock
*/
public static class PushConstantBlock extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::PushConstantBlock:: PushConstantBlock()
*/
public PushConstantBlock(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(PushConstantBlock instance);
/**
* See QShaderDescription::PushConstantBlock:: PushConstantBlock(QShaderDescription::PushConstantBlock)
*/
public PushConstantBlock(io.qt.gui.rhi.QShaderDescription.@StrictNonNull PushConstantBlock other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(PushConstantBlock instance, io.qt.gui.rhi.QShaderDescription.PushConstantBlock other);
/**
* See QShaderDescription::PushConstantBlock:: PushConstantBlock{QByteArray, int, QList<QShaderDescription::BlockVariable>}
*/
public PushConstantBlock(io.qt.core.@NonNull QByteArray name, int size, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members){
super((QPrivateConstructor)null);
initialize_native(this, name, size, members);
}
private native static void initialize_native(PushConstantBlock instance, io.qt.core.QByteArray name, int size, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members);
/**
* See operator==(QShaderDescription::PushConstantBlock, QShaderDescription::PushConstantBlock)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull PushConstantBlock rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_PushConstantBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_PushConstantBlock(long __this__nativeId, long rhs);
/**
* See QShaderDescription::PushConstantBlock:: members
*/
@QtUninvokable
public final void setMembers(java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members){
setMembers_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), members);
}
@QtUninvokable
private native void setMembers_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members);
/**
* See QShaderDescription::PushConstantBlock:: members
*/
@QtUninvokable
public final io.qt.core.@NonNull QList members(){
return members_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList members_native(long __this__nativeId);
/**
* See QShaderDescription::PushConstantBlock:: name
*/
@QtUninvokable
public final void setName(io.qt.core.@NonNull QByteArray name){
setName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(name));
}
@QtUninvokable
private native void setName_native_cref_QByteArray(long __this__nativeId, long name);
/**
* See QShaderDescription::PushConstantBlock:: name
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray name(){
return name_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray name_native(long __this__nativeId);
/**
* See QShaderDescription::PushConstantBlock:: size
*/
@QtUninvokable
public final void setSize(int size){
setSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), size);
}
@QtUninvokable
private native void setSize_native_int(long __this__nativeId, int size);
/**
* See QShaderDescription::PushConstantBlock:: size
*/
@QtUninvokable
public final int size(){
return size_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int size_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected PushConstantBlock(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::PushConstantBlock, QShaderDescription::PushConstantBlock)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.PushConstantBlock) {
return equals((io.qt.gui.rhi.QShaderDescription.PushConstantBlock) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::PushConstantBlock)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::PushConstantBlock)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::PushConstantBlock:: PushConstantBlock(QShaderDescription::PushConstantBlock)
*/
@QtUninvokable
@Override
public PushConstantBlock clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native PushConstantBlock clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #PushConstantBlock(io.qt.core.QByteArray, int, java.util.Collection)}.
*/
public PushConstantBlock(byte @NonNull[] name, int size, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members) {
this(new io.qt.core.QByteArray(name), size, members);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #members()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getMembers() {
return members();
}
/**
* Overloaded function for {@link #setName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setName(byte @NonNull[] name) {
setName(new io.qt.core.QByteArray(name));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #name()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getName() {
return name();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #size()} instead.
*/
@QtUninvokable
public final int getSize() {
return size();
}
}
/**
* Describes a shader storage block
* Java wrapper for Qt class QShaderDescription::StorageBlock
*/
public static class StorageBlock extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::StorageBlock:: StorageBlock()
*/
public StorageBlock(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(StorageBlock instance);
/**
* See QShaderDescription::StorageBlock:: StorageBlock(QShaderDescription::StorageBlock)
*/
public StorageBlock(io.qt.gui.rhi.QShaderDescription.@StrictNonNull StorageBlock other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(StorageBlock instance, io.qt.gui.rhi.QShaderDescription.StorageBlock other);
/**
* See QShaderDescription::StorageBlock:: StorageBlock{QByteArray, QByteArray, int, int, int, QList<QShaderDescription::BlockVariable>, int, QShaderDescription::QualifierFlags}
*/
public StorageBlock(io.qt.core.@NonNull QByteArray blockName, io.qt.core.@NonNull QByteArray instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags){
super((QPrivateConstructor)null);
initialize_native(this, blockName, instanceName, knownSize, binding, descriptorSet, members, runtimeArrayStride, qualifierFlags);
}
private native static void initialize_native(StorageBlock instance, io.qt.core.QByteArray blockName, io.qt.core.QByteArray instanceName, int knownSize, int binding, int descriptorSet, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.QualifierFlags qualifierFlags);
/**
* See operator==(QShaderDescription::StorageBlock, QShaderDescription::StorageBlock)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull StorageBlock rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_StorageBlock(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_StorageBlock(long __this__nativeId, long rhs);
/**
* See QShaderDescription::StorageBlock:: binding
*/
@QtUninvokable
public final void setBinding(int binding){
setBinding_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), binding);
}
@QtUninvokable
private native void setBinding_native_int(long __this__nativeId, int binding);
/**
* See QShaderDescription::StorageBlock:: binding
*/
@QtUninvokable
public final int binding(){
return binding_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int binding_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: blockName
*/
@QtUninvokable
public final void setBlockName(io.qt.core.@NonNull QByteArray blockName){
setBlockName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(blockName));
}
@QtUninvokable
private native void setBlockName_native_cref_QByteArray(long __this__nativeId, long blockName);
/**
* See QShaderDescription::StorageBlock:: blockName
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray blockName(){
return blockName_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray blockName_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: descriptorSet
*/
@QtUninvokable
public final void setDescriptorSet(int descriptorSet){
setDescriptorSet_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), descriptorSet);
}
@QtUninvokable
private native void setDescriptorSet_native_int(long __this__nativeId, int descriptorSet);
/**
* See QShaderDescription::StorageBlock:: descriptorSet
*/
@QtUninvokable
public final int descriptorSet(){
return descriptorSet_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int descriptorSet_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: instanceName
*/
@QtUninvokable
public final void setInstanceName(io.qt.core.@NonNull QByteArray instanceName){
setInstanceName_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(instanceName));
}
@QtUninvokable
private native void setInstanceName_native_cref_QByteArray(long __this__nativeId, long instanceName);
/**
* See QShaderDescription::StorageBlock:: instanceName
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray instanceName(){
return instanceName_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray instanceName_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: knownSize
*/
@QtUninvokable
public final void setKnownSize(int knownSize){
setKnownSize_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), knownSize);
}
@QtUninvokable
private native void setKnownSize_native_int(long __this__nativeId, int knownSize);
/**
* See QShaderDescription::StorageBlock:: knownSize
*/
@QtUninvokable
public final int knownSize(){
return knownSize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int knownSize_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: members
*/
@QtUninvokable
public final void setMembers(java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members){
setMembers_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), members);
}
@QtUninvokable
private native void setMembers_native_cref_QList(long __this__nativeId, java.util.Collection extends io.qt.gui.rhi.QShaderDescription.BlockVariable> members);
/**
* See QShaderDescription::StorageBlock:: members
*/
@QtUninvokable
public final io.qt.core.@NonNull QList members(){
return members_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList members_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: qualifierFlags
*/
@QtUninvokable
public final void setQualifierFlags(io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags){
setQualifierFlags_native_cref_QShaderDescription_QualifierFlags(QtJambi_LibraryUtilities.internal.nativeId(this), qualifierFlags.value());
}
@QtUninvokable
private native void setQualifierFlags_native_cref_QShaderDescription_QualifierFlags(long __this__nativeId, int qualifierFlags);
/**
* See QShaderDescription::StorageBlock:: qualifierFlags
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags(){
return new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int qualifierFlags_native(long __this__nativeId);
/**
* See QShaderDescription::StorageBlock:: runtimeArrayStride
*/
@QtUninvokable
public final void setRuntimeArrayStride(int runtimeArrayStride){
setRuntimeArrayStride_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), runtimeArrayStride);
}
@QtUninvokable
private native void setRuntimeArrayStride_native_int(long __this__nativeId, int runtimeArrayStride);
/**
* See QShaderDescription::StorageBlock:: runtimeArrayStride
*/
@QtUninvokable
public final int runtimeArrayStride(){
return runtimeArrayStride_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int runtimeArrayStride_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected StorageBlock(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::StorageBlock, QShaderDescription::StorageBlock)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.StorageBlock) {
return equals((io.qt.gui.rhi.QShaderDescription.StorageBlock) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::StorageBlock)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::StorageBlock)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::StorageBlock:: StorageBlock(QShaderDescription::StorageBlock)
*/
@QtUninvokable
@Override
public StorageBlock clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native StorageBlock clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(byte @NonNull[] blockName, io.qt.core.@NonNull QByteArray instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags) {
this(new io.qt.core.QByteArray(blockName), instanceName, knownSize, binding, descriptorSet, members, runtimeArrayStride, qualifierFlags);
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(io.qt.core.@NonNull QByteArray blockName, byte @NonNull[] instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags) {
this(blockName, new io.qt.core.QByteArray(instanceName), knownSize, binding, descriptorSet, members, runtimeArrayStride, qualifierFlags);
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(byte @NonNull[] blockName, byte @NonNull[] instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags qualifierFlags) {
this(new io.qt.core.QByteArray(blockName), new io.qt.core.QByteArray(instanceName), knownSize, binding, descriptorSet, members, runtimeArrayStride, qualifierFlags);
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(io.qt.core.@NonNull QByteArray blockName, io.qt.core.@NonNull QByteArray instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlag @NonNull... qualifierFlags) {
this(blockName, instanceName, knownSize, binding, descriptorSet, members, runtimeArrayStride, new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags));
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(byte @NonNull[] blockName, io.qt.core.@NonNull QByteArray instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlag @NonNull... qualifierFlags) {
this(new io.qt.core.QByteArray(blockName), instanceName, knownSize, binding, descriptorSet, members, runtimeArrayStride, new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags));
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(io.qt.core.@NonNull QByteArray blockName, byte @NonNull[] instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlag @NonNull... qualifierFlags) {
this(blockName, new io.qt.core.QByteArray(instanceName), knownSize, binding, descriptorSet, members, runtimeArrayStride, new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags));
}
/**
* Overloaded constructor for {@link #StorageBlock(io.qt.core.QByteArray, io.qt.core.QByteArray, int, int, int, java.util.Collection, int, io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
public StorageBlock(byte @NonNull[] blockName, byte @NonNull[] instanceName, int knownSize, int binding, int descriptorSet, java.util.@NonNull Collection extends io.qt.gui.rhi.QShaderDescription.@NonNull BlockVariable> members, int runtimeArrayStride, io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlag @NonNull... qualifierFlags) {
this(new io.qt.core.QByteArray(blockName), new io.qt.core.QByteArray(instanceName), knownSize, binding, descriptorSet, members, runtimeArrayStride, new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #binding()} instead.
*/
@QtUninvokable
public final int getBinding() {
return binding();
}
/**
* Overloaded function for {@link #setBlockName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setBlockName(byte @NonNull[] blockName) {
setBlockName(new io.qt.core.QByteArray(blockName));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #blockName()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getBlockName() {
return blockName();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #descriptorSet()} instead.
*/
@QtUninvokable
public final int getDescriptorSet() {
return descriptorSet();
}
/**
* Overloaded function for {@link #setInstanceName(io.qt.core.QByteArray)}.
*/
@QtUninvokable
public final void setInstanceName(byte @NonNull[] instanceName) {
setInstanceName(new io.qt.core.QByteArray(instanceName));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #instanceName()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray getInstanceName() {
return instanceName();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #knownSize()} instead.
*/
@QtUninvokable
public final int getKnownSize() {
return knownSize();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #members()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getMembers() {
return members();
}
/**
* Overloaded function for {@link #setQualifierFlags(io.qt.gui.rhi.QShaderDescription.QualifierFlags)}.
*/
@QtUninvokable
public final void setQualifierFlags(io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlag @NonNull... qualifierFlags) {
setQualifierFlags(new io.qt.gui.rhi.QShaderDescription.QualifierFlags(qualifierFlags));
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #qualifierFlags()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull QualifierFlags getQualifierFlags() {
return qualifierFlags();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #runtimeArrayStride()} instead.
*/
@QtUninvokable
public final int getRuntimeArrayStride() {
return runtimeArrayStride();
}
}
/**
* Describes a built-in variable
* Java wrapper for Qt class QShaderDescription::BuiltinVariable
*/
public static class BuiltinVariable extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QShaderDescription::BuiltinVariable:: BuiltinVariable()
*/
public BuiltinVariable(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(BuiltinVariable instance);
/**
* See QShaderDescription::BuiltinVariable:: BuiltinVariable(QShaderDescription::BuiltinVariable)
*/
public BuiltinVariable(io.qt.gui.rhi.QShaderDescription.@StrictNonNull BuiltinVariable other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(BuiltinVariable instance, io.qt.gui.rhi.QShaderDescription.BuiltinVariable other);
/**
* See QShaderDescription::BuiltinVariable:: BuiltinVariable{QShaderDescription::BuiltinType, QShaderDescription::VariableType, QList<int>}
*/
public BuiltinVariable(io.qt.gui.rhi.QShaderDescription.@NonNull BuiltinType type, io.qt.gui.rhi.QShaderDescription.@NonNull VariableType varType, java.util.@NonNull Collection arrayDims){
super((QPrivateConstructor)null);
initialize_native(this, type, varType, arrayDims);
}
private native static void initialize_native(BuiltinVariable instance, io.qt.gui.rhi.QShaderDescription.BuiltinType type, io.qt.gui.rhi.QShaderDescription.VariableType varType, java.util.Collection arrayDims);
/**
* See operator==(QShaderDescription::BuiltinVariable, QShaderDescription::BuiltinVariable)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.QShaderDescription.@StrictNonNull BuiltinVariable rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription_BuiltinVariable(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription_BuiltinVariable(long __this__nativeId, long rhs);
/**
* See QShaderDescription::BuiltinVariable:: arrayDims
*/
@QtUninvokable
public final void setArrayDims(java.util.@NonNull Collection arrayDims){
setArrayDims_native_cref_QList(QtJambi_LibraryUtilities.internal.nativeId(this), arrayDims);
}
@QtUninvokable
private native void setArrayDims_native_cref_QList(long __this__nativeId, java.util.Collection arrayDims);
/**
* See QShaderDescription::BuiltinVariable:: arrayDims
*/
@QtUninvokable
public final io.qt.core.@NonNull QList arrayDims(){
return arrayDims_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList arrayDims_native(long __this__nativeId);
/**
* See QShaderDescription::BuiltinVariable:: type
*/
@QtUninvokable
public final void setType(io.qt.gui.rhi.QShaderDescription.@NonNull BuiltinType type){
setType_native_cref_QShaderDescription_BuiltinType(QtJambi_LibraryUtilities.internal.nativeId(this), type.value());
}
@QtUninvokable
private native void setType_native_cref_QShaderDescription_BuiltinType(long __this__nativeId, int type);
/**
* See QShaderDescription::BuiltinVariable:: type
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull BuiltinType type(){
return io.qt.gui.rhi.QShaderDescription.BuiltinType.resolve(type_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int type_native(long __this__nativeId);
/**
* See QShaderDescription::BuiltinVariable:: varType
*/
@QtUninvokable
public final void setVarType(io.qt.gui.rhi.QShaderDescription.@NonNull VariableType varType){
setVarType_native_cref_QShaderDescription_VariableType(QtJambi_LibraryUtilities.internal.nativeId(this), varType.value());
}
@QtUninvokable
private native void setVarType_native_cref_QShaderDescription_VariableType(long __this__nativeId, int varType);
/**
* See QShaderDescription::BuiltinVariable:: varType
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType varType(){
return io.qt.gui.rhi.QShaderDescription.VariableType.resolve(varType_native(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int varType_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected BuiltinVariable(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription::BuiltinVariable, QShaderDescription::BuiltinVariable)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription.BuiltinVariable) {
return equals((io.qt.gui.rhi.QShaderDescription.BuiltinVariable) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription::BuiltinVariable)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription::BuiltinVariable)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription::BuiltinVariable:: BuiltinVariable(QShaderDescription::BuiltinVariable)
*/
@QtUninvokable
@Override
public BuiltinVariable clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native BuiltinVariable clone_native(long __this_nativeId);
/**
* @hidden
* Kotlin property getter. In Java use {@link #arrayDims()} instead.
*/
@QtUninvokable
public final io.qt.core.@NonNull QList getArrayDims() {
return arrayDims();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #type()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull BuiltinType getType() {
return type();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #varType()} instead.
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull VariableType getVarType() {
return varType();
}
}
/**
* See QShaderDescription:: QShaderDescription()
*/
public QShaderDescription(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QShaderDescription instance);
/**
* See QShaderDescription:: QShaderDescription(QShaderDescription)
*/
public QShaderDescription(io.qt.gui.rhi.@StrictNonNull QShaderDescription other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QShaderDescription instance, io.qt.gui.rhi.QShaderDescription other);
/**
* See QShaderDescription:: combinedImageSamplers()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList combinedImageSamplers(){
return combinedImageSamplers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList combinedImageSamplers_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: detach()
*/
@QtUninvokable
public final void detach(){
detach_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void detach_native(long __this__nativeId);
/**
* See QShaderDescription:: inputBuiltinVariables()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList inputBuiltinVariables(){
return inputBuiltinVariables_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList inputBuiltinVariables_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: inputVariables()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList inputVariables(){
return inputVariables_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList inputVariables_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: isValid()const
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: operator=(QShaderDescription)
*/
@QtUninvokable
public final void assign(io.qt.gui.rhi.@StrictNonNull QShaderDescription other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
assign_native_cref_QShaderDescription(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QShaderDescription(long __this__nativeId, long other);
/**
* See operator==(QShaderDescription, QShaderDescription)
*/
@QtUninvokable
public final boolean equals(io.qt.gui.rhi.@StrictNonNull QShaderDescription rhs){
java.util.Objects.requireNonNull(rhs, "Argument 'rhs': null not expected.");
return equals_native_cref_QShaderDescription(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@QtUninvokable
private native boolean equals_native_cref_QShaderDescription(long __this__nativeId, long rhs);
/**
* See QShaderDescription:: outputBuiltinVariables()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList outputBuiltinVariables(){
return outputBuiltinVariables_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList outputBuiltinVariables_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: outputVariables()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList outputVariables(){
return outputVariables_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList outputVariables_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: pushConstantBlocks()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList pushConstantBlocks(){
return pushConstantBlocks_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList pushConstantBlocks_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: separateImages()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList separateImages(){
return separateImages_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList separateImages_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: separateSamplers()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList separateSamplers(){
return separateSamplers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList separateSamplers_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: serialize(QDataStream*, int)const
*/
@QtUninvokable
public final void serialize(io.qt.core.@Nullable QDataStream stream, int version){
serialize_native_QDataStream_ptr_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stream), version);
}
@QtUninvokable
private native void serialize_native_QDataStream_ptr_int_constfct(long __this__nativeId, long stream, int version);
/**
* See QShaderDescription:: storageBlocks()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList storageBlocks(){
return storageBlocks_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList storageBlocks_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: storageImages()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList storageImages(){
return storageImages_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList storageImages_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: tessellationMode()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull TessellationMode tessellationMode(){
return io.qt.gui.rhi.QShaderDescription.TessellationMode.resolve(tessellationMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tessellationMode_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: tessellationOutputVertexCount()const
*/
@QtUninvokable
public final int tessellationOutputVertexCount(){
return tessellationOutputVertexCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int tessellationOutputVertexCount_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: tessellationPartitioning()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull TessellationPartitioning tessellationPartitioning(){
return io.qt.gui.rhi.QShaderDescription.TessellationPartitioning.resolve(tessellationPartitioning_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tessellationPartitioning_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: tessellationWindingOrder()const
*/
@QtUninvokable
public final io.qt.gui.rhi.QShaderDescription.@NonNull TessellationWindingOrder tessellationWindingOrder(){
return io.qt.gui.rhi.QShaderDescription.TessellationWindingOrder.resolve(tessellationWindingOrder_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int tessellationWindingOrder_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: toJson()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QByteArray toJson(){
return toJson_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QByteArray toJson_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: uniformBlocks()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QList uniformBlocks(){
return uniformBlocks_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QList uniformBlocks_native_constfct(long __this__nativeId);
/**
* See QShaderDescription:: deserialize(QDataStream*, int)
*/
public static io.qt.gui.rhi.@NonNull QShaderDescription deserialize(io.qt.core.@Nullable QDataStream stream, int version){
return deserialize_native_QDataStream_ptr_int(QtJambi_LibraryUtilities.internal.checkedNativeId(stream), version);
}
private native static io.qt.gui.rhi.QShaderDescription deserialize_native_QDataStream_ptr_int(long stream, int version);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QShaderDescription(QPrivateConstructor p) { super(p); }
/**
* See operator==(QShaderDescription, QShaderDescription)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.gui.rhi.QShaderDescription) {
return equals((io.qt.gui.rhi.QShaderDescription) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QShaderDescription)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* See operator<<(QDebug, QShaderDescription)
*/
@QtUninvokable
@Override
public @NonNull String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private static native String toString_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QShaderDescription:: QShaderDescription(QShaderDescription)
*/
@QtUninvokable
@Override
public QShaderDescription clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QShaderDescription clone_native(long __this_nativeId);
}