SptBlurVertical()

 visits
Parent Previous Next

Syntax

SptBlurVertical(bBuffer As bTftLibParameter1, bStrength As bTftLibParameter2, bTransparent As bTftLibParameter3, wAlphaColor As wTftLibParameter1), Byte

Overview

Applies a vertical blur effect to a sprite buffer, with optional transparency support.

Parameters

Parameter

Description

bBuffer

Working sprite buffer to be processed.

bStrength

Number of internal blur passes; higher values increase blur intensity.

bTransparent

Transparency mode:
0 – Apply blur to all pixels
1 – Skip pixels matching the alpha-key color

wAlphaColor

Alpha-key color used when transparency is enabled.

Return value

Value

Meaning

0

Success

1

Invalid source buffer

Created with the Personal Edition of HelpNDoc: Say Goodbye to Documentation Headaches with a Help Authoring Tool