Blender V4.3
blender::draw::command::Clear Struct Reference

#include <draw_command.hh>

Public Member Functions

Commands Execution
void execute () const
 
Commands Serialization for debugging
std::string serialize () const
 

Public Attributes

uint8_t clear_channels
 
uint8_t stencil
 
float depth
 
float4 color
 

Detailed Description

Definition at line 449 of file draw_command.hh.

Member Function Documentation

◆ execute()

void blender::draw::command::Clear::execute ( ) const

◆ serialize()

std::string blender::draw::command::Clear::serialize ( ) const

Definition at line 639 of file draw_command.cc.

References clear_channels, color, depth, GPU_COLOR_BIT, GPU_DEPTH_BIT, GPU_STENCIL_BIT, and stencil.

Member Data Documentation

◆ clear_channels

uint8_t blender::draw::command::Clear::clear_channels

Definition at line 450 of file draw_command.hh.

Referenced by execute(), and serialize().

◆ color

float4 blender::draw::command::Clear::color

Definition at line 453 of file draw_command.hh.

Referenced by serialize().

◆ depth

float blender::draw::command::Clear::depth

Definition at line 452 of file draw_command.hh.

Referenced by serialize().

◆ stencil

uint8_t blender::draw::command::Clear::stencil

Definition at line 451 of file draw_command.hh.

Referenced by execute(), and serialize().


The documentation for this struct was generated from the following files: