- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QRhiTexture.Format>
,Constable
- Enclosing class:
QRhiTexture
Java wrapper for Qt enum QRhiTexture::Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQRhiTexture::
ASTC_10x10 RepresentingQRhiTexture::
ASTC_10x5 RepresentingQRhiTexture::
ASTC_10x6 RepresentingQRhiTexture::
ASTC_10x8 RepresentingQRhiTexture::
ASTC_12x10 RepresentingQRhiTexture::
ASTC_12x12 RepresentingQRhiTexture::
ASTC_4x4 RepresentingQRhiTexture::
ASTC_5x4 RepresentingQRhiTexture::
ASTC_5x5 RepresentingQRhiTexture::
ASTC_6x5 RepresentingQRhiTexture::
ASTC_6x6 RepresentingQRhiTexture::
ASTC_8x5 RepresentingQRhiTexture::
ASTC_8x6 RepresentingQRhiTexture::
ASTC_8x8 RepresentingQRhiTexture::
BC1 RepresentingQRhiTexture::
BC2 RepresentingQRhiTexture::
BC3 RepresentingQRhiTexture::
BC4 RepresentingQRhiTexture::
BC5 RepresentingQRhiTexture::
BC6H RepresentingQRhiTexture::
BC7 RepresentingQRhiTexture::
BGRA8 RepresentingQRhiTexture::
D16 RepresentingQRhiTexture::
D24 RepresentingQRhiTexture::
D24S8 RepresentingQRhiTexture::
D32F RepresentingQRhiTexture::
ETC2_RGB8 RepresentingQRhiTexture::
ETC2_RGB8A1 RepresentingQRhiTexture::
ETC2_RGBA8 RepresentingQRhiTexture::
R16 RepresentingQRhiTexture::
R16F RepresentingQRhiTexture::
R32F RepresentingQRhiTexture::
R8 RepresentingQRhiTexture::
RED_OR_ALPHA8 RepresentingQRhiTexture::
RG16 RepresentingQRhiTexture::
RG8 RepresentingQRhiTexture::
RGB10A2 RepresentingQRhiTexture::
RGBA16F RepresentingQRhiTexture::
RGBA32F RepresentingQRhiTexture::
RGBA8 RepresentingQRhiTexture::
UnknownFormat -
Method Summary
Modifier and TypeMethodDescriptionstatic QRhiTexture.Format
resolve
(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.static QRhiTexture.Format
Returns the enum constant of this type with the specified name.static QRhiTexture.Format[]
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
-
UnknownFormat
Representing
QRhiTexture::
UnknownFormat -
RGBA8
Representing
QRhiTexture::
RGBA8 -
BGRA8
Representing
QRhiTexture::
BGRA8 -
R8
Representing
QRhiTexture::
R8 -
RG8
Representing
QRhiTexture::
RG8 -
R16
Representing
QRhiTexture::
R16 -
RG16
Representing
QRhiTexture::
RG16 -
RED_OR_ALPHA8
Representing
QRhiTexture::
RED_OR_ALPHA8 -
RGBA16F
Representing
QRhiTexture::
RGBA16F -
RGBA32F
Representing
QRhiTexture::
RGBA32F -
R16F
Representing
QRhiTexture::
R16F -
R32F
Representing
QRhiTexture::
R32F -
RGB10A2
Representing
QRhiTexture::
RGB10A2 -
D16
Representing
QRhiTexture::
D16 -
D24
Representing
QRhiTexture::
D24 -
D24S8
Representing
QRhiTexture::
D24S8 -
D32F
Representing
QRhiTexture::
D32F -
BC1
Representing
QRhiTexture::
BC1 -
BC2
Representing
QRhiTexture::
BC2 -
BC3
Representing
QRhiTexture::
BC3 -
BC4
Representing
QRhiTexture::
BC4 -
BC5
Representing
QRhiTexture::
BC5 -
BC6H
Representing
QRhiTexture::
BC6H -
BC7
Representing
QRhiTexture::
BC7 -
ETC2_RGB8
Representing
QRhiTexture::
ETC2_RGB8 -
ETC2_RGB8A1
Representing
QRhiTexture::
ETC2_RGB8A1 -
ETC2_RGBA8
Representing
QRhiTexture::
ETC2_RGBA8 -
ASTC_4x4
Representing
QRhiTexture::
ASTC_4x4 -
ASTC_5x4
Representing
QRhiTexture::
ASTC_5x4 -
ASTC_5x5
Representing
QRhiTexture::
ASTC_5x5 -
ASTC_6x5
Representing
QRhiTexture::
ASTC_6x5 -
ASTC_6x6
Representing
QRhiTexture::
ASTC_6x6 -
ASTC_8x5
Representing
QRhiTexture::
ASTC_8x5 -
ASTC_8x6
Representing
QRhiTexture::
ASTC_8x6 -
ASTC_8x8
Representing
QRhiTexture::
ASTC_8x8 -
ASTC_10x5
Representing
QRhiTexture::
ASTC_10x5 -
ASTC_10x6
Representing
QRhiTexture::
ASTC_10x6 -
ASTC_10x8
Representing
QRhiTexture::
ASTC_10x8 -
ASTC_10x10
Representing
QRhiTexture::
ASTC_10x10 -
ASTC_12x10
Representing
QRhiTexture::
ASTC_12x10 -
ASTC_12x12
Representing
QRhiTexture::
ASTC_12x12
-
-
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
-