X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture3d.h;h=e7e3a79e951909f081349e32a53661b5f844cb1a;hp=1fbcf4ee43044436a38cfdef6a2786762edd1ed6;hb=HEAD;hpb=4365124bd39bd6edbda6eaef64ec72a1a10565f8 diff --git a/source/core/texture3d.h b/source/core/texture3d.h index 1fbcf4ee..e7e3a79e 100644 --- a/source/core/texture3d.h +++ b/source/core/texture3d.h @@ -24,7 +24,6 @@ public: private: void init(); - void raw_data(const std::string &); void storage(PixelFormat, unsigned, unsigned, unsigned); void storage_levels(PixelFormat, unsigned, unsigned, unsigned, unsigned); }; @@ -33,7 +32,6 @@ protected: unsigned width = 0; unsigned height = 0; unsigned depth = 0; - unsigned levels = 0; Texture3D(unsigned); public: @@ -64,13 +62,7 @@ public: unsigned get_height() const { return height; } unsigned get_depth() const { return depth; } protected: - unsigned get_n_levels() const; LinAl::Vector get_level_size(unsigned) const; - -public: - virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; } - virtual std::size_t get_data_size() const; - virtual void unload() { } }; } // namespace GL