X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexturecube.h;h=d444fee5dfefc8bb084956281a1957efbf9c0447;hb=e70662d7812464159f2e47f4bebb69d88f89ae93;hp=0f753c757c54b85c421aade5d6b199137bae9141;hpb=4365124bd39bd6edbda6eaef64ec72a1a10565f8;p=libs%2Fgl.git diff --git a/source/core/texturecube.h b/source/core/texturecube.h index 0f753c75..d444fee5 100644 --- a/source/core/texturecube.h +++ b/source/core/texturecube.h @@ -60,6 +60,8 @@ public: cannot be changed once set. */ void storage(PixelFormat, unsigned size, unsigned lv = 0); + virtual void image(unsigned, const void *); + /** Replaces contents of a single face. Allocated storage must exist. The image data is interpreted according to the storage format and must have size matching the selected mipmap level. */ @@ -95,10 +97,6 @@ public: /** Returns a vector pointing to the center of a texel. */ Vector3 get_texel_direction(TextureCubeFace, unsigned, unsigned); - - virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; } - virtual std::size_t get_data_size() const; - virtual void unload() { } }; void operator>>(const LexicalConverter &, TextureCubeFace &);