Class CAAT.Module.TexturePacker.TexturePage
Defined in: TexturePage.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<private> |
__init(w, h)
|
addImage(image, invert, padding)
|
|
changeHeuristic(criteria)
|
|
clear()
|
|
create(imagesCache)
|
|
createFromImages(images)
|
|
initialize(gl)
|
|
packImage(img)
|
|
toCanvas(canvass, outline)
|
|
update(invert, padding, width, height)
|
Field Detail
allowImagesInvertion
criteria
gl
height
images
padding
scan
texture
width
Method Detail
<private>
__init(w, h)
- Parameters:
- w
- h
addImage(image, invert, padding)
- Parameters:
- image
- invert
- padding
changeHeuristic(criteria)
- Parameters:
- criteria
clear()
create(imagesCache)
- Parameters:
- imagesCache
createFromImages(images)
- Parameters:
- images
deletePage()
endCreation()
initialize(gl)
- Parameters:
- gl
packImage(img)
- Parameters:
- img
toCanvas(canvass, outline)
- Parameters:
- canvass
- outline
update(invert, padding, width, height)
- Parameters:
- invert
- padding
- width
- height