public final class R2DebugVisualizerRenderer extends Object implements R2DebugVisualizerRendererType
R2DebugVisualizerRendererType
interface.Modifier and Type | Method and Description |
---|---|
static R2DebugVisualizerRenderer |
create(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_pool)
Construct a new renderer.
|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type ig)
Delete the current object.
|
boolean |
isDeleted() |
void |
renderScene(com.io7m.jregions.core.unparameterized.areas.AreaL area,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2DebugVisualizerRendererParameters s)
Render the debug visualizations for the given scene.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static R2DebugVisualizerRenderer create(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g, R2ShaderPreprocessingEnvironmentReadableType in_shader_env, R2IDPoolType in_pool)
in_g
- An OpenGL interfacein_pool
- The ID poolin_shader_env
- Access to shader sourcespublic void renderScene(com.io7m.jregions.core.unparameterized.areas.AreaL area, com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc, R2MatricesObserverType m, R2DebugVisualizerRendererParameters s)
R2DebugVisualizerRendererType
renderScene
in interface R2DebugVisualizerRendererType
area
- The viewport areapc
- A profiling contextuc
- A texture unit contextm
- A matrix contexts
- The scenepublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type ig) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
ig
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
Copyright © 2017 <code@io7m.com> http://io7m.com