Class GL1_21
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
FieldsModifier and TypeFieldDescriptionprotected floatprotected floatprotected floatprotected floatprotected com.mojang.blaze3d.vertex.BufferBuilderprotected com.mojang.blaze3d.vertex.VertexFormatprotected com.mojang.blaze3d.vertex.PoseStack.Pose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddirectBegin(int modeVal) GL11#glBegin was removed after OpenGL 3.1, but backwards compatibility means we can't just remove this methodvoidvoiddirectVertexD(double x, double y) voiddirectVertexD(double x, double y, double z) voiddirectVertexF(float x, float y) voiddirectVertexF(float x, float y, float z) voiddisable(int cap) voidenable(int cap) intlines()intprotected com.mojang.blaze3d.vertex.VertexConsumernormal(com.mojang.blaze3d.vertex.VertexConsumer consumer, float x, float y, float z) voidnormalizedVertex(double x, double y, double z, float r, float g, float b, float a, double nextX, double nextY, double nextZ) intquads()voidscissor(int left, int bottom, int width, int height) intvoidsetLineWidth(float width) voidsetWorkingMatrix(Object matrix) intintprotected com.mojang.blaze3d.vertex.VertexConsumervertex(double x, double y, double z) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
directBeginin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
directEnd
public void directEnd()- Specified by:
directEndin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
directVertexD
public void directVertexD(double x, double y, double z) - Specified by:
directVertexDin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
directVertexD
public void directVertexD(double x, double y) - Specified by:
directVertexDin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
directVertexF
public void directVertexF(float x, float y, float z) - Specified by:
directVertexFin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
directVertexF
public void directVertexF(float x, float y) - Specified by:
directVertexFin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
disable
public void disable(int cap) - Specified by:
disablein interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
enable
public void enable(int cap) - Specified by:
enablein interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
lineStrip
public int lineStrip()- Specified by:
lineStripin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
lines
public int lines()- Specified by:
linesin interfacemods.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:
normalizedVertexin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
quads
public int quads()- Specified by:
quadsin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
scissor
public void scissor(int left, int bottom, int width, int height) - Specified by:
scissorin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
scissorTest
public int scissorTest()- Specified by:
scissorTestin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
setLineWidth
public void setLineWidth(float width) - Specified by:
setLineWidthin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
setWorkingMatrix
- Specified by:
setWorkingMatrixin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
triangles
public int triangles()- Specified by:
trianglesin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
triangleFan
public int triangleFan()- Specified by:
triangleFanin interfacemods.thecomputerizer.theimpossiblelibrary.api.client.render.GLAPI
-
vertex
protected com.mojang.blaze3d.vertex.VertexConsumer vertex(double x, double y, double z)
-