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

#include <mtl_shader.hh>

Inherits blender::gpu::ShaderCompiler.

Public Member Functions

MTLShaderCompiler
 MTLShaderCompiler ()
 
Shadercompile_shader (const shader::ShaderCreateInfo &info) override
 
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)
 
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 325 of file mtl_shader.hh.

Constructor & Destructor Documentation

◆ MTLShaderCompiler()

blender::gpu::MTLShaderCompiler::MTLShaderCompiler ( )

Definition at line 1551 of file mtl_shader.mm.

Member Function Documentation

◆ compile_shader()

Shader * blender::gpu::MTLShaderCompiler::compile_shader ( const shader::ShaderCreateInfo & info)
overridevirtual

◆ specialize_shader()


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