Class Shader
The shader asset. Contains a program that runs on the GPU and is able to perform rendering calculation using textures, vertices and other resources.
Inherited Members
Shader
Shader
Shader
Assembly: FlaxEngine.dll
File: Engine/Content/Assets/Shader.h
Syntax
public class Shader : public ShaderAssetTypeBase
Constructors
~Shader()
Fields
GPU
Methods
GetShader()
load()
Load data from the chunks
Declaration
protected virtual LoadResult load() override
Returns
LoadResult
Loading result |
Overrides
unload(bool isReloading)
Unloads asset data
Declaration
protected virtual void unload(bool isReloading) override
Parameters
bool
isReloading
True if asset is reloading data, otherwise false. |