|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Represents a interface for shader compilation. More...
#include <IShaderCompiler.hpp>


Public Types | |
| using | CompileOutput = std::pair<IShader*, ShaderCompilationResult> |
| using | EffectCompileOutput = std::pair<Effect*, ShaderCompilationResult> |
Public Member Functions | |
| CompileOutput | CompileShader (ShaderDesc shaderDescription) |
| EffectCompileOutput | CompileEffect (ShaderDesc[] descs) |
| virtual CompileOutput | Compile (const ShaderDesc *desc)=0 |
| Compiles an shader based on the provided description. | |
| virtual EffectCompileOutput | CompileEffect (std::span< ShaderDesc * > descs)=0 |
| Compiles an effect based on the provided shader descriptions. | |
| virtual | ~IShaderCompiler ()=default |
Protected Member Functions | |
| IShaderCompiler () | |
| IShaderCompiler (const IShaderCompiler &)=delete | |
| IShaderCompiler & | operator= (const IShaderCompiler &)=delete |
| IShaderCompiler (IShaderCompiler &&) noexcept=default | |
| IShaderCompiler & | operator= (IShaderCompiler &&) noexcept=default |
Protected Attributes | |
| std::unique_ptr< EffectManager > | _manager |
Additional Inherited Members | |
| Properties inherited from Engine3DRadSpace.IPtrWrapper | |
| IntPtr | Handle [get] |
Represents a interface for shader compilation.
| using Engine3DRadSpace.Graphics.IShaderCompiler.CompileOutput = std::pair<IShader*, ShaderCompilationResult> |
| using Engine3DRadSpace.Graphics.IShaderCompiler.EffectCompileOutput = std::pair<Effect*, ShaderCompilationResult> |
|
protected |
|
protecteddelete |
|
protecteddefaultnoexcept |
|
virtualdefault |
|
nodiscardpure virtual |
Compiles an shader based on the provided description.
| desc | Shader description. |
Implemented in Engine3DRadSpace.Graphics::DirectX11::ShaderCompiler, and Engine3DRadSpace.Graphics::Null::ShaderCompiler.
| EffectCompileOutput Engine3DRadSpace.Graphics.IShaderCompiler.CompileEffect | ( | ShaderDesc[] | descs | ) |
|
nodiscardpure virtual |
Compiles an effect based on the provided shader descriptions.
| descs | A span of shader descriptions. |
Implemented in Engine3DRadSpace.Graphics::DirectX11::ShaderCompiler, and Engine3DRadSpace.Graphics::Null::ShaderCompiler.
| CompileOutput Engine3DRadSpace.Graphics.IShaderCompiler.CompileShader | ( | ShaderDesc | shaderDescription | ) |
|
protecteddelete |
|
protecteddefaultnoexcept |
|
protected |