Blender V4.3
gl_framebuffer.hh File Reference

Go to the source code of this file.

Classes

class  blender::gpu::GLFrameBuffer
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Macros

#define ATTACHMENT(X)
 

Functions

Enums Conversion
static GLenum blender::gpu::to_gl (const GPUAttachmentType type)
 
static GLbitfield blender::gpu::to_gl (const eGPUFrameBufferBits bits)
 

Detailed Description

Encapsulation of Frame-buffer states (attached textures, viewport, scissors).

Definition in file gl_framebuffer.hh.

Macro Definition Documentation

◆ ATTACHMENT

#define ATTACHMENT ( X)
Value:
case GPU_FB_##X: { \
return GL_##X; \
} \
((void)0)
#define X

Referenced by blender::gpu::to_gl().