| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| com.io7m.r2.core.debug |
Types and functions associated with debugging.
|
| com.io7m.r2.core.shaders.provided |
Default provided shaders.
|
| com.io7m.r2.core.shaders.types |
Shader types.
|
| com.io7m.r2.filters |
Default provided filters.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
R2GeometryBufferType
The type of geometry buffers.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2GeometryBuffer
Default implementation of the
R2GeometryBufferType interface. |
| 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 |
|---|---|
void |
R2GeometryRendererType.renderGeometry(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
Optional<R2GeometryBufferUsableType> gbuffer,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2SceneOpaquesReadableType s)
Render the given opaque instances into the given geometry buffer.
|
void |
R2GeometryRenderer.renderGeometry(com.io7m.jareas.core.AreaInclusiveUnsignedLType area,
Optional<R2GeometryBufferUsableType> gbuffer,
com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextParentType uc,
R2MatricesObserverType m,
R2SceneOpaquesReadableType s) |
| Modifier and Type | Method and Description |
|---|---|
void |
R2DebugShaderLightSphericalConstantSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2DebugShaderLightSphericalAttenuationSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2DebugShaderLightDirectionalConstantSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
| Modifier and Type | Method and Description |
|---|---|
void |
R2LightShaderSphericalLambertSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderSphericalLambertPhongSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderSphericalLambertBlinnPhongSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderProjectiveLambertSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderProjectiveLambertShadowVarianceSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderProjectiveLambertBlinnPhongSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderProjectiveLambertBlinnPhongShadowVarianceSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderDirectionalSpecularSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2LightShaderAmbientSingle.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
| Modifier and Type | Method and Description |
|---|---|
void |
R2ShaderLightVolumeSingleVerifier.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2ShaderLightSingleUsableType.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals)
Set the bound geometry buffer textures for the current shader.
|
void |
R2ShaderLightScreenSingleVerifier.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2ShaderLightProjectiveWithShadowVerifier.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
void |
R2ShaderLightProjectiveVerifier.onReceiveBoundGeometryBufferTextures(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g,
R2GeometryBufferUsableType gbuffer,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_albedo,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_specular,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_depth,
com.io7m.jcanephora.core.JCGLTextureUnitType unit_normals) |
| Modifier and Type | Method and Description |
|---|---|
R2GeometryBufferUsableType |
R2ShaderSSAOParametersType.geometryBuffer() |
R2GeometryBufferUsableType |
R2ShaderSSAOParameters.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterSSAOParametersType.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterSSAOParameters.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterLightApplicatorParametersType.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterLightApplicatorParameters.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterDebugEyeZParametersType.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterDebugEyeZParameters.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterDebugEyePositionParametersType.geometryBuffer() |
R2GeometryBufferUsableType |
R2FilterDebugEyePositionParameters.geometryBuffer() |
| Modifier and Type | Method and Description |
|---|---|
static R2ShaderSSAOParameters |
R2ShaderSSAOParameters.of(float exponent,
float sampleRadius,
R2SSAOKernelType kernel,
R2Texture2DUsableType noiseTexture,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport,
R2MatricesObserverValuesType viewMatrices,
R2GeometryBufferUsableType geometryBuffer)
Construct a new immutable
R2ShaderSSAOParameters instance. |
static R2FilterSSAOParameters |
R2FilterSSAOParameters.of(float exponent,
R2Texture2DUsableType noiseTexture,
R2SSAOKernelType kernel,
float sampleRadius,
R2GeometryBufferUsableType geometryBuffer,
R2AmbientOcclusionBufferUsableType outputBuffer,
R2MatricesObserverValuesType sceneObserverValues)
Construct a new immutable
R2FilterSSAOParameters instance. |
static R2FilterLightApplicatorParameters |
R2FilterLightApplicatorParameters.of(R2CopyDepth copyDepth,
R2GeometryBufferUsableType geometryBuffer,
R2Texture2DUsableType lightDiffuseTexture,
R2Texture2DUsableType lightSpecularTexture,
com.io7m.jareas.core.AreaInclusiveUnsignedLType outputViewport)
Construct a new immutable
R2FilterLightApplicatorParameters instance. |
static R2FilterDebugEyePositionParameters |
R2FilterDebugEyePositionParameters.of(R2GeometryBufferUsableType geometryBuffer,
R2EyePositionBufferUsableType eyePositionBuffer,
R2MatricesObserverType observerValues,
R2TextureDefaultsType textureDefaults)
Construct a new immutable
R2FilterDebugEyePositionParameters instance. |
static R2FilterDebugEyeZParameters |
R2FilterDebugEyeZParameters.of(R2GeometryBufferUsableType geometryBuffer,
R2EyeZBufferUsableType eyeZBuffer,
R2MatricesObserverType observerValues,
R2TextureDefaultsType textureDefaults)
Construct a new immutable
R2FilterDebugEyeZParameters instance. |
R2ShaderSSAOParameters.Builder |
R2ShaderSSAOParameters.Builder.setGeometryBuffer(R2GeometryBufferUsableType geometryBuffer)
Initializes the value for the
geometryBuffer attribute. |
R2FilterSSAOParameters.Builder |
R2FilterSSAOParameters.Builder.setGeometryBuffer(R2GeometryBufferUsableType geometryBuffer)
Initializes the value for the
geometryBuffer attribute. |
R2FilterLightApplicatorParameters.Builder |
R2FilterLightApplicatorParameters.Builder.setGeometryBuffer(R2GeometryBufferUsableType geometryBuffer)
Initializes the value for the
geometryBuffer attribute. |
R2FilterDebugEyeZParameters.Builder |
R2FilterDebugEyeZParameters.Builder.setGeometryBuffer(R2GeometryBufferUsableType geometryBuffer)
Initializes the value for the
geometryBuffer attribute. |
R2FilterDebugEyePositionParameters.Builder |
R2FilterDebugEyePositionParameters.Builder.setGeometryBuffer(R2GeometryBufferUsableType geometryBuffer)
Initializes the value for the
geometryBuffer attribute. |
R2ShaderSSAOParameters |
R2ShaderSSAOParameters.withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterSSAOParameters |
R2FilterSSAOParameters.withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterLightApplicatorParameters |
R2FilterLightApplicatorParameters.withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterDebugEyeZParameters |
R2FilterDebugEyeZParameters.withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
R2FilterDebugEyePositionParameters |
R2FilterDebugEyePositionParameters.withGeometryBuffer(R2GeometryBufferUsableType value)
Copy the current immutable object by setting a value for the
geometryBuffer attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com