- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QRhiVertexInputAttribute.Format>
,Constable
- Enclosing class:
QRhiVertexInputAttribute
Java wrapper for Qt enum QRhiVertexInputAttribute::Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQRhiVertexInputAttribute::
Float RepresentingQRhiVertexInputAttribute::
Float2 RepresentingQRhiVertexInputAttribute::
Float3 RepresentingQRhiVertexInputAttribute::
Float4 RepresentingQRhiVertexInputAttribute::
Half RepresentingQRhiVertexInputAttribute::
Half2 RepresentingQRhiVertexInputAttribute::
Half3 RepresentingQRhiVertexInputAttribute::
Half4 RepresentingQRhiVertexInputAttribute::
SInt RepresentingQRhiVertexInputAttribute::
SInt2 RepresentingQRhiVertexInputAttribute::
SInt3 RepresentingQRhiVertexInputAttribute::
SInt4 RepresentingQRhiVertexInputAttribute::
SShort RepresentingQRhiVertexInputAttribute::
SShort2 RepresentingQRhiVertexInputAttribute::
SShort3 RepresentingQRhiVertexInputAttribute::
SShort4 RepresentingQRhiVertexInputAttribute::
UInt RepresentingQRhiVertexInputAttribute::
UInt2 RepresentingQRhiVertexInputAttribute::
UInt3 RepresentingQRhiVertexInputAttribute::
UInt4 RepresentingQRhiVertexInputAttribute::
UNormByte RepresentingQRhiVertexInputAttribute::
UNormByte2 RepresentingQRhiVertexInputAttribute::
UNormByte4 RepresentingQRhiVertexInputAttribute::
UShort RepresentingQRhiVertexInputAttribute::
UShort2 RepresentingQRhiVertexInputAttribute::
UShort3 RepresentingQRhiVertexInputAttribute::
UShort4 -
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 QRhiVertexInputAttribute.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
-
Float4
Representing
QRhiVertexInputAttribute::
Float4 -
Float3
Representing
QRhiVertexInputAttribute::
Float3 -
Float2
Representing
QRhiVertexInputAttribute::
Float2 -
Float
Representing
QRhiVertexInputAttribute::
Float -
UNormByte4
Representing
QRhiVertexInputAttribute::
UNormByte4 -
UNormByte2
Representing
QRhiVertexInputAttribute::
UNormByte2 -
UNormByte
Representing
QRhiVertexInputAttribute::
UNormByte -
UInt4
Representing
QRhiVertexInputAttribute::
UInt4 -
UInt3
Representing
QRhiVertexInputAttribute::
UInt3 -
UInt2
Representing
QRhiVertexInputAttribute::
UInt2 -
UInt
Representing
QRhiVertexInputAttribute::
UInt -
SInt4
Representing
QRhiVertexInputAttribute::
SInt4 -
SInt3
Representing
QRhiVertexInputAttribute::
SInt3 -
SInt2
Representing
QRhiVertexInputAttribute::
SInt2 -
SInt
Representing
QRhiVertexInputAttribute::
SInt -
Half4
Representing
QRhiVertexInputAttribute::
Half4 -
Half3
Representing
QRhiVertexInputAttribute::
Half3 -
Half2
Representing
QRhiVertexInputAttribute::
Half2 -
Half
Representing
QRhiVertexInputAttribute::
Half -
UShort4
Representing
QRhiVertexInputAttribute::
UShort4 -
UShort3
Representing
QRhiVertexInputAttribute::
UShort3 -
UShort2
Representing
QRhiVertexInputAttribute::
UShort2 -
UShort
Representing
QRhiVertexInputAttribute::
UShort -
SShort4
Representing
QRhiVertexInputAttribute::
SShort4 -
SShort3
Representing
QRhiVertexInputAttribute::
SShort3 -
SShort2
Representing
QRhiVertexInputAttribute::
SShort2 -
SShort
Representing
QRhiVertexInputAttribute::
SShort
-
-
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
-