Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

icetglsetreadbuffer(3) [debian man page]

icetGLSetReadBuffer(3)						  IceT Reference					    icetGLSetReadBuffer(3)

NAME
icetGLSetReadBuffer -- set OpenGL buffer for images Synopsis #include <IceTGL.h> void icetGLSetReadBuffer( GLenum mode ); Description Set the OpenGL buffer from which to read images to composite. After the draw callback (specified by icetGLDrawCallback) returns, IceT grabs the rendered image from the OpenGL buffer specified by mode. This buffer is also used to write back fully composited images if the ICET_GL_DISPLAY option is on. mode is an OpenGL value that specifies the buffer. It is passed to glReadBuffer and glDrawBuffer. Accepted values are GL_FRONT, GL_BACK, GL_LEFT, GL_RIGHT, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_BACK_LEFT, GL_BACK_RIGHT, and any of the GL_AUXi identifiers. The current read buffer used is stored in the ICET_GL_READ_BUFFER state variable. The default value is GL_BACK. Errors ICET_INVALID_OPERATION icetGLInitialize has not been called for this IceT context. ICET_INVALID_ENUM mode is not a known OpenGL buffer identifier. Warnings None. Bugs The check of mode is perfunctory. It just checks mode against a list of known buffers. It does not check to see if the buffer actually exists or for any other buffers that might be defined in an OpenGL extension. Copyright Copyright (C)2010 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetGLDrawCallback(3) IceT Reference August 9, 2010 icetGLSetReadBuffer(3)

Check Out this Related Man Page

icetSetColorFormat(3)						  IceT Reference					     icetSetColorFormat(3)

NAME
icetSetColorFormat,icetSetDepthFormat-- specifies the buffer formats for IceT to use when creating images Synopsis #include <IceT.h> void icetSetColorFormat( IceTEnum color_format ); void icetSetDepthFormat( IceTEnum depth_format ); Description When IceT creates image objects, it uses the formats specified by icetSetColorFormatand icetSetDepthFormat.These will be the formats of images passed to drawing callbacks (specified by icetDrawCallback or icetGLDrawCallback) and of images returned from frame drawing func- tions (icetDrawFrame or icetGLDrawFrame). The following color_formats are valid for use in icetSetColorFormat. ICET_IMAGE_COLOR_RGBA_UBYTE Each entry is an RGBA color tuple. Each component is valued in the range from 0 to 255 and is stored as an 8-bit integer. The buf- fer will always be allocated on memory boundaries such that each color value can be treated as a single 32-bit integer. ICET_IMAGE_COLOR_RGBA_FLOAT Each entry is an RGBA color tuple. Each component is in the range from 0.0 to 1.0 and is stored as a 32-bit float. ICET_IMAGE_COLOR_NONE No color values are stored in the image. The following depth_formats are valid for use in icetSetDepthFormat. ICET_IMAGE_DEPTH_FLOAT Each entry is in the range from 0.0 (near plane) to 1.0 (far plane) and is stored as a 32-bit float. ICET_IMAGE_DEPTH_NONE No depth values are stored in the image. The color and depth formats are stored in the ICET_COLOR_FORMAT and ICET_DEPTH_FORMAT state variables, respectively. Errors ICET_INVALID_OPERATION icetSetColorFormator icetSetDepthFormatwas called while IceT was drawing a frame. This probably means that you called icetSetColor- Format in a drawing callback. You cannot do that. Call this function before starting the draw operation. ICET_INVALID_ENUM The color_format or depth_format given is invalid. Warnings None. Bugs None known. Notes Calling either icetSetColorFormator icetSetDepthFormatdoes not change the format of any existing images. It only changes any subsequently created images. The color format must be set before calling either icetDrawFrame or icetGLDrawFrame. Doing otherwise would create inconsistencies in the images created and composed together. Copyright Copyright (C)2010 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetImageGetColorFormat(3), icetImageGetDepthFormat(3) IceT Reference August 9, 2010 icetSetColorFormat(3)
Man Page