|
Blender V5.0
|
#include <DRW_gpu_wrapper.hh>
Inherits 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) |
| void | ensure (int2 target_size) |
| void | bind () |
| void | clear_depth (float depth) |
| Framebuffer & | operator= (Framebuffer &&a) |
| operator gpu::FrameBuffer * () const | |
| gpu::FrameBuffer ** | operator& () |
Static Public Member Functions | |
| static void | swap (Framebuffer &a, Framebuffer &b) |
Definition at line 1202 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 1208 of file DRW_gpu_wrapper.hh.
Referenced by operator=(), and swap().
|
inline |
Definition at line 1209 of file DRW_gpu_wrapper.hh.
References name.
|
inline |
Definition at line 1211 of file DRW_gpu_wrapper.hh.
References GPU_FRAMEBUFFER_FREE_SAFE.
|
inline |
Definition at line 1245 of file DRW_gpu_wrapper.hh.
References GPU_framebuffer_bind().
Referenced by blender::eevee::ForwardPipeline::render(), blender::draw::test_draw_resource_id_gen(), blender::draw::test_draw_submit_only(), and blender::draw::test_draw_visibility().
|
inline |
Definition at line 1250 of file DRW_gpu_wrapper.hh.
References GPU_framebuffer_clear_depth().
|
inline |
Definition at line 1216 of file DRW_gpu_wrapper.hh.
References GPU_ATTACHMENT_NONE, GPU_framebuffer_config_array(), and GPU_framebuffer_create().
Referenced by blender::draw::overlay::Resources::acquire(), blender::eevee::DepthOfField::render(), blender::draw::gpencil::render_init_buffers(), blender::eevee::CaptureView::render_probes(), blender::draw::gpencil::render_result_combined(), blender::draw::gpencil::render_result_separated_pass(), blender::eevee::PlanarProbeModule::set_view(), blender::draw::test_draw_resource_id_gen(), blender::draw::test_draw_submit_only(), and blender::draw::test_draw_visibility().
|
inline |
Empty frame-buffer configuration.
Definition at line 1237 of file DRW_gpu_wrapper.hh.
References GPU_framebuffer_create(), GPU_framebuffer_default_size(), and UNPACK2.
|
inline |
Definition at line 1265 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 1270 of file DRW_gpu_wrapper.hh.
|
inline |
Definition at line 1255 of file DRW_gpu_wrapper.hh.
References Framebuffer(), and blender::gpu::FrameBuffer::name_.
|
inlinestatic |
Swap the content of the two framebuffer.
Definition at line 1278 of file DRW_gpu_wrapper.hh.
References b, and Framebuffer().