Class VolumeParticleMaterialShader
Represents material that can be used to render particles.
Assembly: FlaxEngine.dll
File: Engine/Graphics/Materials/VolumeParticleMaterialShader.h
Syntax
public class VolumeParticleMaterialShader : public MaterialShader
Constructors
VolumeParticleMaterialShader(const StringView& name)
Init
Declaration
public VolumeParticleMaterialShader(const StringView& name)
Parameters
StringView
name
Material resource name |
Methods
Bind(BindParameters& params)
Binds the material state to the GPU pipeline. Should be called before the draw command.
Declaration
public virtual void Bind(BindParameters& params) override
Parameters
BindParameters
params
The material bind settings. |
Overrides
GetDrawModes()
Gets the mask of render passes supported by this material.
Declaration
public virtual DrawPass GetDrawModes() const override
Returns
DrawPass
The draw passes supported by this material. |
Overrides
Load()
Unload()
Clears the loaded data.
Declaration
public virtual void Unload() override