Blender  V3.3
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
gpu_framebuffer_private.hh File Reference
#include "BLI_math_vector.h"
#include "BLI_span.hh"
#include "MEM_guardedalloc.h"
#include "GPU_framebuffer.h"

Go to the source code of this file.

Classes

class  blender::gpu::FrameBuffer
 

Namespaces

 blender
 
 blender::gpu
 

Macros

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

Typedefs

typedef enum GPUAttachmentType GPUAttachmentType
 

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 GPUFrameBufferblender::gpu::wrap (FrameBuffer *vert)
 
static FrameBuffer * blender::gpu::unwrap (GPUFrameBuffer *vert)
 
static const FrameBuffer * blender::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   16

Definition at line 69 of file gpu_framebuffer_private.hh.

◆ GPU_FB_MAX_COLOR_ATTACHMENT

#define GPU_FB_MAX_COLOR_ATTACHMENT   (GPU_FB_MAX_ATTACHMENT - GPU_FB_COLOR_ATTACHMENT0)

Definition at line 39 of file gpu_framebuffer_private.hh.

Typedef Documentation

◆ GPUAttachmentType

Enumeration Type Documentation

◆ GPUAttachmentType

enum GPUAttachmentType : int
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 21 of file gpu_framebuffer_private.hh.

Function Documentation

◆ operator+()

constexpr GPUAttachmentType operator+ ( GPUAttachmentType  a,
int  b 
)
inlineconstexpr

Definition at line 46 of file gpu_framebuffer_private.hh.

References Freestyle::a, and usdtokens::b().

◆ operator++()

GPUAttachmentType& operator++ ( GPUAttachmentType a)
inline

Definition at line 51 of file gpu_framebuffer_private.hh.

References Freestyle::a.

◆ operator-()

constexpr GPUAttachmentType operator- ( GPUAttachmentType  a,
int  b 
)
inlineconstexpr

Definition at line 41 of file gpu_framebuffer_private.hh.

References Freestyle::a, and usdtokens::b().

◆ operator--()

GPUAttachmentType& operator-- ( GPUAttachmentType a)
inline

Definition at line 57 of file gpu_framebuffer_private.hh.

References Freestyle::a.