2 #include "oxygine-include.h" 3 #include "ref_counter.h" 11 DECLARE_SMART(Texture, spTexture);
13 inline unsigned int nextPOT(
unsigned int v)
31 lock_write_on_apply = 0x4,
34 typedef int lock_flags;
36 virtual int getWidth()
const = 0;
37 virtual int getHeight()
const = 0;
38 virtual TextureFormat getFormat()
const = 0;
41 virtual void unlock() = 0;
42 virtual void updateRegion(
int x,
int y,
const ImageData& data) = 0;
43 virtual void apply(
const Rect* rect = 0) = 0;
Definition: ImageData.h:54
–oxgl-end–!
Definition: Actor.h:14