Completed support for assigning 3D osg::Image to osg::Texture2DArray.
Improved the osgtexture2DArray example to add --mipmap and --packed command line options to help with testing. git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -127,9 +127,10 @@ class OSG_EXPORT Texture2DArray : public Texture
|
||||
bool imagesValid() const;
|
||||
|
||||
virtual void computeInternalFormat() const;
|
||||
GLsizei computeTextureDepth() const;
|
||||
void allocateMipmap(State& state) const;
|
||||
|
||||
void applyTexImage2DArray_subload(State& state, Image* image, GLsizei inwidth, GLsizei inheight, GLsizei indepth, GLint inInternalFormat, GLsizei& numMipmapLevels) const;
|
||||
void applyTexImage2DArray_subload(State& state, Image* image, GLsizei layer, GLsizei inwidth, GLsizei inheight, GLsizei indepth, GLint inInternalFormat, GLsizei& numMipmapLevels) const;
|
||||
|
||||
typedef std::vector< ref_ptr<Image> > Images;
|
||||
Images _images;
|
||||
|
||||
Reference in New Issue
Block a user