osg::ref_ptr< osg::Texture > getOsgTexture() const
Returns the osg::Texture1D.
Definition: OsgTexture.h:44
virtual void getSize(int *width, int *height) const
Gets the size of the texture.
Definition: OsgTexture2d.cpp:29
osg::ref_ptr< osg::Texture2D > getOsgTexture2d() const
Returns the osg::Texture2D.
Definition: OsgTexture2d.h:61
Base class defining the interface for a 2D Graphics Texture.
Definition: Texture2d.h:30
Base class for OSG implementations of Graphics Textures.
Definition: OsgTexture.h:32
OsgTexture2d()
Constructor.
Definition: OsgTexture2d.cpp:20
virtual void setSize(int width, int height)
Sets the size of the texture.
Definition: OsgTexture2d.cpp:24
OSG implementation of a 2D Texture.
Definition: OsgTexture2d.h:42