Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
private void UpdatePadding() { float paddingX = (_blurX != 0f ? (float)Math.Ceiling(Math.Abs(_blurX)) + 3f : 1f) / Resolution; float paddingY = (_blurY != 0f ? (float)Math.Ceiling(Math.Abs(_blurY)) + 3f : 1f) / Resolution; Padding.SetTo(paddingX, paddingX, paddingY, paddingY); }