MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / setDrawBuffers

Method setDrawBuffers

src/main/java/net/optifine/shaders/Shaders.java:3271–3284  ·  view source on GitHub ↗
(IntBuffer drawBuffers)

Source from the content-addressed store, hash-verified

3269 }
3270
3271 public static void setDrawBuffers(IntBuffer drawBuffers)
3272 {
3273 if (drawBuffers == null)
3274 {
3275 drawBuffers = drawBuffersNone;
3276 }
3277
3278 if (activeDrawBuffers != drawBuffers)
3279 {
3280 activeDrawBuffers = drawBuffers;
3281 GL20.glDrawBuffers(drawBuffers);
3282 checkGLError("setDrawBuffers");
3283 }
3284 }
3285
3286 public static void useProgram(Program program)
3287 {

Callers 11

renderItemFPMethod · 0.95
beginBlockDamageMethod · 0.95
useProgramMethod · 0.95
setViewportMethod · 0.95
clearRenderBufferMethod · 0.95
renderDeferredMethod · 0.95
beginSkyMethod · 0.95
endSkyMethod · 0.95
beginLivingDamageMethod · 0.95
endLivingDamageMethod · 0.95
initDrawBuffersMethod · 0.45

Calls 1

checkGLErrorMethod · 0.95

Tested by

no test coverage detected