Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShaderStore

Defines the shader related stores and directory

Hierarchy

  • ShaderStore

Index

Properties

Static IncludesShadersStoreSearch playground for IncludesShadersStore

IncludesShadersStore: {}

Store of each included file for a shader (The can be looked up using effect.key)

Type declaration

  • [key: string]: string

Static IncludesShadersStoreWGSLSearch playground for IncludesShadersStoreWGSL

IncludesShadersStoreWGSL: {}

Store of each included file for a shader (WGSL)

Type declaration

  • [key: string]: string

Static ShadersRepositorySearch playground for ShadersRepository

ShadersRepository: string

Gets or sets the relative url used to load shaders if using the engine in non-minified mode

Static ShadersRepositoryWGSLSearch playground for ShadersRepositoryWGSL

ShadersRepositoryWGSL: string

Gets or sets the relative url used to load shaders (WGSL) if using the engine in non-minified mode

Static ShadersStoreSearch playground for ShadersStore

ShadersStore: {}

Store of each shader (The can be looked up using effect.key)

Type declaration

  • [key: string]: string

Static ShadersStoreWGSLSearch playground for ShadersStoreWGSL

ShadersStoreWGSL: {}

Store of each shader (WGSL)

Type declaration

  • [key: string]: string

Methods

Static GetIncludesShadersStoreSearch playground for GetIncludesShadersStore

  • Gets the include shaders store of a given shader language

    Parameters

    Returns {}

    the include shaders store

    • [key: string]: string

Static GetShadersRepositorySearch playground for GetShadersRepository

  • Gets the shaders repository path for a given shader language

    Parameters

    Returns string

    the path to the shaders repository

Static GetShadersStoreSearch playground for GetShadersStore

  • Gets the shaders store of a given shader language

    Parameters

    Returns {}

    the shaders store

    • [key: string]: string

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method