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

Constructor for the OdOpenGLResetDrawBufferImpl implementation class. 

 

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

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