Top Fields Constructors Methods
org.lwjgl.test.opengl.pbuffers

pack-priv final Class UniqueRendererRTT

extends TextureRenderer
Class Inheritance
Imports
org.lwjgl.LWJGLException, org.lwjgl.opengl.Display, .Pbuffer, .PixelFormat, .RenderTexture

Field Summary

Inherited from org.lwjgl.test.opengl.pbuffers.TextureRenderer:
heightpbufferwidth

Constructor Summary

AccessConstructor and Description
pack-priv
UniqueRendererRTT(final int width, final int height, final int texID)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
enable()

Overrides org.lwjgl.test.opengl.pbuffers.TextureRenderer.enable.

This will be called before rendering to the renderer.
protected Pbuffer
init(final int width, final int height, final int texID)

Implements abstract org.lwjgl.test.opengl.pbuffers.TextureRenderer.init.

Create and initialize the pbuffer.
pack-priv void
updateTexture()

Implements abstract org.lwjgl.test.opengl.pbuffers.TextureRenderer.updateTexture.

Implementations should update the texture contents here.
Inherited from org.lwjgl.test.opengl.pbuffers.TextureRenderer:
destroy

Constructor Detail

UniqueRendererRTTback to summary
pack-priv UniqueRendererRTT(final int width, final int height, final int texID)

Method Detail

enableback to summary
pack-priv void enable()

Overrides org.lwjgl.test.opengl.pbuffers.TextureRenderer.enable.

Doc from org.lwjgl.test.opengl.pbuffers.TextureRenderer.enable.

This will be called before rendering to the renderer. Implementations should setup the pbuffer context as necessary.

initback to summary
protected Pbuffer init(final int width, final int height, final int texID)

Implements abstract org.lwjgl.test.opengl.pbuffers.TextureRenderer.init.

Doc from org.lwjgl.test.opengl.pbuffers.TextureRenderer.init.

Create and initialize the pbuffer.

updateTextureback to summary
pack-priv void updateTexture()

Implements abstract org.lwjgl.test.opengl.pbuffers.TextureRenderer.updateTexture.

Doc from org.lwjgl.test.opengl.pbuffers.TextureRenderer.updateTexture.

Implementations should update the texture contents here.