Package com.ardor3d.renderer
Interface TextureRendererProvider
- All Known Implementing Classes:
JoglTextureRendererProvider
public interface TextureRendererProvider
-
Method Summary
Modifier and TypeMethodDescriptioncreateTextureRenderer
(int width, int height, int depthBits, int samples, Renderer renderer, ContextCapabilities caps) createTextureRenderer
(int width, int height, Renderer renderer, ContextCapabilities caps) createTextureRenderer
(DisplaySettings settings, boolean forcePbuffer, Renderer renderer, ContextCapabilities caps)
-
Method Details
-
createTextureRenderer
TextureRenderer createTextureRenderer(int width, int height, Renderer renderer, ContextCapabilities caps) - Parameters:
width
- the width of our off screen rendering targetheight
- the height of our off screen rendering targetrenderer
- the renderer to use when rendering to this off screen target.caps
- the context capabilities, used for testing.- Returns:
- a texture renderer
- See Also:
-
createTextureRenderer
TextureRenderer createTextureRenderer(int width, int height, int depthBits, int samples, Renderer renderer, ContextCapabilities caps) - Parameters:
width
- the width of our off screen rendering targetheight
- the height of our off screen rendering targetdepthBits
- the desired depth buffer size of our off screen rendering targetsamples
- the number of samples for our off screen rendering targetrenderer
- the renderer to use when rendering to this off screen target.caps
- the context capabilities, used for testing.- Returns:
- a texture renderer
- See Also:
-
createTextureRenderer
TextureRenderer createTextureRenderer(DisplaySettings settings, boolean forcePbuffer, Renderer renderer, ContextCapabilities caps) - Parameters:
settings
- a complete set of possible display settings to use. Some will only be valid if Pbuffer is used.forcePbuffer
- iftrue
, we will return a pbuffer or null if pbuffers are not supported.renderer
- the renderer to use when rendering to this off screen target.caps
- the context capabilities, used for testing.- Returns:
- a texture renderer
- See Also:
-