Click or drag to resize
Ab4d.SharpEngine logo

GaussianBlurPostProcessFillOffsetsAndWeights Method

FillOffsetsAndWeights fulls the specified offsets and weights arrays with values that are used in the shader to render this post process. Offsets define how far from the texture coordinate we sample pixel. Weights define how much weight this pixel has in the final color.

Namespace: Ab4d.SharpEngine.PostProcessing
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
protected override void FillOffsetsAndWeights(
	RenderingContext renderingContext,
	bool isVerticalPass,
	int width,
	int height,
	float[] offsets,
	float[] weights
)

Parameters

renderingContext  RenderingContext
RenderingContext
isVerticalPass  Boolean
true when we need to prepare values for vertical pass; otherwise horizontal pass will be used.
width  Int32
width of the input texture
height  Int32
height of the input texture
offsets  Single
array of offsets
weights  Single
array of weights
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.PostProcessing.GaussianBlurPostProcess.FillOffsetsAndWeights(Ab4d.SharpEngine.Core.RenderingContext,System.Boolean,System.Int32,System.Int32,System.Single[],System.Single[])"]

See Also