java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.shared.v21.client.render.GL1_21
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI

public class GL1_21 extends Object implements mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected float
     
    protected float
     
    protected float
     
    protected float
     
    protected com.mojang.blaze3d.vertex.BufferBuilder
     
    protected com.mojang.blaze3d.vertex.VertexFormat
     
    protected com.mojang.blaze3d.vertex.PoseStack.Pose
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    directBegin(int modeVal)
    GL11#glBegin was removed after OpenGL 3.1, but backwards compatibility means we can't just remove this method
    void
     
    void
    directVertexD(double x, double y)
     
    void
    directVertexD(double x, double y, double z)
     
    void
    directVertexF(float x, float y)
     
    void
    directVertexF(float x, float y, float z)
     
    void
    disable(int cap)
     
    void
    enable(int cap)
     
    int
     
    int
     
    protected com.mojang.blaze3d.vertex.VertexConsumer
    normal(com.mojang.blaze3d.vertex.VertexConsumer consumer, float x, float y, float z)
     
    void
    normalizedVertex(double x, double y, double z, float r, float g, float b, float a, double nextX, double nextY, double nextZ)
     
    int
     
    void
    scissor(int left, int bottom, int width, int height)
     
    int
     
    void
    setLineWidth(float width)
     
    void
     
    int
     
    int
     
    protected com.mojang.blaze3d.vertex.VertexConsumer
    vertex(double x, double y, double z)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI

    normalizedVertex, normalizedVertex, normalizedVertex, normalizedVertex, normalizedVertex2D, normalizedVertex2D, normalizedVertex2D, normalizedVertex2D, normalizedVertex2D
  • Field Details

    • r

      protected float r
    • g

      protected float g
    • b

      protected float b
    • a

      protected float a
    • workingFormat

      protected com.mojang.blaze3d.vertex.VertexFormat workingFormat
    • workingBuffer

      protected com.mojang.blaze3d.vertex.BufferBuilder workingBuffer
    • workingPose

      protected com.mojang.blaze3d.vertex.PoseStack.Pose workingPose
  • Constructor Details

    • GL1_21

      public GL1_21()
  • Method Details

    • directBegin

      public void directBegin(int modeVal)
      GL11#glBegin was removed after OpenGL 3.1, but backwards compatibility means we can't just remove this method
      Specified by:
      directBegin in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • directEnd

      public void directEnd()
      Specified by:
      directEnd in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • directVertexD

      public void directVertexD(double x, double y, double z)
      Specified by:
      directVertexD in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • directVertexD

      public void directVertexD(double x, double y)
      Specified by:
      directVertexD in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • directVertexF

      public void directVertexF(float x, float y, float z)
      Specified by:
      directVertexF in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • directVertexF

      public void directVertexF(float x, float y)
      Specified by:
      directVertexF in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • disable

      public void disable(int cap)
      Specified by:
      disable in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • enable

      public void enable(int cap)
      Specified by:
      enable in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • lineStrip

      public int lineStrip()
      Specified by:
      lineStrip in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • lines

      public int lines()
      Specified by:
      lines in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • normal

      protected com.mojang.blaze3d.vertex.VertexConsumer normal(com.mojang.blaze3d.vertex.VertexConsumer consumer, float x, float y, float z)
    • normalizedVertex

      public void normalizedVertex(double x, double y, double z, float r, float g, float b, float a, double nextX, double nextY, double nextZ)
      Specified by:
      normalizedVertex in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • quads

      public int quads()
      Specified by:
      quads in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • scissor

      public void scissor(int left, int bottom, int width, int height)
      Specified by:
      scissor in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • scissorTest

      public int scissorTest()
      Specified by:
      scissorTest in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • setLineWidth

      public void setLineWidth(float width)
      Specified by:
      setLineWidth in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • setWorkingMatrix

      public void setWorkingMatrix(Object matrix)
      Specified by:
      setWorkingMatrix in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • triangles

      public int triangles()
      Specified by:
      triangles in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • triangleFan

      public int triangleFan()
      Specified by:
      triangleFan in interface mods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
    • vertex

      protected com.mojang.blaze3d.vertex.VertexConsumer vertex(double x, double y, double z)