Blender V4.5
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
 
- Public Member Functions inherited from blender::gpu::ShaderCompiler
 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 199 of file gl_shader.hh.

Constructor & Destructor Documentation

◆ GLShaderCompiler()

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

Definition at line 201 of file gl_shader.hh.

Member Function Documentation

◆ specialize_shader()

void GLShaderCompiler::specialize_shader ( ShaderSpecialization & specialization)
overridevirtual

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