- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QOpenGLTexture.TextureFormatClass>
,Constable
- Enclosing class:
QOpenGLTexture
Java wrapper for Qt enum QOpenGLTexture::TextureFormatClass
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQOpenGLTexture::
FormatClass_128Bit RepresentingQOpenGLTexture::
FormatClass_16Bit RepresentingQOpenGLTexture::
FormatClass_24Bit RepresentingQOpenGLTexture::
FormatClass_32Bit RepresentingQOpenGLTexture::
FormatClass_48Bit RepresentingQOpenGLTexture::
FormatClass_64Bit RepresentingQOpenGLTexture::
FormatClass_8Bit RepresentingQOpenGLTexture::
FormatClass_96Bit RepresentingQOpenGLTexture::
FormatClass_BPTC_Float RepresentingQOpenGLTexture::
FormatClass_BPTC_Unorm RepresentingQOpenGLTexture::
FormatClass_RGTC1_R RepresentingQOpenGLTexture::
FormatClass_RGTC2_RG RepresentingQOpenGLTexture::
FormatClass_S3TC_DXT1_RGB RepresentingQOpenGLTexture::
FormatClass_S3TC_DXT1_RGBA RepresentingQOpenGLTexture::
FormatClass_S3TC_DXT3_RGBA RepresentingQOpenGLTexture::
FormatClass_S3TC_DXT5_RGBA RepresentingQOpenGLTexture::
FormatClass_Unique RepresentingQOpenGLTexture::
NoFormatClass -
Method Summary
Modifier and TypeMethodDescriptionresolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.Returns the enum constant of this type with the specified name.static QOpenGLTexture.TextureFormatClass[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
NoFormatClass
Representing
QOpenGLTexture::
NoFormatClass -
FormatClass_128Bit
Representing
QOpenGLTexture::
FormatClass_128Bit -
FormatClass_96Bit
Representing
QOpenGLTexture::
FormatClass_96Bit -
FormatClass_64Bit
Representing
QOpenGLTexture::
FormatClass_64Bit -
FormatClass_48Bit
Representing
QOpenGLTexture::
FormatClass_48Bit -
FormatClass_32Bit
Representing
QOpenGLTexture::
FormatClass_32Bit -
FormatClass_24Bit
Representing
QOpenGLTexture::
FormatClass_24Bit -
FormatClass_16Bit
Representing
QOpenGLTexture::
FormatClass_16Bit -
FormatClass_8Bit
Representing
QOpenGLTexture::
FormatClass_8Bit -
FormatClass_RGTC1_R
Representing
QOpenGLTexture::
FormatClass_RGTC1_R -
FormatClass_RGTC2_RG
Representing
QOpenGLTexture::
FormatClass_RGTC2_RG -
FormatClass_BPTC_Unorm
Representing
QOpenGLTexture::
FormatClass_BPTC_Unorm -
FormatClass_BPTC_Float
Representing
QOpenGLTexture::
FormatClass_BPTC_Float -
FormatClass_S3TC_DXT1_RGB
Representing
QOpenGLTexture::
FormatClass_S3TC_DXT1_RGB -
FormatClass_S3TC_DXT1_RGBA
Representing
QOpenGLTexture::
FormatClass_S3TC_DXT1_RGBA -
FormatClass_S3TC_DXT3_RGBA
Representing
QOpenGLTexture::
FormatClass_S3TC_DXT3_RGBA -
FormatClass_S3TC_DXT5_RGBA
Representing
QOpenGLTexture::
FormatClass_S3TC_DXT5_RGBA -
FormatClass_Unique
Representing
QOpenGLTexture::
FormatClass_Unique
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-