Add comment on storage texture ptr

This commit is contained in:
Zach Pomerantz 2016-04-15 13:50:46 -07:00
parent 7b49552066
commit 5c004e2a5c

View file

@ -260,7 +260,7 @@ public:
Stamp bumpStamp() { return ++_stamp; }
protected:
Stamp _stamp = 0;
Texture* _texture = nullptr;
Texture* _texture = nullptr; // Points to the parent texture (not owned)
Texture::Type _type = Texture::TEX_2D; // The type of texture is needed to know the number of faces to expect
std::vector<std::vector<PixelsPointer>> _mips; // an array of mips, each mip is an array of faces