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

#include <mtl_shader.hh>

Inherits blender::gpu::ShaderCompiler.

Public Member Functions

MTLShaderCompiler
 MTLShaderCompiler ()
 
virtual ~MTLShaderCompiler () override
 
virtual BatchHandle batch_compile (Span< const shader::ShaderCreateInfo * > &infos) override
 
virtual bool batch_is_ready (BatchHandle handle) override
 
virtual Vector< Shader * > batch_finalize (BatchHandle &handle) override
 
virtual SpecializationBatchHandle precompile_specializations (Span< ShaderSpecialization > specializations) override
 
virtual bool specialization_batch_is_ready (SpecializationBatchHandle &handle) override
 
void release_parallel_shader_compiler ()
 
- Public Member Functions inherited from blender::gpu::ShaderCompiler
virtual ~ShaderCompiler ()
 
Shadercompile (const shader::ShaderCreateInfo &info, bool is_batch_compilation)
 

Detailed Description

Definition at line 481 of file mtl_shader.hh.

Constructor & Destructor Documentation

◆ MTLShaderCompiler()

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

◆ ~MTLShaderCompiler()

blender::gpu::MTLShaderCompiler::~MTLShaderCompiler ( )
overridevirtual

Definition at line 2226 of file mtl_shader.mm.

References release_parallel_shader_compiler().

Member Function Documentation

◆ batch_compile()

BatchHandle blender::gpu::MTLShaderCompiler::batch_compile ( Span< const shader::ShaderCreateInfo * > & infos)
overridevirtual

◆ batch_finalize()

Vector< Shader * > blender::gpu::MTLShaderCompiler::batch_finalize ( BatchHandle & handle)
overridevirtual

◆ batch_is_ready()

bool blender::gpu::MTLShaderCompiler::batch_is_ready ( BatchHandle handle)
overridevirtual

◆ precompile_specializations()

SpecializationBatchHandle blender::gpu::MTLShaderCompiler::precompile_specializations ( Span< ShaderSpecialization > specializations)
overridevirtual

◆ release_parallel_shader_compiler()

void blender::gpu::MTLShaderCompiler::release_parallel_shader_compiler ( )

◆ specialization_batch_is_ready()

bool blender::gpu::MTLShaderCompiler::specialization_batch_is_ready ( SpecializationBatchHandle & handle)
overridevirtual

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