Docs @ Psychtoolbox Wiki : glReadPixels

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

glReadPixels

PsychtoolboxPsychOpenGLMOGLwrap

glReadPixels Interface to OpenGL function glReadPixels

usage:
For standard readback into a Matlab or Octave image matrix:
retpixels = glReadPixels( x, y, width, height, format, type )

For readback into the currently bound OpenGL Pixelbuffer object (PBO):
glReadPixels( x, y, width, height, format, type, bufferoffset )
where bufferoffset is the positive integer byte-offset into the PBO.

C function: void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* retpixels)




Path   Retrieve current version of glReadPixels.m from berliOS: beta | view WebSVN changelog of trunk branch
Psychtoolbox/PsychOpenGL/MOGL/wrap/glReadPixels.m


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0197 seconds