- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QShaderDescription.VariableType>
,Constable
- Enclosing class:
QShaderDescription
Java wrapper for Qt enum QShaderDescription::VariableType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQShaderDescription::
Bool RepresentingQShaderDescription::
Bool2 RepresentingQShaderDescription::
Bool3 RepresentingQShaderDescription::
Bool4 RepresentingQShaderDescription::
DMat2 RepresentingQShaderDescription::
DMat2x3 RepresentingQShaderDescription::
DMat2x4 RepresentingQShaderDescription::
DMat3 RepresentingQShaderDescription::
DMat3x2 RepresentingQShaderDescription::
DMat3x4 RepresentingQShaderDescription::
DMat4 RepresentingQShaderDescription::
DMat4x2 RepresentingQShaderDescription::
DMat4x3 RepresentingQShaderDescription::
Double RepresentingQShaderDescription::
Double2 RepresentingQShaderDescription::
Double3 RepresentingQShaderDescription::
Double4 RepresentingQShaderDescription::
Float RepresentingQShaderDescription::
Half RepresentingQShaderDescription::
Half2 RepresentingQShaderDescription::
Half3 RepresentingQShaderDescription::
Half4 RepresentingQShaderDescription::
Image1D RepresentingQShaderDescription::
Image1DArray RepresentingQShaderDescription::
Image2D RepresentingQShaderDescription::
Image2DArray RepresentingQShaderDescription::
Image2DMS RepresentingQShaderDescription::
Image2DMSArray RepresentingQShaderDescription::
Image3D RepresentingQShaderDescription::
Image3DArray RepresentingQShaderDescription::
ImageBuffer RepresentingQShaderDescription::
ImageCube RepresentingQShaderDescription::
ImageCubeArray RepresentingQShaderDescription::
ImageRect RepresentingQShaderDescription::
Int RepresentingQShaderDescription::
Int2 RepresentingQShaderDescription::
Int3 RepresentingQShaderDescription::
Int4 RepresentingQShaderDescription::
Mat2 RepresentingQShaderDescription::
Mat2x3 RepresentingQShaderDescription::
Mat2x4 RepresentingQShaderDescription::
Mat3 RepresentingQShaderDescription::
Mat3x2 RepresentingQShaderDescription::
Mat3x4 RepresentingQShaderDescription::
Mat4 RepresentingQShaderDescription::
Mat4x2 RepresentingQShaderDescription::
Mat4x3 RepresentingQShaderDescription::
Sampler RepresentingQShaderDescription::
Sampler1D RepresentingQShaderDescription::
Sampler1DArray RepresentingQShaderDescription::
Sampler2D RepresentingQShaderDescription::
Sampler2DArray RepresentingQShaderDescription::
Sampler2DMS RepresentingQShaderDescription::
Sampler2DMSArray RepresentingQShaderDescription::
Sampler3D RepresentingQShaderDescription::
Sampler3DArray RepresentingQShaderDescription::
SamplerBuffer RepresentingQShaderDescription::
SamplerCube RepresentingQShaderDescription::
SamplerCubeArray RepresentingQShaderDescription::
SamplerExternalOES RepresentingQShaderDescription::
SamplerRect RepresentingQShaderDescription::
Struct RepresentingQShaderDescription::
Uint RepresentingQShaderDescription::
Uint2 RepresentingQShaderDescription::
Uint3 RepresentingQShaderDescription::
Uint4 RepresentingQShaderDescription::
Unknown RepresentingQShaderDescription::
Vec2 RepresentingQShaderDescription::
Vec3 RepresentingQShaderDescription::
Vec4 -
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 QShaderDescription.VariableType[]
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
-
Unknown
Representing
QShaderDescription::
Unknown -
Float
Representing
QShaderDescription::
Float -
Vec2
Representing
QShaderDescription::
Vec2 -
Vec3
Representing
QShaderDescription::
Vec3 -
Vec4
Representing
QShaderDescription::
Vec4 -
Mat2
Representing
QShaderDescription::
Mat2 -
Mat2x3
Representing
QShaderDescription::
Mat2x3 -
Mat2x4
Representing
QShaderDescription::
Mat2x4 -
Mat3
Representing
QShaderDescription::
Mat3 -
Mat3x2
Representing
QShaderDescription::
Mat3x2 -
Mat3x4
Representing
QShaderDescription::
Mat3x4 -
Mat4
Representing
QShaderDescription::
Mat4 -
Mat4x2
Representing
QShaderDescription::
Mat4x2 -
Mat4x3
Representing
QShaderDescription::
Mat4x3 -
Int
Representing
QShaderDescription::
Int -
Int2
Representing
QShaderDescription::
Int2 -
Int3
Representing
QShaderDescription::
Int3 -
Int4
Representing
QShaderDescription::
Int4 -
Uint
Representing
QShaderDescription::
Uint -
Uint2
Representing
QShaderDescription::
Uint2 -
Uint3
Representing
QShaderDescription::
Uint3 -
Uint4
Representing
QShaderDescription::
Uint4 -
Bool
Representing
QShaderDescription::
Bool -
Bool2
Representing
QShaderDescription::
Bool2 -
Bool3
Representing
QShaderDescription::
Bool3 -
Bool4
Representing
QShaderDescription::
Bool4 -
Double
Representing
QShaderDescription::
Double -
Double2
Representing
QShaderDescription::
Double2 -
Double3
Representing
QShaderDescription::
Double3 -
Double4
Representing
QShaderDescription::
Double4 -
DMat2
Representing
QShaderDescription::
DMat2 -
DMat2x3
Representing
QShaderDescription::
DMat2x3 -
DMat2x4
Representing
QShaderDescription::
DMat2x4 -
DMat3
Representing
QShaderDescription::
DMat3 -
DMat3x2
Representing
QShaderDescription::
DMat3x2 -
DMat3x4
Representing
QShaderDescription::
DMat3x4 -
DMat4
Representing
QShaderDescription::
DMat4 -
DMat4x2
Representing
QShaderDescription::
DMat4x2 -
DMat4x3
Representing
QShaderDescription::
DMat4x3 -
Sampler1D
Representing
QShaderDescription::
Sampler1D -
Sampler2D
Representing
QShaderDescription::
Sampler2D -
Sampler2DMS
Representing
QShaderDescription::
Sampler2DMS -
Sampler3D
Representing
QShaderDescription::
Sampler3D -
SamplerCube
Representing
QShaderDescription::
SamplerCube -
Sampler1DArray
Representing
QShaderDescription::
Sampler1DArray -
Sampler2DArray
Representing
QShaderDescription::
Sampler2DArray -
Sampler2DMSArray
Representing
QShaderDescription::
Sampler2DMSArray -
Sampler3DArray
Representing
QShaderDescription::
Sampler3DArray -
SamplerCubeArray
Representing
QShaderDescription::
SamplerCubeArray -
SamplerRect
Representing
QShaderDescription::
SamplerRect -
SamplerBuffer
Representing
QShaderDescription::
SamplerBuffer -
SamplerExternalOES
Representing
QShaderDescription::
SamplerExternalOES -
Sampler
Representing
QShaderDescription::
Sampler -
Image1D
Representing
QShaderDescription::
Image1D -
Image2D
Representing
QShaderDescription::
Image2D -
Image2DMS
Representing
QShaderDescription::
Image2DMS -
Image3D
Representing
QShaderDescription::
Image3D -
ImageCube
Representing
QShaderDescription::
ImageCube -
Image1DArray
Representing
QShaderDescription::
Image1DArray -
Image2DArray
Representing
QShaderDescription::
Image2DArray -
Image2DMSArray
Representing
QShaderDescription::
Image2DMSArray -
Image3DArray
Representing
QShaderDescription::
Image3DArray -
ImageCubeArray
Representing
QShaderDescription::
ImageCubeArray -
ImageRect
Representing
QShaderDescription::
ImageRect -
ImageBuffer
Representing
QShaderDescription::
ImageBuffer -
Struct
Representing
QShaderDescription::
Struct -
Half
Representing
QShaderDescription::
Half -
Half2
Representing
QShaderDescription::
Half2 -
Half3
Representing
QShaderDescription::
Half3 -
Half4
Representing
QShaderDescription::
Half4
-
-
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
-