Search Results for

    Show / Hide Table of Contents

    Class ShaderAssetTypeBase

    Base class for binary assets that can contain shader.

    Inheritance
    BaseType
    ShaderAssetTypeBase
    Inherited Members
    ShaderAssetBase::_shaderHeader
    ShaderAssetBase::GetCacheChunkIndex()
    ShaderAssetBase::GetCacheChunkIndex(ShaderProfile profile)
    ShaderAssetBase::initBase(AssetInitData& initData)
    ShaderAssetBase::InitCompilationOptions(struct ShaderCompilationOptions& options)
    ShaderAssetBase::IsNullRenderer()
    ShaderAssetBase::LoadShaderCache(ShaderCacheResult& result)
    ShaderAssetBase::RegisterForShaderReloads(Asset* asset, const ShaderCacheResult& shaderCache)
    ShaderAssetBase::SaveShaderAsset()
    ShaderAssetBase::UnregisterForShaderReloads(Asset* asset)
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Shaders/Cache/ShaderAssetBase.h
    Syntax
    public class ShaderAssetTypeBase<BaseType> : public ShaderAssetBase
    Type Parameters
    BaseType

    Constructors

    ShaderAssetTypeBase(const ScriptingObjectSpawnParams& params, const AssetInfo* info)

    Declaration
    protected ShaderAssetTypeBase(const ScriptingObjectSpawnParams& params, const AssetInfo* info)
    Parameters
    ScriptingObjectSpawnParams params

    AssetInfo info

    Fields

    ShadersSerializedVersion

    Declaration
    public static uint32 ShadersSerializedVersion = ShaderStorage::Header::Version
    Field Value
    uint32

    Methods

    getChunksToPreload()

    Declaration
    protected AssetChunksFlag getChunksToPreload() const override
    Returns
    AssetChunksFlag

    GetShaderAsset()

    Gets the parent asset.

    Declaration
    protected virtual BinaryAsset* GetShaderAsset() const override
    Returns
    BinaryAsset

    Overrides
    ShaderAssetBase::GetShaderAsset()

    init(AssetInitData& initData)

    Declaration
    protected bool init(AssetInitData& initData) override
    Parameters
    AssetInitData initData

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat