User Tools

Site Tools


DzImageLayer

A single layer in a multi-layer texture image.

More...

Inherits :

Inherited By : DzImageColorLayer and DzImageFileLayer

Methods

Signals

Detailed Description

TODO: Add detailed description.

Methods


DzImageBlend : getBlendMode()

Return Value:

  • The blend mode for this image layer. The layer owns this object.

String : getDescription()

Return Value:

  • A user-readable description of the layer.

DzImageMask : getMask()

Return Value:

  • The mask for this image layer, NULL if the layer is not masked. The layer owns this object.

void : setBlendMode( DzImageBlend mode )

Sets the blending mode for this image layer.

Parameter(s):

  • mode - The new blending mode for the image layer. The layer takes ownership of this object and deletes it when it is no longer used.

void : setMask( DzImageMask mask )

Sets the mask for this image layer.

Parameter(s):

  • mask - A pointer to the new mask for the image layer. The layer takes ownership of this object and deletes it when it is no longer used. To clear the current mask, pass in a NULL pointer.

Signals


void : blendModeChanged( DzImageBlend mode )

TODO: Add description.


void : maskChanged( DzImageMask mask )

TODO: Add description.