|
Blender V5.0
|
#include <draw_command.hh>
Public Member Functions | |
Commands Execution | |
| void | execute (RecordingState &state) const |
Commands Serialization for debugging | |
| std::string | serialize () const |
Public Attributes | |
| gpu::Shader * | shader |
Definition at line 137 of file draw_command.hh.
| void blender::draw::command::ShaderBind::execute | ( | RecordingState & | state | ) | const |
Definition at line 46 of file draw_command.cc.
References blender::assign_if_different(), GPU_shader_bind(), GPU_shader_get_default_constant_state(), blender::gpu::shader::SpecializationConstants::is_empty(), shader, and state.
| std::string blender::draw::command::ShaderBind::serialize | ( | ) | const |
Definition at line 381 of file draw_command.cc.
References GPU_shader_get_name(), and shader.
| gpu::Shader* blender::draw::command::ShaderBind::shader |
Definition at line 138 of file draw_command.hh.
Referenced by execute(), and serialize().