| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| com.io7m.r2.core.debug |
Types and functions associated with debugging.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2SceneLights
The default implementation of the
R2SceneLightsType interface. |
| Modifier and Type | Method and Description |
|---|---|
static R2SceneLightsType |
R2SceneLights.newLights() |
| Modifier and Type | Method and Description |
|---|---|
void |
R2LightRendererType.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.
|
void |
R2LightRenderer.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) |
| Modifier and Type | Method and Description |
|---|---|
R2SceneLightsType |
R2DebugVisualizerRendererParametersType.lights() |
R2SceneLightsType |
R2DebugVisualizerRendererParameters.lights() |
| Modifier and Type | Method and Description |
|---|---|
static R2DebugVisualizerRendererParameters |
R2DebugVisualizerRendererParameters.of(R2UnitSphereUsableType unitSphere,
R2DebugCubeUsableType debugCube,
R2SceneOpaquesReadableType opaqueInstances,
R2SceneLightsType lights,
R2DebugInstancesType debugInstances,
boolean showOpaqueInstances,
boolean showLights,
it.unimi.dsi.fastutil.ints.Int2ReferenceMap<com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType>> geometryGroupColors,
com.io7m.jtensors.parameterized.PVectorI4F<R2SpaceRGBAType> geometryDefaultColor)
Construct a new immutable
R2DebugVisualizerRendererParameters instance. |
R2DebugVisualizerRendererParameters.Builder |
R2DebugVisualizerRendererParameters.Builder.setLights(R2SceneLightsType lights)
Initializes the value for the
lights attribute. |
R2DebugVisualizerRendererParameters |
R2DebugVisualizerRendererParameters.withLights(R2SceneLightsType value)
Copy the current immutable object by setting a value for the
lights attribute. |
Copyright © 2016 <code@io7m.com> http://io7m.com