API Reference > Extension Classes > ExRender Classes > OdOpenGLResetReadBufferImpl Class > OdOpenGLResetReadBufferImpl::OdOpenGLResetReadBufferImpl Constructor
OdOpenGLResetReadBufferImpl::OdOpenGLResetReadBufferImpl Constructor
Syntax
C++
OdOpenGLResetReadBufferImpl(GLenum nNewRead);
Parameters 
Description 
GLenum nNewRead 
[in] unsigned integer that represents which color buffer mode is used for read operations. Symbolic constants GL_NONE, GL_BACK, GL_FRONT and other are defined in the GL.h header file. 

Constructor for the OdOpenGLResetReadBufferImpl implementation class. 

 

Initializes the object with the GL_BACK for previous color buffer read mode and with the specified value for new color buffer read mode (if the specified value varies from the previous mode).

Copyright © 2002–2020. Open Design Alliance. All rights reserved.