@Test public final void testDepthClear() { final Interfaces i = this.getInterfaces("main", 24, 8); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); g_dep.depthBufferClear(1.0f); }
@Test public final void testDepthClear() { final Interfaces i = this.getInterfaces("main", 24, 8); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); g_dep.depthBufferClear(1.0f); }
@Test public final void testNoDepthNoFramebufferClear() { final Interfaces i = this.getInterfaces("main", 0, 0); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); this.expected.expect(JCGLExceptionNoDepthBuffer.class); g_dep.depthBufferClear(1.0f); }
@Test public final void testNoDepthNoFramebufferClear() { final Interfaces i = this.getInterfaces("main", 0, 0); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); this.expected.expect(JCGLExceptionNoDepthBuffer.class); g_dep.depthBufferClear(1.0f); }
@Test public final void testNoDepthFramebufferClear() { final Interfaces i = this.getInterfaces("main", 24, 8); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); final JCGLFramebuffersType g_fb = i.getFramebuffers(); final JCGLTexturesType g_tex = i.getTextures(); final JCGLFramebufferType fb = JCGLDepthBuffersContract.depthlessFramebuffer(g_fb, g_tex); Assert.assertTrue(g_fb.framebufferDrawIsBound(fb)); this.expected.expect(JCGLExceptionNoDepthBuffer.class); g_dep.depthBufferClear(1.0f); }
@Test public final void testNoDepthFramebufferClear() { final Interfaces i = this.getInterfaces("main", 24, 8); final JCGLDepthBuffersType g_dep = i.getDepthBuffers(); final JCGLFramebuffersType g_fb = i.getFramebuffers(); final JCGLTexturesType g_tex = i.getTextures(); final JCGLFramebufferType fb = depthlessFramebuffer(g_fb, g_tex); Assert.assertTrue(g_fb.framebufferDrawIsBound(fb)); this.expected.expect(JCGLExceptionNoDepthBuffer.class); g_dep.depthBufferClear(1.0f); }