Blender  V3.3
Public Member Functions | Static Public Member Functions | List of all members
blender::draw::Framebuffer Class Reference

#include <DRW_gpu_wrapper.hh>

Inheritance diagram for blender::draw::Framebuffer:
blender::NonCopyable

Public Member Functions

 Framebuffer ()
 
 Framebuffer (const char *name)
 
 ~Framebuffer ()
 
void ensure (GPUAttachment depth=GPU_ATTACHMENT_NONE, GPUAttachment color1=GPU_ATTACHMENT_NONE, GPUAttachment color2=GPU_ATTACHMENT_NONE, GPUAttachment color3=GPU_ATTACHMENT_NONE, GPUAttachment color4=GPU_ATTACHMENT_NONE, GPUAttachment color5=GPU_ATTACHMENT_NONE, GPUAttachment color6=GPU_ATTACHMENT_NONE, GPUAttachment color7=GPU_ATTACHMENT_NONE, GPUAttachment color8=GPU_ATTACHMENT_NONE)
 
Framebufferoperator= (Framebuffer &&a)
 
 operator GPUFrameBuffer * () const
 

Static Public Member Functions

static void swap (Framebuffer &a, Framebuffer &b)
 

Detailed Description

Definition at line 848 of file DRW_gpu_wrapper.hh.

Constructor & Destructor Documentation

◆ Framebuffer() [1/2]

blender::draw::Framebuffer::Framebuffer ( )
inline

Definition at line 854 of file DRW_gpu_wrapper.hh.

◆ Framebuffer() [2/2]

blender::draw::Framebuffer::Framebuffer ( const char *  name)
inline

Definition at line 855 of file DRW_gpu_wrapper.hh.

◆ ~Framebuffer()

blender::draw::Framebuffer::~Framebuffer ( )
inline

Definition at line 857 of file DRW_gpu_wrapper.hh.

Member Function Documentation

◆ ensure()

void blender::draw::Framebuffer::ensure ( GPUAttachment  depth = GPU_ATTACHMENT_NONE,
GPUAttachment  color1 = GPU_ATTACHMENT_NONE,
GPUAttachment  color2 = GPU_ATTACHMENT_NONE,
GPUAttachment  color3 = GPU_ATTACHMENT_NONE,
GPUAttachment  color4 = GPU_ATTACHMENT_NONE,
GPUAttachment  color5 = GPU_ATTACHMENT_NONE,
GPUAttachment  color6 = GPU_ATTACHMENT_NONE,
GPUAttachment  color7 = GPU_ATTACHMENT_NONE,
GPUAttachment  color8 = GPU_ATTACHMENT_NONE 
)
inline

Definition at line 862 of file DRW_gpu_wrapper.hh.

◆ operator GPUFrameBuffer *()

blender::draw::Framebuffer::operator GPUFrameBuffer * ( ) const
inline

Definition at line 886 of file DRW_gpu_wrapper.hh.

◆ operator=()

Framebuffer& blender::draw::Framebuffer::operator= ( Framebuffer &&  a)
inline

Definition at line 876 of file DRW_gpu_wrapper.hh.

References Freestyle::a.

◆ swap()

static void blender::draw::Framebuffer::swap ( Framebuffer a,
Framebuffer b 
)
inlinestatic

Swap the content of the two framebuffer.

Definition at line 894 of file DRW_gpu_wrapper.hh.

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


The documentation for this class was generated from the following file: