Class VertexColorsMaterialShader
Vertex Colors rendering for profiling and debugging in editor.
Inheritance
VertexColorsMaterialShader
Assembly: FlaxEngine.dll
File: Engine/Renderer/Editor/VertexColors.h
Syntax
public class VertexColorsMaterialShader : public IMaterial
Constructors
~VertexColorsMaterialShader()
Declaration
public virtual ~VertexColorsMaterialShader()
VertexColorsMaterialShader()
Declaration
public VertexColorsMaterialShader()
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
GetInfo()
Gets the material info, structure which describes material surface.
Declaration
public virtual MaterialInfo GetInfo() const override
Returns
MaterialInfo
The constant reference to the material descriptor. |
Overrides
GetShader()
Gets the shader resource.
Declaration
public virtual GPUShader* GetShader() const override
Returns
GPUShader
The material shader resource. |
Overrides
IsReady()
Returns true if material is ready for rendering.
Declaration
public virtual bool IsReady() const override
Returns
bool
True if can render that material |