//================================================================
// E3D library
//
// OpenGL framebuffers
//
// AUTHOR:  Gabor Nagy
// DATE:    2025-Apr-11 03:12:40
//
// Copyright (C) 1996-2026 by Gabor Nagy. All rights reserved.
//================================================================
#ifndef _Image_GL_FrameBuffer_h
#define _Image_GL_FrameBuffer_h

#include <Xe/XeGL.h>
//#include <Image/GL/EpGL.h>

#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
extern "C" {
#endif


typedef struct
{
	EpGPU2DBufferCore;

	GLuint  GLID;
} EpOpenGL2DBuffer;


typedef struct
{
	EpGPUFrameBufferCore;

	GLuint  GLFrameBufferID, GLPixelBufferObject;
	GLuint  GLTextureID;
} EpOpenGLFrameBuffer;


#if defined (__cplusplus) && (!(defined (__CPLUSLIBS)))
}	// Close scope of 'extern "C"' declaration
#endif

#endif	// _Image_GL_FrameBuffer_h
