Blender V5.0
blender::gpu::DummyFrameBuffer Class Reference

#include <dummy_framebuffer.hh>

Inherits blender::gpu::FrameBuffer.

Public Member Functions

 DummyFrameBuffer (const char *name)
void bind (bool) override
bool check (char[256]) override
void clear (GPUFrameBufferBits, const float[4], float, uint) override
void clear_multi (const float(*)[4]) override
void clear_attachment (GPUAttachmentType, eGPUDataFormat, const void *) override
void attachment_set_loadstore_op (GPUAttachmentType, GPULoadStore) override
void subpass_transition_impl (const GPUAttachmentState, Span< GPUAttachmentState >) override
void read (GPUFrameBufferBits, eGPUDataFormat, const int[4], int, int, void *) override
void blit_to (GPUFrameBufferBits, int, FrameBuffer *, int, int, int) override
Public Member Functions inherited from blender::gpu::FrameBuffer
void size_set (int width, int height)
void default_size_set (int width, int height)
void viewport_set (const int viewport[4])
void viewport_multi_set (const int viewports[GPU_MAX_VIEWPORTS][4])
void scissor_set (const int scissor[4])
void scissor_test_set (bool test)
void viewport_get (int r_viewport[4]) const
void scissor_get (int r_scissor[4]) const
bool scissor_test_get () const
void viewport_reset ()
void scissor_reset ()
const GPUAttachmentdepth_attachment () const
blender::gpu::Texturedepth_tex () const
blender::gpu::Texturecolor_tex (int slot) const
const char * name_get () const
void set_use_explicit_loadstore (bool use_explicit_loadstore)
bool get_use_explicit_loadstore () const
uint16_t get_color_attachments_bitset ()
 FrameBuffer (const char *name)
virtual ~FrameBuffer ()
void subpass_transition (const GPUAttachmentState depth_attachment_state, Span< GPUAttachmentState > color_attachment_states)
void load_store_config_array (const GPULoadStore *load_store_actions, uint actions_len)
void attachment_set (GPUAttachmentType type, const GPUAttachment &new_attachment)
void attachment_remove (GPUAttachmentType type)
uint get_bits_per_pixel ()

Additional Inherited Members

Public Attributes inherited from blender::gpu::FrameBuffer
void ** py_ref = nullptr
Protected Member Functions inherited from blender::gpu::FrameBuffer
void set_color_attachment_bit (GPUAttachmentType type, bool value)
Protected Attributes inherited from blender::gpu::FrameBuffer
GPUAttachment attachments_ [GPU_FB_MAX_ATTACHMENT]
bool dirty_attachments_ = true
int width_ = 0
int height_ = 0
char name_ [DEBUG_NAME_LEN]
int viewport_ [GPU_MAX_VIEWPORTS][4] = {{0}}
int scissor_ [4] = {0}
bool multi_viewport_ = false
bool scissor_test_ = false
bool dirty_state_ = true
bool use_explicit_load_store_ = false
uint16_t color_attachments_bits_ = 0

Detailed Description

Definition at line 15 of file dummy_framebuffer.hh.

Constructor & Destructor Documentation

◆ DummyFrameBuffer()

blender::gpu::DummyFrameBuffer::DummyFrameBuffer ( const char * name)
inline

Definition at line 17 of file dummy_framebuffer.hh.

References blender::gpu::FrameBuffer::FrameBuffer(), and name.

Member Function Documentation

◆ attachment_set_loadstore_op()

void blender::gpu::DummyFrameBuffer::attachment_set_loadstore_op ( GPUAttachmentType ,
GPULoadStore  )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 36 of file dummy_framebuffer.hh.

◆ bind()

void blender::gpu::DummyFrameBuffer::bind ( bool )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 18 of file dummy_framebuffer.hh.

◆ blit_to()

void blender::gpu::DummyFrameBuffer::blit_to ( GPUFrameBufferBits ,
int ,
FrameBuffer * ,
int ,
int ,
int  )
inlineoverridevirtual

◆ check()

bool blender::gpu::DummyFrameBuffer::check ( char [256])
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 19 of file dummy_framebuffer.hh.

◆ clear()

void blender::gpu::DummyFrameBuffer::clear ( GPUFrameBufferBits ,
const float [4],
float ,
uint  )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 23 of file dummy_framebuffer.hh.

◆ clear_attachment()

void blender::gpu::DummyFrameBuffer::clear_attachment ( GPUAttachmentType ,
eGPUDataFormat ,
const void *  )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 30 of file dummy_framebuffer.hh.

◆ clear_multi()

void blender::gpu::DummyFrameBuffer::clear_multi ( const float(*)[4])
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 29 of file dummy_framebuffer.hh.

◆ read()

void blender::gpu::DummyFrameBuffer::read ( GPUFrameBufferBits ,
eGPUDataFormat ,
const int [4],
int ,
int ,
void *  )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 41 of file dummy_framebuffer.hh.

◆ subpass_transition_impl()

void blender::gpu::DummyFrameBuffer::subpass_transition_impl ( const GPUAttachmentState ,
Span< GPUAttachmentState >  )
inlineoverridevirtual

Implements blender::gpu::FrameBuffer.

Definition at line 38 of file dummy_framebuffer.hh.


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