net.minecraft.client.gl

class GlRenderPassBackend

implements RenderPassBackend

com.mojang.renderpearl.backend.opengl.GlRenderPass
net.minecraft.class_10866
net.minecraft.client.gl.GlRenderPassBackend

Field summary

Modifier and TypeField
private final GlCommandEncoderBackend
encoder
field_57877
commandEncoder
private final GlBackend
device
field_1_1151
device
private final ScissorState
defaultScissorState
field_1_5954
defaultScissorState
protected GlBackendRenderPipeline
pipeline
field_57868
pipeline
protected final GpuBufferSlice[]
vertexBuffers
field_57869
vertexBuffers
protected boolean
vertexBufferDirty
field_1_6270
dirty
protected GpuBuffer
indexBuffer
field_57870
indexBuffer
protected IndexType
indexType
field_57871
indexType
protected boolean
indexBufferDirty
field_1_9437
indexBufferDirty
private final ScissorState
scissorState
field_57872
scissorState
protected boolean
scissorStateDirty
field_1_9438
scissorDirty
protected final it.unimi.dsi.fastutil.objects.ReferenceList<Object>
uniforms
field_57873
simpleUniforms
protected final it.unimi.dsi.fastutil.booleans.BooleanList
dirtyUniforms
field_57875
setSimpleUniforms
protected boolean
anyUniformDirty
field_1_9436
shaderParamsDirty
protected GpuBufferSlice
pushConstants
field_1_9567
pushConstantsBuffer
protected boolean
pushConstantsDirty
field_1_9566
pushedConstants
protected final int
colorAttachmentCount
field_1_6269
numColorAttachments

Constructor summary

ModifierConstructor
public (GlCommandEncoderBackend commandEncoder, GlBackend device, int numColorAttachments, ScissorState defaultScissorState)

Method summary

Modifier and TypeMethod
public void
pushDebugGroup(Supplier<String> label)
method_1_1333(Supplier<String> arg0)
pushDebugGroup(Supplier<String> arg0)
public void
popDebugGroup()
method_1_1332()
popDebugGroup()
public void
setPipeline(BackendRenderPipeline pipeline)
method_1_1335(class_1_1386 arg0)
setPipeline(BackendRenderPipeline arg0)
public void
setUniform(int index, Object value)
method_1_9105(int arg0, Object arg1)
setUniform(int arg0, Object arg1)
public void
pushConstants(ByteBuffer value)
method_1_9273(ByteBuffer arg0)
pushConstants(ByteBuffer arg0)
public void
enableScissor(int x, int y, int width, int height)
method_1_1330(int arg0, int arg1, int arg2, int arg3)
enableScissor(int arg0, int arg1, int arg2, int arg3)
public void
disableScissor()
method_1_1326()
disableScissor()
public boolean
isScissorEnabled()
method_70808()
isScissorEnabled()
public int
getScissorX()
method_70809()
getScissorX()
public int
getScissorY()
method_70810()
getScissorY()
public int
getScissorWidth()
method_70811()
getScissorWidth()
public int
getScissorHeight()
method_70812()
getScissorHeight()
public void
setVertexBuffer(int slot, GpuBufferSlice vertexBuffer)
method_1_1338(int arg0, class_1_1254 arg1)
setVertexBuffer(int arg0, GpuBufferSlice arg1)
public void
setIndexBuffer(GpuBuffer indexBuffer, IndexType indexType)
method_1_1334(class_1_1211 arg0, class_5595 arg1)
setIndexBuffer(GpuBuffer arg0, IndexType arg1)
public void
drawIndexed(int indexCount, int instanceCount, int firstIndex, int vertexOffset, int firstInstance)
method_1_1328(int arg0, int arg1, int arg2, int arg3, int arg4)
drawIndexed(int arg0, int arg1, int arg2, int arg3, int arg4)
public void
multiDrawIndexed(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_6188(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawIndexedInterleaved(IntBuffer arg0, int arg1, int arg2, int arg3)
public void
multiDrawIndexed(org.lwjgl.PointerBuffer firstIndexOffsets, IntBuffer indexCounts, IntBuffer vertexOffsets, int drawCount)
method_1_6189(org.lwjgl.PointerBuffer arg0, IntBuffer arg1, IntBuffer arg2, int arg3)
multiDrawIndexedSeparate(org.lwjgl.PointerBuffer arg0, IntBuffer arg1, IntBuffer arg2, int arg3)
public void
drawIndexedIndirect(GpuBufferSlice commands, int drawCount)
method_1_5511(class_1_1254 arg0, int arg1)
drawIndexedIndirect(GpuBufferSlice arg0, int arg1)
public void
draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)
method_1_1327(int arg0, int arg1, int arg2, int arg3)
draw(int arg0, int arg1, int arg2, int arg3)
public void
multiDraw(IntBuffer drawParameters, int instanceCount, int firstInstance, int drawCount)
method_1_6186(IntBuffer arg0, int arg1, int arg2, int arg3)
multiDrawInterleaved(IntBuffer arg0, int arg1, int arg2, int arg3)
public void
multiDraw(IntBuffer firstVertices, IntBuffer vertexCounts, int drawCount)
method_1_6187(IntBuffer arg0, IntBuffer arg1, int arg2)
multiDrawSeparate(IntBuffer arg0, IntBuffer arg1, int arg2)
public void
drawIndirect(GpuBufferSlice commands, int drawCount)
method_1_5512(class_1_1254 arg0, int arg1)
drawIndirect(GpuBufferSlice arg0, int arg1)
public void
writeTimestamp(GpuQueryPool pool, int index)
method_1_4243(class_1_685 arg0, int arg1)
writeTimestamp(TimestampQueryPool arg0, int arg1)