Search Results for

    Show / Hide Table of Contents

    Class ShaderCompilerD3D

    Implementation of shaders compiler for DirectX platform using D3DCompiler.

    Inheritance
    ShaderCompiler
    ShaderCompilerD3D
    Inherited Members
    ShaderCompiler::_constantBuffers
    ShaderCompiler::_context
    ShaderCompiler::_globalMacros
    ShaderCompiler::_macros
    ShaderCompiler::_profile
    ShaderCompiler::Compile(ShaderCompilationContext* context)
    ShaderCompiler::CompileShaders()
    ShaderCompiler::DisposeIncludedFilesCache()
    ShaderCompiler::GetDefineForFunction(ShaderFunctionMeta& meta, Array<ShaderMacro>& macros)
    ShaderCompiler::GetIncludedFileSource(ShaderCompilationContext* context, const char* sourceFile, const char* includedFile, const char*& source, int32& sourceLength)
    ShaderCompiler::GetProfile()
    ShaderCompiler::OnCompileEnd()
    ShaderCompiler::ParseVertexElementType(StringAnsiView semantic, uint32 index = 0)
    ShaderCompiler::ShaderCompiler(ShaderProfile profile)
    ShaderCompiler::WriteCustomDataHS(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const Array<ShaderMacro>& macros, void* additionalData)
    ShaderCompiler::WriteCustomDataVS(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const Array<ShaderMacro>& macros, void* additionalData)
    ShaderCompilerD3D
    ShaderCompiler::WriteShaderFunctionBegin(ShaderCompilationContext* context, ShaderFunctionMeta& meta)
    ShaderCompiler::WriteShaderFunctionEnd(ShaderCompilationContext* context, ShaderFunctionMeta& meta)
    ShaderCompiler::WriteShaderFunctionPermutation(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const ShaderBindings& bindings, const void* header, int32 headerSize, const void* cache, int32 cacheSize)
    ShaderCompiler::WriteShaderFunctionPermutation(ShaderCompilationContext* context, ShaderFunctionMeta& meta, int32 permutationIndex, const ShaderBindings& bindings, const void* cache, int32 cacheSize)
    ShaderCompiler::~ShaderCompiler()
    Assembly: FlaxEngine.dll
    File: Engine/ShadersCompilation/DirectX/ShaderCompilerD3D.h
    Syntax
    public class ShaderCompilerD3D : public ShaderCompiler

    Constructors

    ShaderCompilerD3D(ShaderProfile profile)

    Initializes a new instance of the ShaderCompilerD3D class.

    Declaration
    public ShaderCompilerD3D(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
    ShaderCompiler::CompileShader(ShaderFunctionMeta& meta, WritePermutationData customDataWrite=nullptr)

    OnCompileBegin()

    Declaration
    protected virtual bool OnCompileBegin() override
    Returns
    bool

    Overrides
    ShaderCompiler::OnCompileBegin()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat