Blender V5.3
blender::gpu::GLShaderCompiler Class Reference

#include <gl_shader.hh>

Inherits blender::gpu::ShaderCompiler.

Public Member Functions

 GLShaderCompiler ()
GLShaderCompiler
virtual void specialize_shader (const ShaderSpecialization &specialization) override
 ShaderCompiler (uint32_t threads_count=1, GPUWorker::ContextType context_type=GPUWorker::ContextType::PerThread, bool support_specializations=false)
virtual ~ShaderCompiler ()
Shader * compile (const shader::ShaderCreateInfo &info, bool is_codegen_only)
virtual Shader * compile_shader (const shader::ShaderCreateInfo &info)
AsyncCompilationHandle async_compilation (const shader::ShaderCreateInfo *info, CompilationPriority priority)
void async_compilation_cancel (AsyncCompilationHandle &handle)
bool async_compilation_is_ready (AsyncCompilationHandle handle)
Shader * async_compilation_finalize (AsyncCompilationHandle &handle)
AsyncSpecializationHandle async_specialization (const ShaderSpecialization &specialization, CompilationPriority priority)
bool async_specialization_is_ready (AsyncSpecializationHandle &handle)
bool is_compiling ()
void wait_for_all ()
void pause_all ()
void continue_all ()

Additional Inherited Members

Protected Member Functions inherited from blender::gpu::ShaderCompiler
void destruct_compilation_worker ()

Detailed Description

Definition at line 208 of file gl_shader.hh.

Constructor & Destructor Documentation

◆ GLShaderCompiler()

blender::gpu::GLShaderCompiler::GLShaderCompiler ( )
inline

Member Function Documentation

◆ specialize_shader()

void blender::GLShaderCompiler::specialize_shader ( const ShaderSpecialization & specialization)
overridevirtual

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