Base class defining the interface for a Rectangle Graphics Texture.
Definition: TextureRectangle.h:31
virtual void setSize(int width, int height)
Sets the size of the texture.
Definition: OsgTextureRectangle.cpp:24
OSG implementation of a Rectangle Texture.
Definition: OsgTextureRectangle.h:41
Base class for OSG implementations of Graphics Textures.
Definition: OsgTexture.h:33
OsgTextureRectangle()
Constructor.
Definition: OsgTextureRectangle.cpp:20
osg::ref_ptr< osg::TextureRectangle > getOsgTextureRectangle() const
Returns the osg::TextureRectangle.
Definition: OsgTextureRectangle.h:59
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: OsgTextureRectangle.cpp:29