| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| com.io7m.r2.core.shaders.types |
Shader types.
|
| com.io7m.r2.filters |
Default provided filters.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
R2MatricesObserverType
Access to the matrices for a given observer.
|
| Modifier and Type | Method and Description |
|---|---|
R2MatricesObserverValuesType |
R2ShaderParametersViewType.observerMatrices() |
R2MatricesObserverValuesType |
R2ShaderParametersViewMutable.observerMatrices() |
R2MatricesObserverValuesType |
R2ShaderParametersView.observerMatrices() |
R2MatricesObserverValuesType |
R2ShaderParametersLightType.observerMatrices() |
R2MatricesObserverValuesType |
R2ShaderParametersLightMutable.observerMatrices() |
R2MatricesObserverValuesType |
R2ShaderParametersLight.observerMatrices() |
| Modifier and Type | Method and Description |
|---|---|
static <M> R2ShaderParametersLightMutable<M> |
R2ShaderParametersLightMutable.create(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext,
M values,
R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a modifiable instance of
R2ShaderParametersLightType. |
static R2ShaderParametersViewMutable |
R2ShaderParametersViewMutable.create(R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a modifiable instance of
R2ShaderParametersViewType. |
static <M> R2ShaderParametersLight<M> |
R2ShaderParametersLight.of(com.io7m.jcanephora.texture_unit_allocator.JCGLTextureUnitContextMutableType textureUnitContext,
M values,
R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a new immutable
R2ShaderParametersLight instance. |
static R2ShaderParametersView |
R2ShaderParametersView.of(R2MatricesObserverValuesType observerMatrices,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport)
Construct a new immutable
R2ShaderParametersView instance. |
R2ShaderParametersViewMutable |
R2ShaderParametersViewMutable.setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
Assigns a value to the
observerMatrices attribute. |
R2ShaderParametersView.Builder |
R2ShaderParametersView.Builder.setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
Initializes the value for the
observerMatrices attribute. |
R2ShaderParametersLightMutable<M> |
R2ShaderParametersLightMutable.setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
Assigns a value to the
observerMatrices attribute. |
R2ShaderParametersLight.Builder<M> |
R2ShaderParametersLight.Builder.setObserverMatrices(R2MatricesObserverValuesType observerMatrices)
Initializes the value for the
observerMatrices attribute. |
R2ShaderParametersView |
R2ShaderParametersView.withObserverMatrices(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerMatrices attribute. |
R2ShaderParametersLight<M> |
R2ShaderParametersLight.withObserverMatrices(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerMatrices attribute. |
| 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 R2FilterFogParameters |
R2FilterFogParameters.of(R2FilterFogProgression progression,
com.io7m.jareas.core.AreaInclusiveUnsignedLType viewport,
R2Texture2DUsableType imageTexture,
R2Texture2DUsableType imageDepthTexture,
float fogNearPositiveZ,
float fogFarPositiveZ,
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> fogColor,
R2MatricesObserverValuesType observerValues)
Construct a new immutable
R2FilterFogParameters instance. |
static R2ShaderFilterBilateralBlurDepthAwareParameters |
R2ShaderFilterBilateralBlurDepthAwareParameters.of(R2MatricesObserverValuesType viewMatrices,
R2Texture2DUsableType imageTexture,
R2Texture2DUsableType depthTexture,
float depthCoefficient,
float blurFalloff,
float blurRadius,
float blurSharpness,
float blurOutputInverseWidth,
float blurOutputInverseHeight)
Construct a new immutable
R2ShaderFilterBilateralBlurDepthAwareParameters instance. |
static R2ShaderFilterFogParameters |
R2ShaderFilterFogParameters.of(R2Texture2DUsableType imageTexture,
R2Texture2DUsableType imageDepthTexture,
float fogNearPositiveZ,
float fogFarPositiveZ,
com.io7m.jtensors.parameterized.PVectorI3F<R2SpaceRGBType> fogColor,
R2MatricesObserverValuesType observerValues)
Construct a new immutable
R2ShaderFilterFogParameters instance. |
static <SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>> |
R2FilterBilateralBlurDepthAwareParameters.of(S sourceRenderTarget,
Function<S,R2Texture2DUsableType> sourceTextureSelector,
D outputRenderTarget,
Function<D,R2Texture2DUsableType> outputTextureSelector,
R2RenderTargetPoolUsableType<DD,D> renderTargetPool,
BiFunction<DD,com.io7m.jareas.core.AreaInclusiveUnsignedLType,DD> outputDescriptionScaler,
R2MatricesObserverValuesType sceneObserverValues,
R2Texture2DUsableType depthTexture,
R2BilateralBlurParameters blurParameters)
Construct a new immutable
R2FilterBilateralBlurDepthAwareParameters instance. |
R2ShaderFilterFogParameters.Builder |
R2ShaderFilterFogParameters.Builder.setObserverValues(R2MatricesObserverValuesType observerValues)
Initializes the value for the
observerValues attribute. |
R2FilterFogParameters.Builder |
R2FilterFogParameters.Builder.setObserverValues(R2MatricesObserverValuesType observerValues)
Initializes the value for the
observerValues attribute. |
R2FilterSSAOParameters.Builder |
R2FilterSSAOParameters.Builder.setSceneObserverValues(R2MatricesObserverValuesType sceneObserverValues)
Initializes the value for the
sceneObserverValues attribute. |
R2FilterBilateralBlurDepthAwareParameters.Builder<SD,S,DD,D> |
R2FilterBilateralBlurDepthAwareParameters.Builder.setSceneObserverValues(R2MatricesObserverValuesType sceneObserverValues)
Initializes the value for the
sceneObserverValues attribute. |
R2ShaderSSAOParameters.Builder |
R2ShaderSSAOParameters.Builder.setViewMatrices(R2MatricesObserverValuesType viewMatrices)
Initializes the value for the
viewMatrices attribute. |
R2ShaderFilterBilateralBlurDepthAwareParameters.Builder |
R2ShaderFilterBilateralBlurDepthAwareParameters.Builder.setViewMatrices(R2MatricesObserverValuesType viewMatrices)
Initializes the value for the
viewMatrices attribute. |
R2ShaderFilterFogParameters |
R2ShaderFilterFogParameters.withObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerValues attribute. |
R2FilterFogParameters |
R2FilterFogParameters.withObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
observerValues attribute. |
R2FilterSSAOParameters |
R2FilterSSAOParameters.withSceneObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
sceneObserverValues attribute. |
R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> |
R2FilterBilateralBlurDepthAwareParameters.withSceneObserverValues(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
sceneObserverValues attribute. |
R2ShaderSSAOParameters |
R2ShaderSSAOParameters.withViewMatrices(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
viewMatrices attribute. |
R2ShaderFilterBilateralBlurDepthAwareParameters |
R2ShaderFilterBilateralBlurDepthAwareParameters.withViewMatrices(R2MatricesObserverValuesType value)
Copy the current immutable object by setting a value for the
viewMatrices attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com