Enum Class GLUniformType

java.lang.Object
java.lang.Enum<GLUniformType>
org.gnome.gsk.GLUniformType
All Implemented Interfaces:
Serializable, Comparable<GLUniformType>, Constable, Enumeration

@Generated("org.javagi.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 Enum

    Enum.EnumDesc<E>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated.
    A GLSL bool / gboolean uniform
    Deprecated.
    A float uniform
    Deprecated.
    A GLSL int / gint32 uniform
    Deprecated.
    No type, used for uninitialized or unspecified values.
    Deprecated.
    A GLSL uint / guint32 uniform
    Deprecated.
    A GLSL vec2 / graphene_vec2_t uniform
    Deprecated.
    A GLSL vec3 / graphene_vec3_t uniform
    Deprecated.
    A GLSL vec4 / graphene_vec4_t uniform
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable Type
    Deprecated.
    Get the GType of the GLUniformType class.
    int
    Deprecated.
    Get the numeric value of this enum
    of(int value)
    Deprecated.
    Create a new GLUniformType for the provided value
    of(MemorySegment address)
    Deprecated.
    Create a new GLUniformType for the value in the provided memory address.
    Deprecated.
    Returns the enum constant of this class with the specified name.
    static GLUniformType[]
    Deprecated.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final GLUniformType NONE
      Deprecated.
      No type, used for uninitialized or unspecified values.
    • FLOAT

      public static final GLUniformType FLOAT
      Deprecated.
      A float uniform
    • INT

      public static final GLUniformType INT
      Deprecated.
      A GLSL int / gint32 uniform
    • UINT

      public static final GLUniformType UINT
      Deprecated.
      A GLSL uint / guint32 uniform
    • BOOL

      public static final GLUniformType BOOL
      Deprecated.
      A GLSL bool / gboolean uniform
    • VEC2

      public static final GLUniformType VEC2
      Deprecated.
      A GLSL vec2 / graphene_vec2_t uniform
    • VEC3

      public static final GLUniformType VEC3
      Deprecated.
      A GLSL vec3 / graphene_vec3_t uniform
    • VEC4

      public static final GLUniformType VEC4
      Deprecated.
      A GLSL vec4 / graphene_vec4_t uniform
  • Method Details

    • values

      public static GLUniformType[] 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

      public static GLUniformType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • of

      public static GLUniformType of(int value)
      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 interface Enumeration
      Returns:
      the enum value
    • of

      public static GLUniformType of(MemorySegment address)
      Deprecated.
      Create a new GLUniformType for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Deprecated.
      Get the GType of the GLUniformType class.
      Returns:
      the GType