Class ShaderStore
Hierarchy
- ShaderStore
Index
Constructors
constructor
Returns ShaderStore
Properties
Static Includes Shaders StoreSearch playground for IncludesShadersStore
Store of each included file for a shader (The can be looked up using effect.key)
Type declaration
[key: string]: string
Static Includes Shaders StoreWGSLSearch playground for IncludesShadersStoreWGSL
Store of each included file for a shader (WGSL)
Type declaration
[key: string]: string
Static Shaders RepositorySearch playground for ShadersRepository
Gets or sets the relative url used to load shaders if using the engine in non-minified mode
Static Shaders RepositoryWGSLSearch playground for ShadersRepositoryWGSL
Gets or sets the relative url used to load shaders (WGSL) if using the engine in non-minified mode
Static Shaders StoreSearch playground for ShadersStore
Store of each shader (The can be looked up using effect.key)
Type declaration
[key: string]: string
Static Shaders StoreWGSLSearch playground for ShadersStoreWGSL
Store of each shader (WGSL)
Type declaration
[key: string]: string
Methods
Static Get Includes Shaders StoreSearch playground for GetIncludesShadersStore
Gets the include shaders store of a given shader language
Parameters
Optional shaderLanguage: ShaderLanguage
the shader language
Returns {}
the include shaders store
[key: string]: string
Static Get Shaders RepositorySearch playground for GetShadersRepository
Gets the shaders repository path for a given shader language
Parameters
Optional shaderLanguage: ShaderLanguage
the shader language
Returns string
the path to the shaders repository
Static Get Shaders StoreSearch playground for GetShadersStore
Gets the shaders store of a given shader language
Parameters
Optional shaderLanguage: ShaderLanguage
the shader language
Returns {}
the shaders store
[key: string]: string
Defines the shader related stores and directory