Class Index | File Index

Classes


Class CAAT.Module.TexturePacker.TexturePage


Defined in: TexturePage.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
 
 
gl
 
 
 
 
 
 
Method Summary
Method Attributes Method Name and Description
<private>  
__init(w, h)
 
addImage(image, invert, padding)
 
changeHeuristic(criteria)
 
 
create(imagesCache)
 
 
 
 
 
packImage(img)
 
toCanvas(canvass, outline)
 
update(invert, padding, width, height)
Class Detail
CAAT.Module.TexturePacker.TexturePage()
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

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 01 2013 04:59:19 GMT-0700 (PDT)