public interface R2LightRendererType extends R2DeletableType
| Modifier and Type | Method and Description |
|---|---|
void |
renderLights(R2GeometryBufferUsableType gbuffer,
com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
Optional<R2LightBufferUsableType> lbuffer,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2ShadowMapContextUsableType shadows,
R2MatricesObserverType m,
R2SceneLightsType s)
Render the given lights into the given light buffer.
|
deletevoid renderLights(R2GeometryBufferUsableType gbuffer, com.io7m.jareas.core.AreaInclusiveUnsignedLType area, Optional<R2LightBufferUsableType> lbuffer, com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc, R2ShadowMapContextUsableType shadows, R2MatricesObserverType m, R2SceneLightsType s)
Render the given lights into the given light buffer.
If a light buffer is provided, it will be bound before evaluation and left bound after the method returns.
gbuffer - The populated geometry bufferarea - The output viewportlbuffer - The output light bufferpc - A profiling contextuc - A texture unit contextshadows - A set of rendered shadow mapsm - A matrix contexts - The opaque lightsCopyright © 2017 <code@io7m.com> http://io7m.com