User Tools

Site Tools


DzLayeredTexture

Class that handles sharing of data for layered image maps.

More...

Inherits :

Properties

Methods

Signals

voidaboutToInsertLayers ( Number index, Number count )
voidaboutToRemoveLayers ( Number index, Number count )
voidassetModified ()
voidassetWasSaved ()
voidlayerListChanged ()
voidlayersInserted ( Number index, Number count )
voidlayersRemoved ( Number index, Number count )
voidsizeChanged ( Size size )

Detailed Description

This is a sharable object that stores information for a layered texture (image map) that is used in OpenGL. Do not create a layered texture, rather, request one from DzImageMgr - this insures that there is only one instance of a given image in memory at a time, and also ensures that necessary conversions for rendering the image via OpenGL and offline renderers occurs correctly.

Properties


DzAuthor : assetAuthor

The author of the file for this texture. (Read Only)

Since:

  • 4.8.1.21

DzVersion : assetFileRevision

The revision version of the asset file for this texture. (Read Only)

Since:

  • 4.8.1.21

String : assetId

The asset id for this texture.

Since:

  • 4.8.1.18

Date : assetModifiedDate

The modified date of the asset file for this texture. (Read Only)

Since:

  • 4.8.1.21

DzUri : assetSource

The URI of the asset source for this texture; only valid when the asset is in an embedded state - i.e. modified. (Read Only)

Since:

  • 4.8.1.21

DzUri : assetUri

The asset URI for this texture. (Read Only)

Since:

  • 4.8.1.18

Boolean : size

The size of the texture.

Methods


void : addLayer( DzTextureLayer layer )

TODO: Add description.


void : beginEditing()

TODO: Add description.


void : copyFrom( DzLayeredTexture texture )

TODO: Add description.


DzTextureLayer : createLayer( String name )

TODO: Add description.


void : endEditing()

TODO: Add description.


Number : findLayer( DzTextureLayer layer )

TODO: Add description.


DzTextureLayer : getLayer( Number index )

TODO: Add description.


Number : getNumLayers()

TODO: Add description.


String : getSourceDSI()

TODO: Add description.


void : insertLayer( Number index, DzTextureLayer layer )

TODO: Add description.


Boolean : moveLayer( Number fromIndex, Number toIndex )

TODO: Add description.


void : refeshLayeredTexture()

TODO: Add description.


void : removeAllLayers()

TODO: Add description.


Boolean : removeLayer( Number index )

TODO: Add description.


Boolean : removeLayer( DzTextureLayer layer )

TODO: Add description.


Boolean : replaceLayer( DzTextureLayer oldLayer, DzTextureLayer newLayer )

TODO: Add description.


DzTextureLayer : takeLayer( Number index )

TODO: Add description.

Signals


void : aboutToInsertLayers( Number index, Number count )

TODO: Add description.


void : aboutToRemoveLayers( Number index, Number count )

TODO: Add description.


void : assetModified()

TODO: Add description.


void : assetWasSaved()

TODO: Add description.


void : layerListChanged()

TODO: Add description.


void : layersInserted( Number index, Number count )

TODO: Add description.


void : layersRemoved( Number index, Number count )

TODO: Add description.


void : sizeChanged( Size size )

TODO: Add description.