Blender V4.3
gpu_framebuffer_private.hh File Reference
#include "BLI_math_vector.h"
#include "BLI_span.hh"
#include "MEM_guardedalloc.h"
#include "GPU_framebuffer.hh"

Go to the source code of this file.

Classes

class  blender::gpu::FrameBuffer
 

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Macros

#define GPU_FB_MAX_COLOR_ATTACHMENT   (GPU_FB_MAX_ATTACHMENT - GPU_FB_COLOR_ATTACHMENT0)
 
#define DEBUG_NAME_LEN   64
 

Enumerations

enum  GPUAttachmentType : int {
  GPU_FB_DEPTH_ATTACHMENT = 0 , GPU_FB_DEPTH_STENCIL_ATTACHMENT , GPU_FB_COLOR_ATTACHMENT0 , GPU_FB_COLOR_ATTACHMENT1 ,
  GPU_FB_COLOR_ATTACHMENT2 , GPU_FB_COLOR_ATTACHMENT3 , GPU_FB_COLOR_ATTACHMENT4 , GPU_FB_COLOR_ATTACHMENT5 ,
  GPU_FB_COLOR_ATTACHMENT6 , GPU_FB_COLOR_ATTACHMENT7 , GPU_FB_MAX_ATTACHMENT
}
 

Functions

constexpr GPUAttachmentType operator- (GPUAttachmentType a, int b)
 
constexpr GPUAttachmentType operator+ (GPUAttachmentType a, int b)
 
GPUAttachmentTypeoperator++ (GPUAttachmentType &a)
 
GPUAttachmentTypeoperator-- (GPUAttachmentType &a)
 
static GPUFrameBuffer * blender::gpu::wrap (FrameBuffer *vert)
 
static FrameBufferblender::gpu::unwrap (GPUFrameBuffer *vert)
 
static const FrameBufferblender::gpu::unwrap (const GPUFrameBuffer *vert)
 

Detailed Description

Private frame buffer API.

Definition in file gpu_framebuffer_private.hh.

Macro Definition Documentation

◆ DEBUG_NAME_LEN

#define DEBUG_NAME_LEN   64

Definition at line 68 of file gpu_framebuffer_private.hh.

◆ GPU_FB_MAX_COLOR_ATTACHMENT

Enumeration Type Documentation

◆ GPUAttachmentType

Enumerator
GPU_FB_DEPTH_ATTACHMENT 
GPU_FB_DEPTH_STENCIL_ATTACHMENT 
GPU_FB_COLOR_ATTACHMENT0 
GPU_FB_COLOR_ATTACHMENT1 
GPU_FB_COLOR_ATTACHMENT2 
GPU_FB_COLOR_ATTACHMENT3 
GPU_FB_COLOR_ATTACHMENT4 
GPU_FB_COLOR_ATTACHMENT5 
GPU_FB_COLOR_ATTACHMENT6 
GPU_FB_COLOR_ATTACHMENT7 
GPU_FB_MAX_ATTACHMENT 

Definition at line 22 of file gpu_framebuffer_private.hh.

Function Documentation

◆ operator+()

GPUAttachmentType operator+ ( GPUAttachmentType a,
int b )
inlineconstexpr

Definition at line 47 of file gpu_framebuffer_private.hh.

References b, and int.

◆ operator++()

GPUAttachmentType & operator++ ( GPUAttachmentType & a)
inline

Definition at line 52 of file gpu_framebuffer_private.hh.

◆ operator-()

GPUAttachmentType operator- ( GPUAttachmentType a,
int b )
inlineconstexpr

Definition at line 42 of file gpu_framebuffer_private.hh.

References b, and int.

◆ operator--()

GPUAttachmentType & operator-- ( GPUAttachmentType & a)
inline

Definition at line 58 of file gpu_framebuffer_private.hh.