cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::AShaderIR Interface Reference

Abstract class for shader IR. More...

#include <AShaderIR.hpp>

+ Inheritance diagram for cae::AShaderIR:
+ Collaboration diagram for cae::AShaderIR:

Public Member Functions

 ~AShaderIR () override=default
 
- Public Member Functions inherited from cae::IShaderIR
 ~IShaderIR () override=default
 
virtual ShaderSourceType irType () const =0
 Get the IR type this processor handles.
 
virtual ShaderIRModule process (const ShaderIRModule &module)=0
 Transform or validate a shader IR module.
 
virtual void optimize (std::span< ShaderIRModule > modules)
 Optional: optimize a batch of IR modules.
 
virtual ShaderIRModule crossCompile (const ShaderIRModule &module, ShaderSourceType targetType)
 Optional: cross-compile from one IR to another (SPIR-V -> MSL, etc.)
 
- Public Member Functions inherited from utl::IPlugin
virtual ~IPlugin ()=default
 
virtual std::string getName () const =0
 Get the name of the plugin.
 
virtual PluginType getType () const =0
 Get the type of the plugin.
 
virtual PluginPlatform getPlatform () const =0
 Get the handled platform of the plugin.
 

Detailed Description

Abstract class for shader IR.

Definition at line 19 of file AShaderIR.hpp.

Constructor & Destructor Documentation

◆ ~AShaderIR()

cae::AShaderIR::~AShaderIR ( )
overridedefault

The documentation for this interface was generated from the following file: