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

#include <GPU_shader.hh>

Inherits blender::NonCopyable.

Inherited by BuiltinShader.

Public Member Functions

 StaticShader (std::string info_name)
 StaticShader ()=default
 StaticShader (StaticShader &&other)
StaticShaderoperator= (StaticShader &&other)
 ~StaticShader ()
void ensure_compile_async ()
bool is_ready ()
blender::gpu::Shaderget ()
void set (blender::gpu::Shader *shader)

Detailed Description

Definition at line 434 of file GPU_shader.hh.

Constructor & Destructor Documentation

◆ StaticShader() [1/3]

blender::gpu::StaticShader::StaticShader ( std::string info_name)
inline

Definition at line 457 of file GPU_shader.hh.

Referenced by BuiltinShader::BuiltinShader(), operator=(), and StaticShader().

◆ StaticShader() [2/3]

blender::gpu::StaticShader::StaticShader ( )
default

◆ StaticShader() [3/3]

blender::gpu::StaticShader::StaticShader ( StaticShader && other)
inline

Definition at line 460 of file GPU_shader.hh.

References StaticShader().

◆ ~StaticShader()

blender::gpu::StaticShader::~StaticShader ( )
inline

Definition at line 470 of file GPU_shader.hh.

References GPU_shader_batch_cancel(), and GPU_SHADER_FREE_SAFE.

Member Function Documentation

◆ ensure_compile_async()

void blender::gpu::StaticShader::ensure_compile_async ( )
inline

◆ get()

◆ is_ready()

bool blender::gpu::StaticShader::is_ready ( )
inline

Definition at line 502 of file GPU_shader.hh.

Referenced by ensure_compile_async(), and get().

◆ operator=()

StaticShader & blender::gpu::StaticShader::operator= ( StaticShader && other)
inline

Definition at line 464 of file GPU_shader.hh.

References StaticShader().

◆ set()

void blender::gpu::StaticShader::set ( blender::gpu::Shader * shader)
inline

Definition at line 531 of file GPU_shader.hh.

References BLI_assert, and lock.


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