FrameBufferObject File Reference
`#include <osg/GL>`
`#include <osg/Texture>`
`#include <osg/buffered_value>`
`#include <osg/Camera>`

Go to the source code of this file.

## Classes

class | osg::RenderBuffer
class | osg::FrameBufferAttachment
class | osg::FrameBufferObject
class | osg::GLRenderBufferManager
class | osg::GLFrameBufferObjectManager

## Namespaces

namespace | osg

## Macros

#define | OSG_FRAMEBUFFEROBJECT 1
#define | GL_EXT_framebuffer_object 1
#define | GL_FRAMEBUFFER_EXT 0x8D40
#define | GL_RENDERBUFFER_EXT 0x8D41
#define | GL_STENCIL_INDEX1_EXT 0x8D46
#define | GL_STENCIL_INDEX4_EXT 0x8D47
#define | GL_STENCIL_INDEX8_EXT 0x8D48
#define | GL_STENCIL_INDEX16_EXT 0x8D49
#define | GL_RENDERBUFFER_WIDTH_EXT 0x8D42
#define | GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
#define | GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
#define | GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
#define | GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
#define | GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
#define | GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
#define | GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
#define | GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
#define | GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
#define | GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
#define | GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
#define | GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
#define | GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
#define | GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
#define | GL_COLOR_ATTACHMENT0_EXT 0x8CE0
#define | GL_COLOR_ATTACHMENT1_EXT 0x8CE1
#define | GL_COLOR_ATTACHMENT2_EXT 0x8CE2
#define | GL_COLOR_ATTACHMENT3_EXT 0x8CE3
#define | GL_COLOR_ATTACHMENT4_EXT 0x8CE4
#define | GL_COLOR_ATTACHMENT5_EXT 0x8CE5
#define | GL_COLOR_ATTACHMENT6_EXT 0x8CE6
#define | GL_COLOR_ATTACHMENT7_EXT 0x8CE7
#define | GL_COLOR_ATTACHMENT8_EXT 0x8CE8
#define | GL_COLOR_ATTACHMENT9_EXT 0x8CE9
#define | GL_COLOR_ATTACHMENT10_EXT 0x8CEA
#define | GL_COLOR_ATTACHMENT11_EXT 0x8CEB
#define | GL_COLOR_ATTACHMENT12_EXT 0x8CEC
#define | GL_COLOR_ATTACHMENT13_EXT 0x8CED
#define | GL_COLOR_ATTACHMENT14_EXT 0x8CEE
#define | GL_COLOR_ATTACHMENT15_EXT 0x8CEF
#define | GL_DEPTH_ATTACHMENT_EXT 0x8D00
#define | GL_STENCIL_ATTACHMENT_EXT 0x8D20
#define | GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
#define | GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
#define | GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
#define | GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
#define | GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
#define | GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
#define | GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
#define | GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
#define | GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
#define | GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
#define | GL_RENDERBUFFER_BINDING_EXT 0x8CA7
#define | GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
#define | GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
#define | GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
#define | GL_EXT_framebuffer_blit 1
#define | GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
#define | GL_READ_FRAMEBUFFER_EXT 0x8CA8
#define | GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
#define | GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
#define | GL_EXT_framebuffer_multisample 1
#define | GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
#define | GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
#define | GL_MAX_SAMPLES_EXT 0x8D57
#define | GL_NV_framebuffer_multisample_coverage 1
#define | GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
#define | GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
#define | GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
#define | GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
#define | GL_EXT_packed_depth_stencil 1
#define | GL_DEPTH_STENCIL_EXT 0x84F9
#define | GL_UNSIGNED_INT_24_8_EXT 0x84FA
#define | GL_DEPTH24_STENCIL8_EXT 0x88F0
#define | GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1

## Macro Definition Documentation

## GL_COLOR_ATTACHMENT0_EXT

#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0

## GL_COLOR_ATTACHMENT10_EXT

#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA

## GL_COLOR_ATTACHMENT11_EXT

#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB

## GL_COLOR_ATTACHMENT12_EXT

#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC

## GL_COLOR_ATTACHMENT13_EXT

#define GL_COLOR_ATTACHMENT13_EXT 0x8CED

## GL_COLOR_ATTACHMENT14_EXT

#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE

## GL_COLOR_ATTACHMENT15_EXT

#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF

## GL_COLOR_ATTACHMENT1_EXT

#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1

## GL_COLOR_ATTACHMENT2_EXT

#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2

## GL_COLOR_ATTACHMENT3_EXT

#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3

## GL_COLOR_ATTACHMENT4_EXT

#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4

## GL_COLOR_ATTACHMENT5_EXT

#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5

## GL_COLOR_ATTACHMENT6_EXT

#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6

## GL_COLOR_ATTACHMENT7_EXT

#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7

## GL_COLOR_ATTACHMENT8_EXT

#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8

## GL_COLOR_ATTACHMENT9_EXT

#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9

## GL_DEPTH24_STENCIL8_EXT

#define GL_DEPTH24_STENCIL8_EXT 0x88F0

## GL_DEPTH_ATTACHMENT_EXT

#define GL_DEPTH_ATTACHMENT_EXT 0x8D00

## GL_DEPTH_STENCIL_EXT

#define GL_DEPTH_STENCIL_EXT 0x84F9

## GL_DRAW_FRAMEBUFFER_BINDING_EXT

#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6

## GL_DRAW_FRAMEBUFFER_EXT

#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9

## GL_EXT_framebuffer_blit

#define GL_EXT_framebuffer_blit 1

## GL_EXT_framebuffer_multisample

#define GL_EXT_framebuffer_multisample 1

## GL_EXT_framebuffer_object

#define GL_EXT_framebuffer_object 1

## GL_EXT_packed_depth_stencil

#define GL_EXT_packed_depth_stencil 1

## GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1

## GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0

## GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4

## GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3

## GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4

## GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT

#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2

## GL_FRAMEBUFFER_BINDING_EXT

#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6

## GL_FRAMEBUFFER_COMPLETE_EXT

#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5

## GL_FRAMEBUFFER_EXT

#define GL_FRAMEBUFFER_EXT 0x8D40

## GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6

## GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9

## GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB

## GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8

## GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA

## GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7

## GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56

## GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT

#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC

## GL_FRAMEBUFFER_UNSUPPORTED_EXT

#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD

## GL_INVALID_FRAMEBUFFER_OPERATION_EXT

#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506

## GL_MAX_COLOR_ATTACHMENTS_EXT

#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF

## GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV

#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11

## GL_MAX_RENDERBUFFER_SIZE_EXT

#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8

## GL_MAX_SAMPLES_EXT

#define GL_MAX_SAMPLES_EXT 0x8D57

## GL_MULTISAMPLE_COVERAGE_MODES_NV

#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12

## GL_NV_framebuffer_multisample_coverage

#define GL_NV_framebuffer_multisample_coverage 1

## GL_READ_FRAMEBUFFER_BINDING_EXT

#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA

## GL_READ_FRAMEBUFFER_EXT

#define GL_READ_FRAMEBUFFER_EXT 0x8CA8

## GL_RENDERBUFFER_ALPHA_SIZE_EXT

#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53

## GL_RENDERBUFFER_BINDING_EXT

#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7

## GL_RENDERBUFFER_BLUE_SIZE_EXT

#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52

## GL_RENDERBUFFER_COLOR_SAMPLES_NV

#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10

## GL_RENDERBUFFER_COVERAGE_SAMPLES_NV

#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB

## GL_RENDERBUFFER_DEPTH_SIZE_EXT

#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54

## GL_RENDERBUFFER_EXT

#define GL_RENDERBUFFER_EXT 0x8D41

## GL_RENDERBUFFER_GREEN_SIZE_EXT

#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51

## GL_RENDERBUFFER_HEIGHT_EXT

#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43

## GL_RENDERBUFFER_INTERNAL_FORMAT_EXT

#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44

## GL_RENDERBUFFER_RED_SIZE_EXT

#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50

## GL_RENDERBUFFER_SAMPLES_EXT

#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB

## GL_RENDERBUFFER_STENCIL_SIZE_EXT

#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55

## GL_RENDERBUFFER_WIDTH_EXT

#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42

## GL_STENCIL_ATTACHMENT_EXT

#define GL_STENCIL_ATTACHMENT_EXT 0x8D20

## GL_STENCIL_INDEX16_EXT

#define GL_STENCIL_INDEX16_EXT 0x8D49

## GL_STENCIL_INDEX1_EXT

#define GL_STENCIL_INDEX1_EXT 0x8D46

## GL_STENCIL_INDEX4_EXT

#define GL_STENCIL_INDEX4_EXT 0x8D47

## GL_STENCIL_INDEX8_EXT

#define GL_STENCIL_INDEX8_EXT 0x8D48

## GL_TEXTURE_STENCIL_SIZE_EXT

#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1

## GL_UNSIGNED_INT_24_8_EXT

#define GL_UNSIGNED_INT_24_8_EXT 0x84FA

## OSG_FRAMEBUFFEROBJECT

#define OSG_FRAMEBUFFEROBJECT 1