Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 245 vs 264 for /trunk/Source Code/Hardware/Video/Textures/Headers/Texture.h

Diff revisions: vs.
  @@ -47,6 +47,9 @@
47 47 inline void setCurrentSampler(const SamplerDescriptor& descriptor) {_samplerDescriptor = descriptor;}
48 48 inline const SamplerDescriptor& getCurrentSampler() const {return _samplerDescriptor;}
49 49
50 + inline void setNumLayers(U8 numLayers) { _numLayers = numLayers; }
51 + inline U8 getNumLayers() const { return _numLayers; }
52 +
50 53 inline U32 getHandle() const {return _handle;}
51 54 inline U16 getWidth() const {return _width;}
52 55 inline U16 getHeight() const {return _height;}
  @@ -66,6 +69,7 @@
66 69 boost::atomic<U32> _handle;
67 70 U16 _width,_height;
68 71 U8 _bitDepth;
72 + U8 _numLayers;
69 73 bool _flipped;
70 74 bool _hasTransparency;
71 75 mat4<F32> _transformMatrix;