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

#include <draw_command.hh>

Public Member Functions

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

Public Attributes

GPUShadershader
 

Detailed Description

Definition at line 125 of file draw_command.hh.

Member Function Documentation

◆ execute()

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(), and state.

◆ serialize()

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

Definition at line 351 of file draw_command.cc.

References GPU_shader_get_name().

Member Data Documentation

◆ shader

GPUShader* blender::draw::command::ShaderBind::shader

Definition at line 126 of file draw_command.hh.


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