/** * @glsymbols * @glfunref{DrawBuffers} */ static void DrawBuffers(const EnumArray<ColorBuffer>& buffers) { OGLPLUS_GLFUNC(DrawBuffers)( buffers.Count(), buffers.Values() ); OGLPLUS_VERIFY(OGLPLUS_ERROR_INFO(DrawBuffers)); }
/** * @glvoereq{4,3,ARB,invalidate_subdata} * @glsymbols * @glfunref{InvalidateFramebuffer} */ static void Invalidate( Target target, const EnumArray<Property::Buffer>& buffers ) { OGLPLUS_GLFUNC(InvalidateFramebuffer)( GLenum(target), buffers.Count(), buffers.Values() ); OGLPLUS_CHECK( InvalidateFramebuffer, ObjectError, ObjectBinding(target) ); }
/** * @glvoereq{4,3,ARB,invalidate_subdata} * @glsymbols * @glfunref{InvalidateSubFramebuffer} */ static void Invalidate( Target target, const EnumArray<Property::Buffer>& buffers, GLint x, GLint y, GLsizei width, GLsizei height ) { OGLPLUS_GLFUNC(InvalidateSubFramebuffer)( GLenum(target), buffers.Count(), buffers.Values(), x, y, width, height ); OGLPLUS_CHECK( InvalidateSubFramebuffer, ObjectError, ObjectBinding(target) ); }