OpenSceneGraph  3.0.1
Classes | Namespaces | Defines | 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...
struct  osg::Image::UpdateCallback
 convience update callback class that can be attached to StateAttribute (such as Textures) to ensure that the Image::update(NodeVisitor*) method is called during the update traversal. More...

Namespaces

namespace  osg
 

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


Defines

#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

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().
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().

Define Documentation

#define GL_ABGR_EXT   0x8000
#define GL_BGR   0x80E0

Referenced by osg::_readRow(), and osg::_modifyRow().

#define GL_BGRA   0x80E1

Referenced by osg::_readRow(), and osg::_modifyRow().

#define GL_COMPRESSED_ALPHA   0x84E9
#define GL_COMPRESSED_INTENSITY   0x84EC
#define GL_COMPRESSED_LUMINANCE   0x84EA
#define GL_COMPRESSED_LUMINANCE_ALPHA   0x84EB
#define GL_COMPRESSED_RGB   0x84ED
#define GL_COMPRESSED_RGBA   0x84EE
#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 Mon Oct 3 2011 12:39:38 for the OpenSceneGraph by doxygen 1.7.5.