Blender V4.5
blender::gpu::StaticShader Class Reference

#include <GPU_shader.hh>

Inherits blender::NonCopyable.

Public Member Functions

 StaticShader (std::string info_name)
 StaticShader ()=default
 StaticShader (StaticShader &&other)
StaticShaderoperator= (StaticShader &&other)
 ~StaticShader ()
void ensure_compile_async ()
bool is_ready ()
GPUShader * get ()
void set (GPUShader *shader)

Detailed Description

Definition at line 447 of file GPU_shader.hh.

Constructor & Destructor Documentation

◆ StaticShader() [1/3]

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

Definition at line 470 of file GPU_shader.hh.

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

◆ StaticShader() [2/3]

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

◆ StaticShader() [3/3]

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

Definition at line 473 of file GPU_shader.hh.

References StaticShader().

◆ ~StaticShader()

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

Definition at line 483 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 515 of file GPU_shader.hh.

Referenced by ensure_compile_async(), and get().

◆ operator=()

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

Definition at line 477 of file GPU_shader.hh.

References StaticShader().

◆ set()

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

Definition at line 544 of file GPU_shader.hh.

References BLI_assert, and lock.


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