CocosSharp.CCTexture2D Class
class. This class allows to easily create OpenGL 2D textures from images, text or raw data. The created object will always have power-of-two dimensions. Depending on how you create the object, the actual image area of the texture might be smaller than the texture dimensions i.e. "contentSize" != (pixelsWide, pixelsHigh) and (maxS, maxT) != (1.0, 1.0). Be aware that the content of the generated textures will be upside-down!

See Also: CCTexture2D Members


public class CCTexture2D : CCGraphicsResource


Documentation for this section has not yet been entered.


Namespace: CocosSharp
Assembly: CocosSharp (in CocosSharp.dll)