OpenSceneGraph  3.5.1
Classes | Namespaces | Macros | Functions
Image File Reference
#include <osg/BufferObject>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/FrameStamp>
#include <osg/StateAttribute>
#include <string>
#include <vector>

Classes

class  osg::Image
 Image class for encapsulating the storage texture image data. More...
 
class  osg::Image::DataIterator
 Convenience class for assisting the copying of image data when the image data isn't contiguous. More...
 
struct  osg::Image::UpdateCallback
 Convenience update callback class that can be attached to a StateAttribute (such as Textures) to ensure that the Image::update(NodeVisitor*) method is called during the update traversal. More...
 
class  osg::Image::DimensionsChangedCallback
 

Namespaces

 osg
 The core osg library provides the basic scene graph classes such as Nodes, State and Drawables, and maths and general helper classes.
 

Macros

#define OSG_IMAGE   1
 
#define GL_BGR   0x80E0
 
#define GL_BGRA   0x80E1
 
#define GL_UNSIGNED_BYTE_3_3_2   0x8032
 
#define GL_UNSIGNED_BYTE_2_3_3_REV   0x8362
 
#define GL_UNSIGNED_SHORT_5_6_5   0x8363
 
#define GL_UNSIGNED_SHORT_5_6_5_REV   0x8364
 
#define GL_UNSIGNED_SHORT_4_4_4_4   0x8033
 
#define GL_UNSIGNED_SHORT_4_4_4_4_REV   0x8365
 
#define GL_UNSIGNED_SHORT_5_5_5_1   0x8034
 
#define GL_UNSIGNED_SHORT_1_5_5_5_REV   0x8366
 
#define GL_UNSIGNED_INT_8_8_8_8   0x8035
 
#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367
 
#define GL_UNSIGNED_INT_10_10_10_2   0x8036
 
#define GL_UNSIGNED_INT_2_10_10_10_REV   0x8368
 
#define GL_COMPRESSED_ALPHA   0x84E9
 
#define GL_COMPRESSED_LUMINANCE   0x84EA
 
#define GL_COMPRESSED_LUMINANCE_ALPHA   0x84EB
 
#define GL_COMPRESSED_INTENSITY   0x84EC
 
#define GL_COMPRESSED_RGB   0x84ED
 
#define GL_COMPRESSED_RGBA   0x84EE
 
#define GL_ABGR_EXT   0x8000
 
#define GL_PACK_SKIP_IMAGES   0x806B
 
#define GL_PACK_IMAGE_HEIGHT   0x806C
 
#define GL_UNPACK_SKIP_IMAGES   0x806D
 
#define GL_UNPACK_IMAGE_HEIGHT   0x806E
 
#define GL_ETC1_RGB8_OES   0x8D64
 
#define GL_COMPRESSED_RGB8_ETC2   0x9274
 
#define GL_COMPRESSED_SRGB8_ETC2   0x9275
 
#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9276
 
#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277
 
#define GL_COMPRESSED_RGBA8_ETC2_EAC   0x9278
 
#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC   0x9279
 
#define GL_COMPRESSED_R11_EAC   0x9270
 
#define GL_COMPRESSED_SIGNED_R11_EAC   0x9271
 
#define GL_COMPRESSED_RG11_EAC   0x9272
 
#define GL_COMPRESSED_SIGNED_RG11_EAC   0x9273
 
#define GL_DEPTH_COMPONENT   0x1902
 
#define GL_DEPTH_COMPONENT16   0x81A5
 
#define GL_DEPTH_COMPONENT24   0x81A6
 
#define GL_DEPTH_COMPONENT32   0x81A7
 
#define GL_DEPTH_COMPONENT32F   0x8CAC
 
#define GL_DEPTH_COMPONENT32F_NV   0x8DAB
 

Functions

OSG_EXPORT Geode * osg::createGeodeForImage (Image *image)
 Convenience function to be used by image loaders to generate a valid geode to return for readNode(). More...
 
template<class T >
Geode * osg::createGeodeForImage (const ref_ptr< T > &image)
 
OSG_EXPORT Geode * osg::createGeodeForImage (Image *image, float s, float t)
 Convenience function to be used by image loaders to generate a valid geode to return for readNode(). More...
 
template<class T >
Geode * osg::createGeodeForImage (const ref_ptr< T > &image, float s, float t)
 

Macro Definition Documentation

#define GL_ABGR_EXT   0x8000
#define GL_BGR   0x80E0
#define GL_BGRA   0x80E1
#define GL_COMPRESSED_ALPHA   0x84E9
#define GL_COMPRESSED_INTENSITY   0x84EC
#define GL_COMPRESSED_LUMINANCE   0x84EA
#define GL_COMPRESSED_LUMINANCE_ALPHA   0x84EB
#define GL_COMPRESSED_R11_EAC   0x9270
#define GL_COMPRESSED_RG11_EAC   0x9272
#define GL_COMPRESSED_RGB   0x84ED
#define GL_COMPRESSED_RGB8_ETC2   0x9274
#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9276
#define GL_COMPRESSED_RGBA   0x84EE
#define GL_COMPRESSED_RGBA8_ETC2_EAC   0x9278
#define GL_COMPRESSED_SIGNED_R11_EAC   0x9271
#define GL_COMPRESSED_SIGNED_RG11_EAC   0x9273
#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC   0x9279
#define GL_COMPRESSED_SRGB8_ETC2   0x9275
#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2   0x9277
#define GL_DEPTH_COMPONENT   0x1902
#define GL_DEPTH_COMPONENT16   0x81A5
#define GL_DEPTH_COMPONENT24   0x81A6
#define GL_DEPTH_COMPONENT32   0x81A7
#define GL_DEPTH_COMPONENT32F   0x8CAC
#define GL_DEPTH_COMPONENT32F_NV   0x8DAB
#define GL_ETC1_RGB8_OES   0x8D64
#define GL_PACK_IMAGE_HEIGHT   0x806C
#define GL_PACK_SKIP_IMAGES   0x806B
#define GL_UNPACK_IMAGE_HEIGHT   0x806E
#define GL_UNPACK_SKIP_IMAGES   0x806D
#define GL_UNSIGNED_BYTE_2_3_3_REV   0x8362
#define GL_UNSIGNED_BYTE_3_3_2   0x8032
#define GL_UNSIGNED_INT_10_10_10_2   0x8036
#define GL_UNSIGNED_INT_2_10_10_10_REV   0x8368
#define GL_UNSIGNED_INT_8_8_8_8   0x8035
#define GL_UNSIGNED_INT_8_8_8_8_REV   0x8367
#define GL_UNSIGNED_SHORT_1_5_5_5_REV   0x8366
#define GL_UNSIGNED_SHORT_4_4_4_4   0x8033
#define GL_UNSIGNED_SHORT_4_4_4_4_REV   0x8365
#define GL_UNSIGNED_SHORT_5_5_5_1   0x8034
#define GL_UNSIGNED_SHORT_5_6_5   0x8363
#define GL_UNSIGNED_SHORT_5_6_5_REV   0x8364
#define OSG_IMAGE   1

osg logo
Generated at Wed Nov 11 2015 22:14:22 for the OpenSceneGraph by doxygen 1.8.10.