public final class R2TranslucentRenderer extends Object implements R2TranslucentRendererType
R2TranslucentRendererType
interface.Modifier and Type | Method and Description |
---|---|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g3)
Delete the current object.
|
boolean |
isDeleted() |
static R2TranslucentRendererType |
newRenderer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g33) |
void |
renderTranslucents(com.io7m.jregions.core.unparameterized.areas.AreaL area,
Optional<R2ImageBufferUsableType> ibuffer,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc,
R2ShadowMapContextUsableType in_shadows,
R2MatricesObserverType m,
List<R2TranslucentType<?>> s)
Render the given translucents into the given image buffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static R2TranslucentRendererType newRenderer(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g33)
g33
- A GL interfacepublic void renderTranslucents(com.io7m.jregions.core.unparameterized.areas.AreaL area, Optional<R2ImageBufferUsableType> ibuffer, com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc, R2ShadowMapContextUsableType in_shadows, R2MatricesObserverType m, List<R2TranslucentType<?>> s)
R2TranslucentRendererType
Render the given translucents into the given image buffer.
If an image buffer is provided, it will be bound before evaluation and left bound after the method returns.
renderTranslucents
in interface R2TranslucentRendererType
area
- The output viewportibuffer
- The output image bufferpc
- A profiling contextuc
- A texture unit contextin_shadows
- A set of rendered shadow mapsm
- A matrix contexts
- The translucentspublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g3) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
g3
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
Copyright © 2017 <code@io7m.com> http://io7m.com