lFlags

Flags that indicate how to handle exposed areas, and the way to use the displacement map image. You can use a bitwise OR (|) to specify one flag from each group.

The following are the flags that indicate how to handle exposed areas:

Value

Meaning

FILL_CLR

[0x0000] Fill any exposed areas with crFill

FILL_RPT

[0x0001] Stretch the image edges to fill the exposed area.

FILL_NOCHG

[0x0002] Leave the exposed area as is, without changing it.

FILL_WRAP

[0x0003] Fill any exposed area with the opposite side of the image.

The following are the flags that indicate the way to use the displacement map image:

Value

Meaning

DSPL_TILE

[0x0000] Repeat the displacement map image to cover the image area.

DSPL_STRETCH

[0x0010] Stretch the displacement map image over the entire image area.