SD - The type of source render target descriptionsS - The type of source render targetsDD - The type of destination render target descriptionsD - The type of destination render targets@Generated(value={"Immutables.generator","R2FilterBilateralBlurDepthAwareParametersType<SD, S, DD, D>"}) public final class R2FilterBilateralBlurDepthAwareParameters<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>> extends Object implements R2FilterBilateralBlurDepthAwareParametersType<SD,S,DD,D>
Parameters for bilateral blur filters that blur render targets of type
S and write the blurred results to render targets of type T.
| Modifier and Type | Class and Description |
|---|---|
static class |
R2FilterBilateralBlurDepthAwareParameters.Builder<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>
Builds instances of type
R2FilterBilateralBlurDepthAwareParameters. |
public S sourceRenderTarget()
sourceRenderTarget in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public Function<S,R2Texture2DUsableType> sourceTextureSelector()
sourceTextureSelector in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>S, selects
which texture on that render target will be used for blurring.public D outputRenderTarget()
outputRenderTarget in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public Function<D,R2Texture2DUsableType> outputTextureSelector()
outputTextureSelector in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>D, selects
which texture on that render target will be used for blurring.public R2RenderTargetPoolUsableType<DD,D> renderTargetPool()
renderTargetPool in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public BiFunction<DD,com.io7m.jareas.core.AreaInclusiveUnsignedLType,DD> outputDescriptionScaler()
outputDescriptionScaler in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>D and an
area A, returns a new description with the values of D and
the area A.public R2MatricesObserverValuesType sceneObserverValues()
sceneObserverValues in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public R2Texture2DUsableType depthTexture()
depthTexture in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public R2BilateralBlurParameters blurParameters()
blurParameters in interface R2FilterBilateralBlurDepthAwareParametersType<SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>>public final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withSourceRenderTarget(S value)
sourceRenderTarget attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourceRenderTargetthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withSourceTextureSelector(Function<S,R2Texture2DUsableType> value)
sourceTextureSelector attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sourceTextureSelectorthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withOutputRenderTarget(D value)
outputRenderTarget attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for outputRenderTargetthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withOutputTextureSelector(Function<D,R2Texture2DUsableType> value)
outputTextureSelector attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for outputTextureSelectorthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withRenderTargetPool(R2RenderTargetPoolUsableType<DD,D> value)
renderTargetPool attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for renderTargetPoolthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withOutputDescriptionScaler(BiFunction<DD,com.io7m.jareas.core.AreaInclusiveUnsignedLType,DD> value)
outputDescriptionScaler attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for outputDescriptionScalerthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withSceneObserverValues(R2MatricesObserverValuesType value)
sceneObserverValues attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for sceneObserverValuesthis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withDepthTexture(R2Texture2DUsableType value)
depthTexture attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for depthTexturethis objectpublic final R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> withBlurParameters(R2BilateralBlurParameters value)
blurParameters attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for blurParametersthis objectpublic boolean equals(Object another)
R2FilterBilateralBlurDepthAwareParameters that have equal attribute values.public int hashCode()
sourceRenderTarget, sourceTextureSelector, outputRenderTarget, outputTextureSelector, renderTargetPool, outputDescriptionScaler, sceneObserverValues, depthTexture, blurParameters.public String toString()
R2FilterBilateralBlurDepthAwareParameters with attribute values.public static <SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>> R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> 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)
R2FilterBilateralBlurDepthAwareParameters instance.sourceRenderTarget - The value for the sourceRenderTarget attributesourceTextureSelector - The value for the sourceTextureSelector attributeoutputRenderTarget - The value for the outputRenderTarget attributeoutputTextureSelector - The value for the outputTextureSelector attributerenderTargetPool - The value for the renderTargetPool attributeoutputDescriptionScaler - The value for the outputDescriptionScaler attributesceneObserverValues - The value for the sceneObserverValues attributedepthTexture - The value for the depthTexture attributeblurParameters - The value for the blurParameters attributepublic static <SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>> R2FilterBilateralBlurDepthAwareParameters<SD,S,DD,D> copyOf(R2FilterBilateralBlurDepthAwareParametersType<SD,S,DD,D> instance)
R2FilterBilateralBlurDepthAwareParametersType value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.SD - generic parameter SDS - generic parameter SDD - generic parameter DDD - generic parameter Dinstance - The instance to copypublic static <SD extends R2RenderTargetDescriptionType,S extends R2RenderTargetUsableType<SD>,DD extends R2RenderTargetDescriptionType,D extends R2RenderTargetUsableType<DD>> R2FilterBilateralBlurDepthAwareParameters.Builder<SD,S,DD,D> builder()
R2FilterBilateralBlurDepthAwareParameters.SD - generic parameter SDS - generic parameter SDD - generic parameter DDD - generic parameter DCopyright © 2017 <code@io7m.com> http://io7m.com