Class ShaderCompilerDX
Implementation of shaders compiler for DirectX platform using https://github.com/microsoft/DirectXShaderCompiler.
Inheritance
ShaderCompilerDX
Inherited Members
ShaderCompilerDX
Assembly: FlaxEngine.dll
File: Engine/ShadersCompilation/DirectX/ShaderCompilerDX.h
Syntax
public class ShaderCompilerDX : public ShaderCompiler
Constructors
~ShaderCompilerDX()
ShaderCompilerDX(ShaderProfile profile)
Initializes a new instance of the ShaderCompilerDX class.
Declaration
public ShaderCompilerDX(ShaderProfile profile)
Parameters
ShaderProfile
profile
The profile. |
Methods
CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr)
Declaration
protected virtual bool CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr) override
Parameters
ShaderFunctionMeta
meta
|
WritePermutationData
customDataWrite
|
Returns
bool
|
Overrides
OnCompileBegin()
Declaration
protected virtual bool OnCompileBegin() override
Returns
bool
|