getTex

Temporarily allocates a Texture with its coords from a BmpSlice. Textures are managed (allocated and de-allocated) automatically by the engine as required. The texture coords matches the region in the BmpSlice.




Allocates a Texture.Base from a Bitmap. A Texture.Base doesn't have region information. It is just the whole texture/bitmap.