Class GlConst

java.lang.Object
com.mojang.blaze3d.opengl.GlConst

@Environment(CLIENT) public class GlConst extends Object
Mappings:
Namespace Name
named com/mojang/blaze3d/opengl/GlConst
intermediary com/mojang/blaze3d/opengl/GlConst
official com/mojang/blaze3d/opengl/GlConst
  • Field Details

  • Constructor Details

    • GlConst

      public GlConst()
  • Method Details

    • toGl

      public static int toGl(DepthTestFunction function)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DepthTestFunction;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DepthTestFunction;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DepthTestFunction;)I
    • toGl

      public static int toGl(PolygonMode polygonMode)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/PolygonMode;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/PolygonMode;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/PolygonMode;)I
    • toGl

      public static int toGl(DestFactor factor)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DestFactor;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DestFactor;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/DestFactor;)I
    • toGl

      public static int toGl(SourceFactor factor)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/SourceFactor;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/SourceFactor;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/platform/SourceFactor;)I
    • toGl

      public static int toGl(VertexFormat.DrawMode drawMode)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$DrawMode;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$class_5596;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$b;)I
    • toGl

      public static int toGl(VertexFormat.IndexType type)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$IndexType;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormat$a;)I
    • toGl

      public static int toGl(NativeImage.Format format)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lnet/minecraft/client/texture/NativeImage$Format;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lnet/minecraft/class_1011$class_1012;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lfne$a;)I
    • toGl

      public static int toGl(AddressMode addressMode)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/textures/AddressMode;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/textures/AddressMode;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/textures/AddressMode;)I
    • toGl

      public static int toGl(VertexFormatElement.Type type)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormatElement$Type;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormatElement$Type;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/vertex/VertexFormatElement$Type;)I
    • toGlInternalId

      public static int toGlInternalId(TextureFormat format)
      Mappings:
      Namespace Name Mixin selector
      named toGlInternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlInternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      intermediary toGlInternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlInternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      official toGlInternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlInternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
    • toGlExternalId

      public static int toGlExternalId(TextureFormat format)
      Mappings:
      Namespace Name Mixin selector
      named toGlExternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlExternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      intermediary toGlExternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlExternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      official toGlExternalId Lcom/mojang/blaze3d/opengl/GlConst;toGlExternalId(Lcom/mojang/blaze3d/textures/TextureFormat;)I
    • toGlType

      public static int toGlType(TextureFormat format)
      Mappings:
      Namespace Name Mixin selector
      named toGlType Lcom/mojang/blaze3d/opengl/GlConst;toGlType(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      intermediary toGlType Lcom/mojang/blaze3d/opengl/GlConst;toGlType(Lcom/mojang/blaze3d/textures/TextureFormat;)I
      official toGlType Lcom/mojang/blaze3d/opengl/GlConst;toGlType(Lcom/mojang/blaze3d/textures/TextureFormat;)I
    • toGl

      public static int toGl(ShaderType type)
      Mappings:
      Namespace Name Mixin selector
      named toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/shaders/ShaderType;)I
      intermediary toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/shaders/ShaderType;)I
      official toGl Lcom/mojang/blaze3d/opengl/GlConst;toGl(Lcom/mojang/blaze3d/shaders/ShaderType;)I
    • bufferUsageToGlFlag

      public static int bufferUsageToGlFlag(int usage)
      Mappings:
      Namespace Name Mixin selector
      named bufferUsageToGlFlag Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlFlag(I)I
      intermediary bufferUsageToGlFlag Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlFlag(I)I
      official bufferUsageToGlFlag Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlFlag(I)I
    • bufferUsageToGlEnum

      public static int bufferUsageToGlEnum(int usage)
      Mappings:
      Namespace Name Mixin selector
      named bufferUsageToGlEnum Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlEnum(I)I
      intermediary bufferUsageToGlEnum Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlEnum(I)I
      official bufferUsageToGlEnum Lcom/mojang/blaze3d/opengl/GlConst;bufferUsageToGlEnum(I)I