Package org.gnome.gsk
Enum Class GLUniformType
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<GLUniformType>
,Constable
@Generated("io.github.jwharm.JavaGI")
@Deprecated
public enum GLUniformType
extends Enum<GLUniformType>
implements Enumeration
Deprecated.
Defines the types of the uniforms that
GskGLShaders
declare.
It defines both what the type is called in the GLSL shader code, and what the corresponding C type is on the Gtk side.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.A GLSL bool / gboolean uniformDeprecated.A float uniformDeprecated.A GLSL int / gint32 uniformDeprecated.No type, used for uninitialized or unspecified values.Deprecated.A GLSL uint / guint32 uniformDeprecated.A GLSL vec2 / graphene_vec2_t uniformDeprecated.A GLSL vec3 / graphene_vec3_t uniformDeprecated.A GLSL vec4 / graphene_vec4_t uniform -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Deprecated.Get the GType of the GLUniformType classint
getValue()
Deprecated.Get the numeric value of this enumstatic GLUniformType
of
(int value) Deprecated.Create a new GLUniformType for the provided valuestatic GLUniformType
Deprecated.Returns the enum constant of this class with the specified name.static GLUniformType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Deprecated.No type, used for uninitialized or unspecified values. -
FLOAT
-
INT
-
UINT
-
BOOL
-
VEC2
-
VEC3
-
VEC4
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Deprecated.Create a new GLUniformType for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Deprecated.Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
Deprecated.Get the GType of the GLUniformType class- Returns:
- the GType
-