jmonkeyengine icon indicating copy to clipboard operation
jmonkeyengine copied to clipboard

Using deprecated FrameBuffer methods in jme3-examples

Open stephengold opened this issue 4 years ago • 2 comments
trafficstars

PR #1401 deprecated the addColorTexture(Texture2D), setColorBuffer(Format), setColorTexture(Texture2D), setDepthBuffer(Format), and setDepthTexture(Texture2D) methods of FrameBuffer. However those methods are still used in jme3-examples.

As noted at #1401, it is difficult to understand how the replacement methods are meant to be used. Let's upgrade jme3-examples to use the new interface.

stephengold avatar May 13 '21 17:05 stephengold

I've started converting the examples and added a quick documentation here: https://github.com/jMonkeyEngine/jmonkeyengine/pull/1616 .

riccardobl avatar Oct 05 '21 20:10 riccardobl

Thanks @riccardobl

stephengold avatar Oct 05 '21 21:10 stephengold