Class GlRenderPipeline
java.lang.Object
com.mojang.renderpearl.backend.opengl.GlRenderPipeline
- All Implemented Interfaces:
BackendRenderPipeline, UncheckedAutoCloseable, AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface BackendRenderPipeline
BackendRenderPipeline.CreateInfo, BackendRenderPipeline.Pending -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean[]private booleanprivate final booleanprivate final floatprivate final floatprivate final booleanprivate final intprivate final GlDeviceprivate final intprivate final intprivate final booleanprivate final booleanprivate final intprivate final intprivate final intprivate final intprivate final GlProgramprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate final VertexArrayprivate final booleanprivate final int[] -
Constructor Summary
ConstructorsConstructorDescriptionGlRenderPipeline(GlDevice device, BackendRenderPipeline.CreateInfo createInfo, GlProgram program, VertexArray vertexArray) -
Method Summary
-
Field Details
-
device
-
program
-
vertexArray
-
primitiveTopology
private final int primitiveTopology -
cull
private final boolean cull -
polygonMode
private final int polygonMode -
depthEnabled
private final boolean depthEnabled -
depthFunc
private final int depthFunc -
writeDepth
private final boolean writeDepth -
depthBiasConstant
private final float depthBiasConstant -
depthBiasScaleFactor
private final float depthBiasScaleFactor -
writeMasks
private final int[] writeMasks -
blendEnabled
private final boolean[] blendEnabled -
srcRgb
private final int srcRgb -
dstRgb
private final int dstRgb -
modeRgb
private final int modeRgb -
srcAlpha
private final int srcAlpha -
dstAlpha
private final int dstAlpha -
modeAlpha
private final int modeAlpha -
hasStencilTest
private final boolean hasStencilTest -
hasPerFaceStencilTest
private final boolean hasPerFaceStencilTest -
stencilReferenceValue
private final int stencilReferenceValue -
stencilReadMask
private final int stencilReadMask -
stencilWriteMask
private final int stencilWriteMask -
stencilFrontCompare
private final int stencilFrontCompare -
stencilFrontFail
private final int stencilFrontFail -
stencilFrontDepthFail
private final int stencilFrontDepthFail -
stencilFrontPass
private final int stencilFrontPass -
stencilBackCompare
private final int stencilBackCompare -
stencilBackFail
private final int stencilBackFail -
stencilBackDepthFail
private final int stencilBackDepthFail -
stencilBackPass
private final int stencilBackPass -
closed
private boolean closed
-
-
Constructor Details
-
GlRenderPipeline
GlRenderPipeline(GlDevice device, BackendRenderPipeline.CreateInfo createInfo, GlProgram program, VertexArray vertexArray)
-
-
Method Details
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceBackendRenderPipeline
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceUncheckedAutoCloseable
-
program
-
vertexArray
-
bind
public void bind() -
primitiveTopology
public int primitiveTopology()
-