
io.qt.gui.QOpenGLTexture Maven / Gradle / Ivy
package io.qt.gui;
/**
* Encapsulates an OpenGL texture object
* Java wrapper for Qt class QOpenGLTexture
*/
public class QOpenGLTexture extends io.qt.QtObject
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QOpenGLTexture.class);
/**
* Java wrapper for Qt enum QOpenGLTexture::BindingTarget
*/
public enum BindingTarget implements io.qt.QtEnumerator {
BindingTarget1D(32872),
BindingTarget1DArray(35868),
BindingTarget2D(32873),
BindingTarget2DArray(35869),
BindingTarget3D(32874),
BindingTargetCubeMap(34068),
BindingTargetCubeMapArray(36874),
BindingTarget2DMultisample(37124),
BindingTarget2DMultisampleArray(37125),
BindingTargetRectangle(34038),
BindingTargetBuffer(35884);
private BindingTarget(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 BindingTarget resolve(int value) {
switch (value) {
case 32872: return BindingTarget1D;
case 35868: return BindingTarget1DArray;
case 32873: return BindingTarget2D;
case 35869: return BindingTarget2DArray;
case 32874: return BindingTarget3D;
case 34068: return BindingTargetCubeMap;
case 36874: return BindingTargetCubeMapArray;
case 37124: return BindingTarget2DMultisample;
case 37125: return BindingTarget2DMultisampleArray;
case 34038: return BindingTargetRectangle;
case 35884: return BindingTargetBuffer;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::ComparisonFunction
*/
public enum ComparisonFunction implements io.qt.QtEnumerator {
CompareLessEqual(515),
CompareGreaterEqual(518),
CompareLess(513),
CompareGreater(516),
CompareEqual(514),
CommpareNotEqual(517),
CompareAlways(519),
CompareNever(512);
private ComparisonFunction(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 ComparisonFunction resolve(int value) {
switch (value) {
case 515: return CompareLessEqual;
case 518: return CompareGreaterEqual;
case 513: return CompareLess;
case 516: return CompareGreater;
case 514: return CompareEqual;
case 517: return CommpareNotEqual;
case 519: return CompareAlways;
case 512: return CompareNever;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::ComparisonMode
*/
public enum ComparisonMode implements io.qt.QtEnumerator {
CompareRefToTexture(34894),
CompareNone(0);
private ComparisonMode(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 ComparisonMode resolve(int value) {
switch (value) {
case 34894: return CompareRefToTexture;
case 0: return CompareNone;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::CoordinateDirection
*/
public enum CoordinateDirection implements io.qt.QtEnumerator {
DirectionS(10242),
DirectionT(10243),
DirectionR(32882);
private CoordinateDirection(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 CoordinateDirection resolve(int value) {
switch (value) {
case 10242: return DirectionS;
case 10243: return DirectionT;
case 32882: return DirectionR;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::CubeMapFace
*/
public enum CubeMapFace implements io.qt.QtEnumerator {
CubeMapPositiveX(34069),
CubeMapNegativeX(34070),
CubeMapPositiveY(34071),
CubeMapNegativeY(34072),
CubeMapPositiveZ(34073),
CubeMapNegativeZ(34074);
private CubeMapFace(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 CubeMapFace resolve(int value) {
switch (value) {
case 34069: return CubeMapPositiveX;
case 34070: return CubeMapNegativeX;
case 34071: return CubeMapPositiveY;
case 34072: return CubeMapNegativeY;
case 34073: return CubeMapPositiveZ;
case 34074: return CubeMapNegativeZ;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::DepthStencilMode
*/
public enum DepthStencilMode implements io.qt.QtEnumerator {
DepthMode(6402),
StencilMode(6401);
private DepthStencilMode(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 DepthStencilMode resolve(int value) {
switch (value) {
case 6402: return DepthMode;
case 6401: return StencilMode;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::Feature
*
* @see Features
*/
public enum Feature implements io.qt.QtFlagEnumerator {
ImmutableStorage(1),
ImmutableMultisampleStorage(2),
TextureRectangle(4),
TextureArrays(8),
Texture3D(16),
TextureMultisample(32),
TextureBuffer(64),
TextureCubeMapArrays(128),
Swizzle(256),
StencilTexturing(512),
AnisotropicFiltering(1024),
NPOTTextures(2048),
NPOTTextureRepeat(4096),
Texture1D(8192),
TextureComparisonOperators(16384),
TextureMipMapLevel(32768),
MaxFeatureFlag(65536);
private Feature(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public Features asFlags() {
return new Features(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public Features combined(Feature e) {
return new Features(this, e);
}
/**
* Creates a new {@link Features} from the entries.
* @param values entries
* @return new flag
*/
public static Features flags(Feature ... values) {
return new Features(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Feature resolve(int value) {
switch (value) {
case 1: return ImmutableStorage;
case 2: return ImmutableMultisampleStorage;
case 4: return TextureRectangle;
case 8: return TextureArrays;
case 16: return Texture3D;
case 32: return TextureMultisample;
case 64: return TextureBuffer;
case 128: return TextureCubeMapArrays;
case 256: return Swizzle;
case 512: return StencilTexturing;
case 1024: return AnisotropicFiltering;
case 2048: return NPOTTextures;
case 4096: return NPOTTextureRepeat;
case 8192: return Texture1D;
case 16384: return TextureComparisonOperators;
case 32768: return TextureMipMapLevel;
case 65536: return MaxFeatureFlag;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link Feature}
*/
public static final class Features extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x169fb62bf9f4d5d0L;
/**
* Creates a new Features where the flags in args
are set.
* @param args enum entries
*/
public Features(Feature ... args){
super(args);
}
/**
* Creates a new Features with given value
.
* @param value
*/
public Features(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new Features
*/
@Override
public final Features combined(Feature e){
return new Features(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final Features setFlag(Feature e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final Features setFlag(Feature e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this Features.
* @return array of enum entries
*/
@Override
public final Feature[] flags(){
return super.flags(Feature.values());
}
/**
* {@inheritDoc}
*/
@Override
public final Features clone(){
return new Features(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(Features other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QOpenGLTexture::Filter
*/
public enum Filter implements io.qt.QtEnumerator {
Nearest(9728),
Linear(9729),
NearestMipMapNearest(9984),
NearestMipMapLinear(9986),
LinearMipMapNearest(9985),
LinearMipMapLinear(9987);
private Filter(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 Filter resolve(int value) {
switch (value) {
case 9728: return Nearest;
case 9729: return Linear;
case 9984: return NearestMipMapNearest;
case 9986: return NearestMipMapLinear;
case 9985: return LinearMipMapNearest;
case 9987: return LinearMipMapLinear;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::MipMapGeneration
*/
public enum MipMapGeneration implements io.qt.QtEnumerator {
GenerateMipMaps(0),
DontGenerateMipMaps(1);
private MipMapGeneration(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 MipMapGeneration resolve(int value) {
switch (value) {
case 0: return GenerateMipMaps;
case 1: return DontGenerateMipMaps;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::PixelFormat
*/
public enum PixelFormat implements io.qt.QtEnumerator {
NoSourceFormat(0),
Red(6403),
RG(33319),
RGB(6407),
BGR(32992),
RGBA(6408),
BGRA(32993),
Red_Integer(36244),
RG_Integer(33320),
RGB_Integer(36248),
BGR_Integer(36250),
RGBA_Integer(36249),
BGRA_Integer(36251),
Stencil(6401),
Depth(6402),
DepthStencil(34041),
Alpha(6406),
Luminance(6409),
LuminanceAlpha(6410);
private PixelFormat(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 PixelFormat resolve(int value) {
switch (value) {
case 0: return NoSourceFormat;
case 6403: return Red;
case 33319: return RG;
case 6407: return RGB;
case 32992: return BGR;
case 6408: return RGBA;
case 32993: return BGRA;
case 36244: return Red_Integer;
case 33320: return RG_Integer;
case 36248: return RGB_Integer;
case 36250: return BGR_Integer;
case 36249: return RGBA_Integer;
case 36251: return BGRA_Integer;
case 6401: return Stencil;
case 6402: return Depth;
case 34041: return DepthStencil;
case 6406: return Alpha;
case 6409: return Luminance;
case 6410: return LuminanceAlpha;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::PixelType
*/
public enum PixelType implements io.qt.QtEnumerator {
NoPixelType(0),
Int8(5120),
UInt8(5121),
Int16(5122),
UInt16(5123),
Int32(5124),
UInt32(5125),
Float16(5131),
Float16OES(36193),
Float32(5126),
UInt32_RGB9_E5(35902),
UInt32_RG11B10F(35899),
UInt8_RG3B2(32818),
UInt8_RG3B2_Rev(33634),
UInt16_RGB5A1(32820),
UInt16_RGB5A1_Rev(33638),
UInt16_R5G6B5(33635),
UInt16_R5G6B5_Rev(33636),
UInt16_RGBA4(32819),
UInt16_RGBA4_Rev(33637),
UInt32_RGBA8(32821),
UInt32_RGBA8_Rev(33639),
UInt32_RGB10A2(32822),
UInt32_RGB10A2_Rev(33640),
UInt32_D24S8(34042),
Float32_D32_UInt32_S8_X24(36269);
private PixelType(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 PixelType resolve(int value) {
switch (value) {
case 0: return NoPixelType;
case 5120: return Int8;
case 5121: return UInt8;
case 5122: return Int16;
case 5123: return UInt16;
case 5124: return Int32;
case 5125: return UInt32;
case 5131: return Float16;
case 36193: return Float16OES;
case 5126: return Float32;
case 35902: return UInt32_RGB9_E5;
case 35899: return UInt32_RG11B10F;
case 32818: return UInt8_RG3B2;
case 33634: return UInt8_RG3B2_Rev;
case 32820: return UInt16_RGB5A1;
case 33638: return UInt16_RGB5A1_Rev;
case 33635: return UInt16_R5G6B5;
case 33636: return UInt16_R5G6B5_Rev;
case 32819: return UInt16_RGBA4;
case 33637: return UInt16_RGBA4_Rev;
case 32821: return UInt32_RGBA8;
case 33639: return UInt32_RGBA8_Rev;
case 32822: return UInt32_RGB10A2;
case 33640: return UInt32_RGB10A2_Rev;
case 34042: return UInt32_D24S8;
case 36269: return Float32_D32_UInt32_S8_X24;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::SwizzleComponent
*/
public enum SwizzleComponent implements io.qt.QtEnumerator {
SwizzleRed(36418),
SwizzleGreen(36419),
SwizzleBlue(36420),
SwizzleAlpha(36421);
private SwizzleComponent(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 SwizzleComponent resolve(int value) {
switch (value) {
case 36418: return SwizzleRed;
case 36419: return SwizzleGreen;
case 36420: return SwizzleBlue;
case 36421: return SwizzleAlpha;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::SwizzleValue
*/
public enum SwizzleValue implements io.qt.QtEnumerator {
RedValue(6403),
GreenValue(6404),
BlueValue(6405),
AlphaValue(6406),
ZeroValue(0),
OneValue(1);
private SwizzleValue(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 SwizzleValue resolve(int value) {
switch (value) {
case 6403: return RedValue;
case 6404: return GreenValue;
case 6405: return BlueValue;
case 6406: return AlphaValue;
case 0: return ZeroValue;
case 1: return OneValue;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::Target
*/
public enum Target implements io.qt.QtEnumerator {
Target1D(3552),
Target1DArray(35864),
Target2D(3553),
Target2DArray(35866),
Target3D(32879),
TargetCubeMap(34067),
TargetCubeMapArray(36873),
Target2DMultisample(37120),
Target2DMultisampleArray(37122),
TargetRectangle(34037),
TargetBuffer(35882);
private Target(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 Target resolve(int value) {
switch (value) {
case 3552: return Target1D;
case 35864: return Target1DArray;
case 3553: return Target2D;
case 35866: return Target2DArray;
case 32879: return Target3D;
case 34067: return TargetCubeMap;
case 36873: return TargetCubeMapArray;
case 37120: return Target2DMultisample;
case 37122: return Target2DMultisampleArray;
case 34037: return TargetRectangle;
case 35882: return TargetBuffer;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::TextureFormat
*/
public enum TextureFormat implements io.qt.QtEnumerator {
NoFormat(0),
R8_UNorm(33321),
RG8_UNorm(33323),
RGB8_UNorm(32849),
RGBA8_UNorm(32856),
R16_UNorm(33322),
RG16_UNorm(33324),
RGB16_UNorm(32852),
RGBA16_UNorm(32859),
R8_SNorm(36756),
RG8_SNorm(36757),
RGB8_SNorm(36758),
RGBA8_SNorm(36759),
R16_SNorm(36760),
RG16_SNorm(36761),
RGB16_SNorm(36762),
RGBA16_SNorm(36763),
R8U(33330),
RG8U(33336),
RGB8U(36221),
RGBA8U(36220),
R16U(33332),
RG16U(33338),
RGB16U(36215),
RGBA16U(36214),
R32U(33334),
RG32U(33340),
RGB32U(36209),
RGBA32U(36208),
R8I(33329),
RG8I(33335),
RGB8I(36239),
RGBA8I(36238),
R16I(33331),
RG16I(33337),
RGB16I(36233),
RGBA16I(36232),
R32I(33333),
RG32I(33339),
RGB32I(36227),
RGBA32I(36226),
R16F(33325),
RG16F(33327),
RGB16F(34843),
RGBA16F(34842),
R32F(33326),
RG32F(33328),
RGB32F(34837),
RGBA32F(34836),
RGB9E5(35901),
RG11B10F(35898),
RG3B2(10768),
R5G6B5(36194),
RGB5A1(32855),
RGBA4(32854),
RGB10A2(36975),
D16(33189),
D24(33190),
D24S8(35056),
D32(33191),
D32F(36012),
D32FS8X24(36013),
S8(36168),
RGB_DXT1(33776),
RGBA_DXT1(33777),
RGBA_DXT3(33778),
RGBA_DXT5(33779),
R_ATI1N_UNorm(36283),
R_ATI1N_SNorm(36284),
RG_ATI2N_UNorm(36285),
RG_ATI2N_SNorm(36286),
RGB_BP_UNSIGNED_FLOAT(36495),
RGB_BP_SIGNED_FLOAT(36494),
RGB_BP_UNorm(36492),
R11_EAC_UNorm(37488),
R11_EAC_SNorm(37489),
RG11_EAC_UNorm(37490),
RG11_EAC_SNorm(37491),
RGB8_ETC2(37492),
SRGB8_ETC2(37493),
RGB8_PunchThrough_Alpha1_ETC2(37494),
SRGB8_PunchThrough_Alpha1_ETC2(37495),
RGBA8_ETC2_EAC(37496),
SRGB8_Alpha8_ETC2_EAC(37497),
RGB8_ETC1(36196),
RGBA_ASTC_4x4(37808),
RGBA_ASTC_5x4(37809),
RGBA_ASTC_5x5(37810),
RGBA_ASTC_6x5(37811),
RGBA_ASTC_6x6(37812),
RGBA_ASTC_8x5(37813),
RGBA_ASTC_8x6(37814),
RGBA_ASTC_8x8(37815),
RGBA_ASTC_10x5(37816),
RGBA_ASTC_10x6(37817),
RGBA_ASTC_10x8(37818),
RGBA_ASTC_10x10(37819),
RGBA_ASTC_12x10(37820),
RGBA_ASTC_12x12(37821),
SRGB8_Alpha8_ASTC_4x4(37840),
SRGB8_Alpha8_ASTC_5x4(37841),
SRGB8_Alpha8_ASTC_5x5(37842),
SRGB8_Alpha8_ASTC_6x5(37843),
SRGB8_Alpha8_ASTC_6x6(37844),
SRGB8_Alpha8_ASTC_8x5(37845),
SRGB8_Alpha8_ASTC_8x6(37846),
SRGB8_Alpha8_ASTC_8x8(37847),
SRGB8_Alpha8_ASTC_10x5(37848),
SRGB8_Alpha8_ASTC_10x6(37849),
SRGB8_Alpha8_ASTC_10x8(37850),
SRGB8_Alpha8_ASTC_10x10(37851),
SRGB8_Alpha8_ASTC_12x10(37852),
SRGB8_Alpha8_ASTC_12x12(37853),
SRGB8(35905),
SRGB8_Alpha8(35907),
SRGB_DXT1(35916),
SRGB_Alpha_DXT1(35917),
SRGB_Alpha_DXT3(35918),
SRGB_Alpha_DXT5(35919),
SRGB_BP_UNorm(36493),
DepthFormat(6402),
AlphaFormat(6406),
RGBFormat(6407),
RGBAFormat(6408),
LuminanceFormat(6409),
LuminanceAlphaFormat(6410);
private TextureFormat(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 TextureFormat resolve(int value) {
switch (value) {
case 0: return NoFormat;
case 33321: return R8_UNorm;
case 33323: return RG8_UNorm;
case 32849: return RGB8_UNorm;
case 32856: return RGBA8_UNorm;
case 33322: return R16_UNorm;
case 33324: return RG16_UNorm;
case 32852: return RGB16_UNorm;
case 32859: return RGBA16_UNorm;
case 36756: return R8_SNorm;
case 36757: return RG8_SNorm;
case 36758: return RGB8_SNorm;
case 36759: return RGBA8_SNorm;
case 36760: return R16_SNorm;
case 36761: return RG16_SNorm;
case 36762: return RGB16_SNorm;
case 36763: return RGBA16_SNorm;
case 33330: return R8U;
case 33336: return RG8U;
case 36221: return RGB8U;
case 36220: return RGBA8U;
case 33332: return R16U;
case 33338: return RG16U;
case 36215: return RGB16U;
case 36214: return RGBA16U;
case 33334: return R32U;
case 33340: return RG32U;
case 36209: return RGB32U;
case 36208: return RGBA32U;
case 33329: return R8I;
case 33335: return RG8I;
case 36239: return RGB8I;
case 36238: return RGBA8I;
case 33331: return R16I;
case 33337: return RG16I;
case 36233: return RGB16I;
case 36232: return RGBA16I;
case 33333: return R32I;
case 33339: return RG32I;
case 36227: return RGB32I;
case 36226: return RGBA32I;
case 33325: return R16F;
case 33327: return RG16F;
case 34843: return RGB16F;
case 34842: return RGBA16F;
case 33326: return R32F;
case 33328: return RG32F;
case 34837: return RGB32F;
case 34836: return RGBA32F;
case 35901: return RGB9E5;
case 35898: return RG11B10F;
case 10768: return RG3B2;
case 36194: return R5G6B5;
case 32855: return RGB5A1;
case 32854: return RGBA4;
case 36975: return RGB10A2;
case 33189: return D16;
case 33190: return D24;
case 35056: return D24S8;
case 33191: return D32;
case 36012: return D32F;
case 36013: return D32FS8X24;
case 36168: return S8;
case 33776: return RGB_DXT1;
case 33777: return RGBA_DXT1;
case 33778: return RGBA_DXT3;
case 33779: return RGBA_DXT5;
case 36283: return R_ATI1N_UNorm;
case 36284: return R_ATI1N_SNorm;
case 36285: return RG_ATI2N_UNorm;
case 36286: return RG_ATI2N_SNorm;
case 36495: return RGB_BP_UNSIGNED_FLOAT;
case 36494: return RGB_BP_SIGNED_FLOAT;
case 36492: return RGB_BP_UNorm;
case 37488: return R11_EAC_UNorm;
case 37489: return R11_EAC_SNorm;
case 37490: return RG11_EAC_UNorm;
case 37491: return RG11_EAC_SNorm;
case 37492: return RGB8_ETC2;
case 37493: return SRGB8_ETC2;
case 37494: return RGB8_PunchThrough_Alpha1_ETC2;
case 37495: return SRGB8_PunchThrough_Alpha1_ETC2;
case 37496: return RGBA8_ETC2_EAC;
case 37497: return SRGB8_Alpha8_ETC2_EAC;
case 36196: return RGB8_ETC1;
case 37808: return RGBA_ASTC_4x4;
case 37809: return RGBA_ASTC_5x4;
case 37810: return RGBA_ASTC_5x5;
case 37811: return RGBA_ASTC_6x5;
case 37812: return RGBA_ASTC_6x6;
case 37813: return RGBA_ASTC_8x5;
case 37814: return RGBA_ASTC_8x6;
case 37815: return RGBA_ASTC_8x8;
case 37816: return RGBA_ASTC_10x5;
case 37817: return RGBA_ASTC_10x6;
case 37818: return RGBA_ASTC_10x8;
case 37819: return RGBA_ASTC_10x10;
case 37820: return RGBA_ASTC_12x10;
case 37821: return RGBA_ASTC_12x12;
case 37840: return SRGB8_Alpha8_ASTC_4x4;
case 37841: return SRGB8_Alpha8_ASTC_5x4;
case 37842: return SRGB8_Alpha8_ASTC_5x5;
case 37843: return SRGB8_Alpha8_ASTC_6x5;
case 37844: return SRGB8_Alpha8_ASTC_6x6;
case 37845: return SRGB8_Alpha8_ASTC_8x5;
case 37846: return SRGB8_Alpha8_ASTC_8x6;
case 37847: return SRGB8_Alpha8_ASTC_8x8;
case 37848: return SRGB8_Alpha8_ASTC_10x5;
case 37849: return SRGB8_Alpha8_ASTC_10x6;
case 37850: return SRGB8_Alpha8_ASTC_10x8;
case 37851: return SRGB8_Alpha8_ASTC_10x10;
case 37852: return SRGB8_Alpha8_ASTC_12x10;
case 37853: return SRGB8_Alpha8_ASTC_12x12;
case 35905: return SRGB8;
case 35907: return SRGB8_Alpha8;
case 35916: return SRGB_DXT1;
case 35917: return SRGB_Alpha_DXT1;
case 35918: return SRGB_Alpha_DXT3;
case 35919: return SRGB_Alpha_DXT5;
case 36493: return SRGB_BP_UNorm;
case 6402: return DepthFormat;
case 6406: return AlphaFormat;
case 6407: return RGBFormat;
case 6408: return RGBAFormat;
case 6409: return LuminanceFormat;
case 6410: return LuminanceAlphaFormat;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::TextureFormatClass
*/
public enum TextureFormatClass implements io.qt.QtEnumerator {
NoFormatClass(0),
FormatClass_128Bit(1),
FormatClass_96Bit(2),
FormatClass_64Bit(3),
FormatClass_48Bit(4),
FormatClass_32Bit(5),
FormatClass_24Bit(6),
FormatClass_16Bit(7),
FormatClass_8Bit(8),
FormatClass_RGTC1_R(9),
FormatClass_RGTC2_RG(10),
FormatClass_BPTC_Unorm(11),
FormatClass_BPTC_Float(12),
FormatClass_S3TC_DXT1_RGB(13),
FormatClass_S3TC_DXT1_RGBA(14),
FormatClass_S3TC_DXT3_RGBA(15),
FormatClass_S3TC_DXT5_RGBA(16),
FormatClass_Unique(17);
private TextureFormatClass(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 TextureFormatClass resolve(int value) {
switch (value) {
case 0: return NoFormatClass;
case 1: return FormatClass_128Bit;
case 2: return FormatClass_96Bit;
case 3: return FormatClass_64Bit;
case 4: return FormatClass_48Bit;
case 5: return FormatClass_32Bit;
case 6: return FormatClass_24Bit;
case 7: return FormatClass_16Bit;
case 8: return FormatClass_8Bit;
case 9: return FormatClass_RGTC1_R;
case 10: return FormatClass_RGTC2_RG;
case 11: return FormatClass_BPTC_Unorm;
case 12: return FormatClass_BPTC_Float;
case 13: return FormatClass_S3TC_DXT1_RGB;
case 14: return FormatClass_S3TC_DXT1_RGBA;
case 15: return FormatClass_S3TC_DXT3_RGBA;
case 16: return FormatClass_S3TC_DXT5_RGBA;
case 17: return FormatClass_Unique;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::TextureUnitReset
*/
public enum TextureUnitReset implements io.qt.QtEnumerator {
ResetTextureUnit(0),
DontResetTextureUnit(1);
private TextureUnitReset(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 TextureUnitReset resolve(int value) {
switch (value) {
case 0: return ResetTextureUnit;
case 1: return DontResetTextureUnit;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QOpenGLTexture::WrapMode
*/
public enum WrapMode implements io.qt.QtEnumerator {
Repeat(10497),
MirroredRepeat(33648),
ClampToEdge(33071),
ClampToBorder(33069);
private WrapMode(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 WrapMode resolve(int value) {
switch (value) {
case 10497: return Repeat;
case 33648: return MirroredRepeat;
case 33071: return ClampToEdge;
case 33069: return ClampToBorder;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* See QOpenGLTexture::QOpenGLTexture(QOpenGLTexture::Target)
*/
public QOpenGLTexture(io.qt.gui.QOpenGLTexture.Target target){
super((QPrivateConstructor)null);
initialize_native(this, target);
}
private native static void initialize_native(QOpenGLTexture instance, io.qt.gui.QOpenGLTexture.Target target);
/**
* Overloaded constructor for {@link #QOpenGLTexture(io.qt.gui.QImage, io.qt.gui.QOpenGLTexture.MipMapGeneration)}
* with genMipMaps = io.qt.gui.QOpenGLTexture.MipMapGeneration.GenerateMipMaps
.
*/
public QOpenGLTexture(io.qt.gui.QImage image) {
this(image, io.qt.gui.QOpenGLTexture.MipMapGeneration.GenerateMipMaps);
}
/**
* See QOpenGLTexture::QOpenGLTexture(QImage,QOpenGLTexture::MipMapGeneration)
*/
public QOpenGLTexture(io.qt.gui.QImage image, io.qt.gui.QOpenGLTexture.MipMapGeneration genMipMaps){
super((QPrivateConstructor)null);
initialize_native(this, image, genMipMaps);
}
private native static void initialize_native(QOpenGLTexture instance, io.qt.gui.QImage image, io.qt.gui.QOpenGLTexture.MipMapGeneration genMipMaps);
/**
* See QOpenGLTexture::allocateStorage()
*/
@io.qt.QtUninvokable
public final void allocateStorage(){
allocateStorage_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void allocateStorage_native(long __this__nativeId);
/**
* See QOpenGLTexture::allocateStorage(QOpenGLTexture::PixelFormat,QOpenGLTexture::PixelType)
*/
@io.qt.QtUninvokable
public final void allocateStorage(io.qt.gui.QOpenGLTexture.PixelFormat pixelFormat, io.qt.gui.QOpenGLTexture.PixelType pixelType){
allocateStorage_native_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType(QtJambi_LibraryUtilities.internal.nativeId(this), pixelFormat.value(), pixelType.value());
}
@io.qt.QtUninvokable
private native void allocateStorage_native_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType(long __this__nativeId, int pixelFormat, int pixelType);
/**
*
*/
@io.qt.QtUninvokable
public final void bind(){
bind_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void bind_native(long __this__nativeId);
/**
* Overloaded function for {@link #bind(int, io.qt.gui.QOpenGLTexture.TextureUnitReset)}
* with reset = io.qt.gui.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit
.
*/
@io.qt.QtUninvokable
public final void bind(int unit) {
bind(unit, io.qt.gui.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit);
}
/**
* See QOpenGLTexture::bind(uint,QOpenGLTexture::TextureUnitReset)
*/
@io.qt.QtUninvokable
public final void bind(int unit, io.qt.gui.QOpenGLTexture.TextureUnitReset reset){
bind_native_uint_QOpenGLTexture_TextureUnitReset(QtJambi_LibraryUtilities.internal.nativeId(this), unit, reset.value());
}
@io.qt.QtUninvokable
private native void bind_native_uint_QOpenGLTexture_TextureUnitReset(long __this__nativeId, int unit, int reset);
/**
* See QOpenGLTexture::borderColor()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QColor borderColor(){
return borderColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.gui.QColor borderColor_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::comparisonFunction()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.ComparisonFunction comparisonFunction(){
return io.qt.gui.QOpenGLTexture.ComparisonFunction.resolve(comparisonFunction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int comparisonFunction_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::comparisonMode()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.ComparisonMode comparisonMode(){
return io.qt.gui.QOpenGLTexture.ComparisonMode.resolve(comparisonMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int comparisonMode_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean create(){
return create_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean create_native(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture createTextureView(io.qt.gui.QOpenGLTexture.Target target, io.qt.gui.QOpenGLTexture.TextureFormat viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer){
return createTextureView_native_QOpenGLTexture_Target_QOpenGLTexture_TextureFormat_int_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), target.value(), viewFormat.value(), minimumMipmapLevel, maximumMipmapLevel, minimumLayer, maximumLayer);
}
@io.qt.QtUninvokable
private native io.qt.gui.QOpenGLTexture createTextureView_native_QOpenGLTexture_Target_QOpenGLTexture_TextureFormat_int_int_int_int_constfct(long __this__nativeId, int target, int viewFormat, int minimumMipmapLevel, int maximumMipmapLevel, int minimumLayer, int maximumLayer);
/**
* See QOpenGLTexture::depth()const
*/
@io.qt.QtUninvokable
public final int depth(){
return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int depth_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::depthStencilMode()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.DepthStencilMode depthStencilMode(){
return io.qt.gui.QOpenGLTexture.DepthStencilMode.resolve(depthStencilMode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int depthStencilMode_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void destroy(){
destroy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void destroy_native(long __this__nativeId);
/**
* See QOpenGLTexture::faces()const
*/
@io.qt.QtUninvokable
public final int faces(){
return faces_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int faces_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::format()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.TextureFormat format(){
return io.qt.gui.QOpenGLTexture.TextureFormat.resolve(format_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int format_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::generateMipMaps()
*/
@io.qt.QtUninvokable
public final void generateMipMaps(){
generateMipMaps_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void generateMipMaps_native(long __this__nativeId);
/**
* Overloaded function for {@link #generateMipMaps(int, boolean)}
* with resetBaseLevel = true
.
*/
@io.qt.QtUninvokable
public final void generateMipMaps(int baseLevel) {
generateMipMaps(baseLevel, (boolean)true);
}
/**
* See QOpenGLTexture::generateMipMaps(int,bool)
*/
@io.qt.QtUninvokable
public final void generateMipMaps(int baseLevel, boolean resetBaseLevel){
generateMipMaps_native_int_bool(QtJambi_LibraryUtilities.internal.nativeId(this), baseLevel, resetBaseLevel);
}
@io.qt.QtUninvokable
private native void generateMipMaps_native_int_bool(long __this__nativeId, int baseLevel, boolean resetBaseLevel);
/**
* See QOpenGLTexture::height()const
*/
@io.qt.QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isAutoMipMapGenerationEnabled()const
*/
@io.qt.QtUninvokable
public final boolean isAutoMipMapGenerationEnabled(){
return isAutoMipMapGenerationEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isAutoMipMapGenerationEnabled_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isBound()const
*/
@io.qt.QtUninvokable
public final boolean isBound(){
return isBound_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isBound_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isBound(uint)
*/
@io.qt.QtUninvokable
public final boolean isBound(int unit){
return isBound_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), unit);
}
@io.qt.QtUninvokable
private native boolean isBound_native_uint(long __this__nativeId, int unit);
/**
* See QOpenGLTexture::isCreated()const
*/
@io.qt.QtUninvokable
public final boolean isCreated(){
return isCreated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isCreated_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isFixedSamplePositions()const
*/
@io.qt.QtUninvokable
public final boolean isFixedSamplePositions(){
return isFixedSamplePositions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isFixedSamplePositions_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isStorageAllocated()const
*/
@io.qt.QtUninvokable
public final boolean isStorageAllocated(){
return isStorageAllocated_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isStorageAllocated_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::isTextureView()const
*/
@io.qt.QtUninvokable
public final boolean isTextureView(){
return isTextureView_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isTextureView_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::layers()const
*/
@io.qt.QtUninvokable
public final int layers(){
return layers_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int layers_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::levelOfDetailRange()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPair levelOfDetailRange(){
return levelOfDetailRange_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPair levelOfDetailRange_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::levelofDetailBias()const
*/
@io.qt.QtUninvokable
public final float levelofDetailBias(){
return levelofDetailBias_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native float levelofDetailBias_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::magnificationFilter()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.Filter magnificationFilter(){
return io.qt.gui.QOpenGLTexture.Filter.resolve(magnificationFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int magnificationFilter_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::maximumAnisotropy()const
*/
@io.qt.QtUninvokable
public final float maximumAnisotropy(){
return maximumAnisotropy_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native float maximumAnisotropy_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::maximumLevelOfDetail()const
*/
@io.qt.QtUninvokable
public final float maximumLevelOfDetail(){
return maximumLevelOfDetail_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native float maximumLevelOfDetail_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::maximumMipLevels()const
*/
@io.qt.QtUninvokable
public final int maximumMipLevels(){
return maximumMipLevels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int maximumMipLevels_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::minMagFilters()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPair minMagFilters(){
return minMagFilters_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPair minMagFilters_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::minificationFilter()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.Filter minificationFilter(){
return io.qt.gui.QOpenGLTexture.Filter.resolve(minificationFilter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int minificationFilter_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::minimumLevelOfDetail()const
*/
@io.qt.QtUninvokable
public final float minimumLevelOfDetail(){
return minimumLevelOfDetail_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native float minimumLevelOfDetail_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::mipBaseLevel()const
*/
@io.qt.QtUninvokable
public final int mipBaseLevel(){
return mipBaseLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int mipBaseLevel_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::mipLevelRange()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPair mipLevelRange(){
return mipLevelRange_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPair mipLevelRange_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::mipLevels()const
*/
@io.qt.QtUninvokable
public final int mipLevels(){
return mipLevels_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int mipLevels_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::mipMaxLevel()const
*/
@io.qt.QtUninvokable
public final int mipMaxLevel(){
return mipMaxLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int mipMaxLevel_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void release(){
release_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native void release_native(long __this__nativeId);
/**
* Overloaded function for {@link #release(int, io.qt.gui.QOpenGLTexture.TextureUnitReset)}
* with reset = io.qt.gui.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit
.
*/
@io.qt.QtUninvokable
public final void release(int unit) {
release(unit, io.qt.gui.QOpenGLTexture.TextureUnitReset.DontResetTextureUnit);
}
/**
* See QOpenGLTexture::release(uint,QOpenGLTexture::TextureUnitReset)
*/
@io.qt.QtUninvokable
public final void release(int unit, io.qt.gui.QOpenGLTexture.TextureUnitReset reset){
release_native_uint_QOpenGLTexture_TextureUnitReset(QtJambi_LibraryUtilities.internal.nativeId(this), unit, reset.value());
}
@io.qt.QtUninvokable
private native void release_native_uint_QOpenGLTexture_TextureUnitReset(long __this__nativeId, int unit, int reset);
/**
* See QOpenGLTexture::samples()const
*/
@io.qt.QtUninvokable
public final int samples(){
return samples_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int samples_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::setAutoMipMapGenerationEnabled(bool)
*/
@io.qt.QtUninvokable
public final void setAutoMipMapGenerationEnabled(boolean enabled){
setAutoMipMapGenerationEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
@io.qt.QtUninvokable
private native void setAutoMipMapGenerationEnabled_native_bool(long __this__nativeId, boolean enabled);
/**
* See QOpenGLTexture::setBorderColor(QColor)
*/
@io.qt.QtUninvokable
public final void setBorderColor(io.qt.gui.QColor color){
setBorderColor_native_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(color));
}
@io.qt.QtUninvokable
private native void setBorderColor_native_QColor(long __this__nativeId, long color);
/**
* See QOpenGLTexture::setBorderColor(float,float,float,float)
*/
@io.qt.QtUninvokable
public final void setBorderColor(float r, float g, float b, float a){
setBorderColor_native_float_float_float_float(QtJambi_LibraryUtilities.internal.nativeId(this), r, g, b, a);
}
@io.qt.QtUninvokable
private native void setBorderColor_native_float_float_float_float(long __this__nativeId, float r, float g, float b, float a);
/**
* See QOpenGLTexture::setBorderColor(int,int,int,int)
*/
@io.qt.QtUninvokable
public final void setBorderColor(int r, int g, int b, int a){
setBorderColor_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), r, g, b, a);
}
@io.qt.QtUninvokable
private native void setBorderColor_native_int_int_int_int(long __this__nativeId, int r, int g, int b, int a);
/**
* See QOpenGLTexture::setComparisonFunction(QOpenGLTexture::ComparisonFunction)
*/
@io.qt.QtUninvokable
public final void setComparisonFunction(io.qt.gui.QOpenGLTexture.ComparisonFunction function){
setComparisonFunction_native_QOpenGLTexture_ComparisonFunction(QtJambi_LibraryUtilities.internal.nativeId(this), function.value());
}
@io.qt.QtUninvokable
private native void setComparisonFunction_native_QOpenGLTexture_ComparisonFunction(long __this__nativeId, int function);
/**
* See QOpenGLTexture::setComparisonMode(QOpenGLTexture::ComparisonMode)
*/
@io.qt.QtUninvokable
public final void setComparisonMode(io.qt.gui.QOpenGLTexture.ComparisonMode mode){
setComparisonMode_native_QOpenGLTexture_ComparisonMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setComparisonMode_native_QOpenGLTexture_ComparisonMode(long __this__nativeId, int mode);
/**
* Overloaded function for {@link #setCompressedData(int, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setCompressedData(int dataSize, java.nio.Buffer data) {
setCompressedData(dataSize, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setCompressedData(int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setCompressedData_native_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), dataSize, data, options);
}
@io.qt.QtUninvokable
private native void setCompressedData_native_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setCompressedData(int, int, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int dataSize, java.nio.Buffer data) {
setCompressedData(mipLevel, dataSize, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setCompressedData_native_int_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, dataSize, data, options);
}
@io.qt.QtUninvokable
private native void setCompressedData_native_int_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setCompressedData(int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, int, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int dataSize, java.nio.Buffer data) {
setCompressedData(mipLevel, layer, cubeFace, dataSize, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setCompressedData_native_int_int_QOpenGLTexture_CubeMapFace_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, cubeFace.value(), dataSize, data, options);
}
@io.qt.QtUninvokable
private native void setCompressedData_native_int_int_QOpenGLTexture_CubeMapFace_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int cubeFace, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setCompressedData(int, int, int, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, int dataSize, java.nio.Buffer data) {
setCompressedData(mipLevel, layer, dataSize, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setCompressedData_native_int_int_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, dataSize, data, options);
}
@io.qt.QtUninvokable
private native void setCompressedData_native_int_int_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setCompressedData(int, int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, int, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, int layerCount, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int dataSize, java.nio.Buffer data) {
setCompressedData(mipLevel, layer, layerCount, cubeFace, dataSize, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setCompressedData(int mipLevel, int layer, int layerCount, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setCompressedData_native_int_int_int_QOpenGLTexture_CubeMapFace_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, layerCount, cubeFace.value(), dataSize, data, options);
}
@io.qt.QtUninvokable
private native void setCompressedData_native_int_int_int_QOpenGLTexture_CubeMapFace_int_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int layerCount, int cubeFace, int dataSize, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(io.qt.gui.QImage, io.qt.gui.QOpenGLTexture.MipMapGeneration)}
* with genMipMaps = io.qt.gui.QOpenGLTexture.MipMapGeneration.GenerateMipMaps
.
*/
@io.qt.QtUninvokable
public final void setData(io.qt.gui.QImage image) {
setData(image, io.qt.gui.QOpenGLTexture.MipMapGeneration.GenerateMipMaps);
}
/**
* See QOpenGLTexture::setData(QImage,QOpenGLTexture::MipMapGeneration)
*/
@io.qt.QtUninvokable
public final void setData(io.qt.gui.QImage image, io.qt.gui.QOpenGLTexture.MipMapGeneration genMipMaps){
setData_native_cref_QImage_QOpenGLTexture_MipMapGeneration(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(image), genMipMaps.value());
}
@io.qt.QtUninvokable
private native void setData_native_cref_QImage_QOpenGLTexture_MipMapGeneration(long __this__nativeId, long image, int genMipMaps);
/**
* Overloaded function for {@link #setData(int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int mipLevel, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(mipLevel, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int mipLevel, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(mipLevel, layer, cubeFace, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, cubeFace.value(), sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int cubeFace, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(mipLevel, layer, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, int layerCount, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(mipLevel, layer, layerCount, cubeFace, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int mipLevel, int layer, int layerCount, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), mipLevel, layer, layerCount, cubeFace.value(), sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int mipLevel, int layer, int layerCount, int cubeFace, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, int, int, int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(xOffset, yOffset, zOffset, width, height, depth, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), xOffset, yOffset, zOffset, width, height, depth, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, int, int, int, int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(xOffset, yOffset, zOffset, width, height, depth, mipLevel, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), xOffset, yOffset, zOffset, width, height, depth, mipLevel, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, int, int, int, int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, cubeFace, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, cubeFace.value(), sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_CubeMapFace_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, int cubeFace, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, int, int, int, int, int, io.qt.gui.QOpenGLTexture.CubeMapFace, int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int layerCount, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, cubeFace, layerCount, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.CubeMapFace cubeFace, int layerCount, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_CubeMapFace_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, cubeFace.value(), layerCount, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_CubeMapFace_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, int cubeFace, int layerCount, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* Overloaded function for {@link #setData(int, int, int, int, int, int, int, int, io.qt.gui.QOpenGLTexture.PixelFormat, io.qt.gui.QOpenGLTexture.PixelType, java.nio.Buffer, io.qt.gui.QOpenGLPixelTransferOptions)}
* with options = null
.
*/
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data) {
setData(xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, sourceFormat, sourceType, data, (io.qt.gui.QOpenGLPixelTransferOptions)null);
}
@io.qt.QtUninvokable
public final void setData(int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, io.qt.gui.QOpenGLTexture.PixelFormat sourceFormat, io.qt.gui.QOpenGLTexture.PixelType sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options){
setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(QtJambi_LibraryUtilities.internal.nativeId(this), xOffset, yOffset, zOffset, width, height, depth, mipLevel, layer, sourceFormat.value(), sourceType.value(), data, options);
}
@io.qt.QtUninvokable
private native void setData_native_int_int_int_int_int_int_int_int_QOpenGLTexture_PixelFormat_QOpenGLTexture_PixelType_const_void_ptr_const_QOpenGLPixelTransferOptions_cptr(long __this__nativeId, int xOffset, int yOffset, int zOffset, int width, int height, int depth, int mipLevel, int layer, int sourceFormat, int sourceType, java.nio.Buffer data, io.qt.gui.QOpenGLPixelTransferOptions options);
/**
* See QOpenGLTexture::setDepthStencilMode(QOpenGLTexture::DepthStencilMode)
*/
@io.qt.QtUninvokable
public final void setDepthStencilMode(io.qt.gui.QOpenGLTexture.DepthStencilMode mode){
setDepthStencilMode_native_QOpenGLTexture_DepthStencilMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setDepthStencilMode_native_QOpenGLTexture_DepthStencilMode(long __this__nativeId, int mode);
/**
* See QOpenGLTexture::setFixedSamplePositions(bool)
*/
@io.qt.QtUninvokable
public final void setFixedSamplePositions(boolean fixed){
setFixedSamplePositions_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), fixed);
}
@io.qt.QtUninvokable
private native void setFixedSamplePositions_native_bool(long __this__nativeId, boolean fixed);
/**
* See QOpenGLTexture::setFormat(QOpenGLTexture::TextureFormat)
*/
@io.qt.QtUninvokable
public final void setFormat(io.qt.gui.QOpenGLTexture.TextureFormat format){
setFormat_native_QOpenGLTexture_TextureFormat(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native void setFormat_native_QOpenGLTexture_TextureFormat(long __this__nativeId, int format);
/**
* See QOpenGLTexture::setLayers(int)
*/
@io.qt.QtUninvokable
public final void setLayers(int layers){
setLayers_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), layers);
}
@io.qt.QtUninvokable
private native void setLayers_native_int(long __this__nativeId, int layers);
/**
* See QOpenGLTexture::setLevelOfDetailRange(float,float)
*/
@io.qt.QtUninvokable
public final void setLevelOfDetailRange(float min, float max){
setLevelOfDetailRange_native_float_float(QtJambi_LibraryUtilities.internal.nativeId(this), min, max);
}
@io.qt.QtUninvokable
private native void setLevelOfDetailRange_native_float_float(long __this__nativeId, float min, float max);
/**
* See QOpenGLTexture::setLevelofDetailBias(float)
*/
@io.qt.QtUninvokable
public final void setLevelofDetailBias(float bias){
setLevelofDetailBias_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), bias);
}
@io.qt.QtUninvokable
private native void setLevelofDetailBias_native_float(long __this__nativeId, float bias);
/**
* See QOpenGLTexture::setMagnificationFilter(QOpenGLTexture::Filter)
*/
@io.qt.QtUninvokable
public final void setMagnificationFilter(io.qt.gui.QOpenGLTexture.Filter filter){
setMagnificationFilter_native_QOpenGLTexture_Filter(QtJambi_LibraryUtilities.internal.nativeId(this), filter.value());
}
@io.qt.QtUninvokable
private native void setMagnificationFilter_native_QOpenGLTexture_Filter(long __this__nativeId, int filter);
/**
* See QOpenGLTexture::setMaximumAnisotropy(float)
*/
@io.qt.QtUninvokable
public final void setMaximumAnisotropy(float anisotropy){
setMaximumAnisotropy_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), anisotropy);
}
@io.qt.QtUninvokable
private native void setMaximumAnisotropy_native_float(long __this__nativeId, float anisotropy);
/**
* See QOpenGLTexture::setMaximumLevelOfDetail(float)
*/
@io.qt.QtUninvokable
public final void setMaximumLevelOfDetail(float value){
setMaximumLevelOfDetail_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void setMaximumLevelOfDetail_native_float(long __this__nativeId, float value);
/**
* See QOpenGLTexture::setMinMagFilters(QOpenGLTexture::Filter,QOpenGLTexture::Filter)
*/
@io.qt.QtUninvokable
public final void setMinMagFilters(io.qt.gui.QOpenGLTexture.Filter minificationFilter, io.qt.gui.QOpenGLTexture.Filter magnificationFilter){
setMinMagFilters_native_QOpenGLTexture_Filter_QOpenGLTexture_Filter(QtJambi_LibraryUtilities.internal.nativeId(this), minificationFilter.value(), magnificationFilter.value());
}
@io.qt.QtUninvokable
private native void setMinMagFilters_native_QOpenGLTexture_Filter_QOpenGLTexture_Filter(long __this__nativeId, int minificationFilter, int magnificationFilter);
/**
* See QOpenGLTexture::setMinificationFilter(QOpenGLTexture::Filter)
*/
@io.qt.QtUninvokable
public final void setMinificationFilter(io.qt.gui.QOpenGLTexture.Filter filter){
setMinificationFilter_native_QOpenGLTexture_Filter(QtJambi_LibraryUtilities.internal.nativeId(this), filter.value());
}
@io.qt.QtUninvokable
private native void setMinificationFilter_native_QOpenGLTexture_Filter(long __this__nativeId, int filter);
/**
* See QOpenGLTexture::setMinimumLevelOfDetail(float)
*/
@io.qt.QtUninvokable
public final void setMinimumLevelOfDetail(float value){
setMinimumLevelOfDetail_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
@io.qt.QtUninvokable
private native void setMinimumLevelOfDetail_native_float(long __this__nativeId, float value);
/**
* See QOpenGLTexture::setMipBaseLevel(int)
*/
@io.qt.QtUninvokable
public final void setMipBaseLevel(int baseLevel){
setMipBaseLevel_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), baseLevel);
}
@io.qt.QtUninvokable
private native void setMipBaseLevel_native_int(long __this__nativeId, int baseLevel);
/**
* See QOpenGLTexture::setMipLevelRange(int,int)
*/
@io.qt.QtUninvokable
public final void setMipLevelRange(int baseLevel, int maxLevel){
setMipLevelRange_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), baseLevel, maxLevel);
}
@io.qt.QtUninvokable
private native void setMipLevelRange_native_int_int(long __this__nativeId, int baseLevel, int maxLevel);
/**
* See QOpenGLTexture::setMipLevels(int)
*/
@io.qt.QtUninvokable
public final void setMipLevels(int levels){
setMipLevels_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), levels);
}
@io.qt.QtUninvokable
private native void setMipLevels_native_int(long __this__nativeId, int levels);
/**
* See QOpenGLTexture::setMipMaxLevel(int)
*/
@io.qt.QtUninvokable
public final void setMipMaxLevel(int maxLevel){
setMipMaxLevel_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), maxLevel);
}
@io.qt.QtUninvokable
private native void setMipMaxLevel_native_int(long __this__nativeId, int maxLevel);
/**
* See QOpenGLTexture::setSamples(int)
*/
@io.qt.QtUninvokable
public final void setSamples(int samples){
setSamples_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), samples);
}
@io.qt.QtUninvokable
private native void setSamples_native_int(long __this__nativeId, int samples);
/**
* Overloaded function for {@link #setSize(int, int, int)}
* with depth = 1
.
*/
@io.qt.QtUninvokable
public final void setSize(int width, int height) {
setSize(width, height, (int)1);
}
/**
* Overloaded function for {@link #setSize(int, int, int)}
* with:
* height = 1
* depth = 1
*
*/
@io.qt.QtUninvokable
public final void setSize(int width) {
setSize(width, (int)1, (int)1);
}
/**
* See QOpenGLTexture::setSize(int,int,int)
*/
@io.qt.QtUninvokable
public final void setSize(int width, int height, int depth){
setSize_native_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), width, height, depth);
}
@io.qt.QtUninvokable
private native void setSize_native_int_int_int(long __this__nativeId, int width, int height, int depth);
/**
* See QOpenGLTexture::setSwizzleMask(QOpenGLTexture::SwizzleComponent,QOpenGLTexture::SwizzleValue)
*/
@io.qt.QtUninvokable
public final void setSwizzleMask(io.qt.gui.QOpenGLTexture.SwizzleComponent component, io.qt.gui.QOpenGLTexture.SwizzleValue value){
setSwizzleMask_native_QOpenGLTexture_SwizzleComponent_QOpenGLTexture_SwizzleValue(QtJambi_LibraryUtilities.internal.nativeId(this), component.value(), value.value());
}
@io.qt.QtUninvokable
private native void setSwizzleMask_native_QOpenGLTexture_SwizzleComponent_QOpenGLTexture_SwizzleValue(long __this__nativeId, int component, int value);
/**
*
*/
@io.qt.QtUninvokable
public final void setSwizzleMask(io.qt.gui.QOpenGLTexture.SwizzleValue r, io.qt.gui.QOpenGLTexture.SwizzleValue g, io.qt.gui.QOpenGLTexture.SwizzleValue b, io.qt.gui.QOpenGLTexture.SwizzleValue a){
setSwizzleMask_native_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue(QtJambi_LibraryUtilities.internal.nativeId(this), r.value(), g.value(), b.value(), a.value());
}
@io.qt.QtUninvokable
private native void setSwizzleMask_native_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue_QOpenGLTexture_SwizzleValue(long __this__nativeId, int r, int g, int b, int a);
/**
* See QOpenGLTexture::setWrapMode(QOpenGLTexture::CoordinateDirection,QOpenGLTexture::WrapMode)
*/
@io.qt.QtUninvokable
public final void setWrapMode(io.qt.gui.QOpenGLTexture.CoordinateDirection direction, io.qt.gui.QOpenGLTexture.WrapMode mode){
setWrapMode_native_QOpenGLTexture_CoordinateDirection_QOpenGLTexture_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value(), mode.value());
}
@io.qt.QtUninvokable
private native void setWrapMode_native_QOpenGLTexture_CoordinateDirection_QOpenGLTexture_WrapMode(long __this__nativeId, int direction, int mode);
/**
* See QOpenGLTexture::setWrapMode(QOpenGLTexture::WrapMode)
*/
@io.qt.QtUninvokable
public final void setWrapMode(io.qt.gui.QOpenGLTexture.WrapMode mode){
setWrapMode_native_QOpenGLTexture_WrapMode(QtJambi_LibraryUtilities.internal.nativeId(this), mode.value());
}
@io.qt.QtUninvokable
private native void setWrapMode_native_QOpenGLTexture_WrapMode(long __this__nativeId, int mode);
/**
* See QOpenGLTexture::swizzleMask(QOpenGLTexture::SwizzleComponent)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.SwizzleValue swizzleMask(io.qt.gui.QOpenGLTexture.SwizzleComponent component){
return io.qt.gui.QOpenGLTexture.SwizzleValue.resolve(swizzleMask_native_QOpenGLTexture_SwizzleComponent_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), component.value()));
}
@io.qt.QtUninvokable
private native int swizzleMask_native_QOpenGLTexture_SwizzleComponent_constfct(long __this__nativeId, int component);
/**
* See QOpenGLTexture::target()const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.Target target(){
return io.qt.gui.QOpenGLTexture.Target.resolve(target_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int target_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::textureId()const
*/
@io.qt.QtUninvokable
public final int textureId(){
return textureId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int textureId_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::width()const
*/
@io.qt.QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* See QOpenGLTexture::wrapMode(QOpenGLTexture::CoordinateDirection)const
*/
@io.qt.QtUninvokable
public final io.qt.gui.QOpenGLTexture.WrapMode wrapMode(io.qt.gui.QOpenGLTexture.CoordinateDirection direction){
return io.qt.gui.QOpenGLTexture.WrapMode.resolve(wrapMode_native_QOpenGLTexture_CoordinateDirection_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), direction.value()));
}
@io.qt.QtUninvokable
private native int wrapMode_native_QOpenGLTexture_CoordinateDirection_constfct(long __this__nativeId, int direction);
/**
* See QOpenGLTexture::boundTextureId(QOpenGLTexture::BindingTarget)
*/
public static int boundTextureId(io.qt.gui.QOpenGLTexture.BindingTarget target){
return boundTextureId_native_QOpenGLTexture_BindingTarget(target.value());
}
private native static int boundTextureId_native_QOpenGLTexture_BindingTarget(int target);
/**
* See QOpenGLTexture::boundTextureId(uint,QOpenGLTexture::BindingTarget)
*/
public static int boundTextureId(int unit, io.qt.gui.QOpenGLTexture.BindingTarget target){
return boundTextureId_native_uint_QOpenGLTexture_BindingTarget(unit, target.value());
}
private native static int boundTextureId_native_uint_QOpenGLTexture_BindingTarget(int unit, int target);
/**
* See QOpenGLTexture::hasFeature(QOpenGLTexture::Feature)
*/
public static boolean hasFeature(io.qt.gui.QOpenGLTexture.Feature feature){
return hasFeature_native_QOpenGLTexture_Feature(feature.value());
}
private native static boolean hasFeature_native_QOpenGLTexture_Feature(int feature);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QOpenGLTexture(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
}