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

#include <gl_shader.hh>

Inherits blender::gpu::ShaderCompiler.

Public Member Functions

 GLShaderCompiler ()
GLShaderCompiler
virtual void specialize_shader (ShaderSpecialization &specialization) override
 ShaderCompiler (uint32_t threads_count=1, GPUWorker::ContextType context_type=GPUWorker::ContextType::PerThread, bool support_specializations=false)
virtual ~ShaderCompiler ()
Shadercompile (const shader::ShaderCreateInfo &info, bool is_batch_compilation)
virtual Shadercompile_shader (const shader::ShaderCreateInfo &info)
BatchHandle batch_compile (Span< const shader::ShaderCreateInfo * > &infos, CompilationPriority priority)
void batch_cancel (BatchHandle &handle)
bool batch_is_ready (BatchHandle handle)
Vector< Shader * > batch_finalize (BatchHandle &handle)
SpecializationBatchHandle precompile_specializations (Span< ShaderSpecialization > specializations, CompilationPriority priority)
bool specialization_batch_is_ready (SpecializationBatchHandle &handle)
bool is_compiling ()
void wait_for_all ()

Additional Inherited Members

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

Detailed Description

Definition at line 198 of file gl_shader.hh.

Constructor & Destructor Documentation

◆ GLShaderCompiler()

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

Member Function Documentation

◆ specialize_shader()

void GLShaderCompiler::specialize_shader ( ShaderSpecialization & specialization)
overridevirtual

Reimplemented from blender::gpu::ShaderCompiler.

Definition at line 1684 of file gl_shader.cc.

References ShaderSpecialization::constants, and ShaderSpecialization::shader.


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