How to mask images in tableview ?

Dears, am I right that there is no way to set mask to image (for example circle mask for user avatar) in tableview like we have in twitter application and in many others? I’ve tried setMask and it doesn’t work, I’ve read that there are limitations related to nested masking limit (how to calculate nested layers ?) maybe this is the reason. So anyway does anybody know how to mask image in tableview ???

BR,

Oleg

Yes there are masking limits that are device enforced.  system.getInfo(“maxTextureUnits”) I think is the value that gets the limit.  See:

http://docs.coronalabs.com/api/library/system/getInfo.html#maxtextureunits

The tableView is now a container, which is a self masking item.  That takes up one of the texture units. 

Rob

Thank you, Rob  :slight_smile:

Yes there are masking limits that are device enforced.  system.getInfo(“maxTextureUnits”) I think is the value that gets the limit.  See:

http://docs.coronalabs.com/api/library/system/getInfo.html#maxtextureunits

The tableView is now a container, which is a self masking item.  That takes up one of the texture units. 

Rob

Thank you, Rob  :slight_smile: