Search Results for

    Show / Hide Table of Contents

    Class VertexColorsMaterialShader

    Vertex Colors rendering for profiling and debugging in editor.

    Inheritance
    IMaterial
    VertexColorsMaterialShader
    Inherited Members
    IMaterial::CanUseInstancing(InstancingHandler& handler)
    IMaterial::CanUseLightmap()
    IMaterial::IsDecal()
    IMaterial::IsDeformable()
    IMaterial::IsGUI()
    IMaterial::IsParticle()
    IMaterial::IsPostFx()
    IMaterial::IsSurface()
    IMaterial::IsTerrain()
    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
    IMaterial::Bind(BindParameters& params)

    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
    IMaterial::GetDrawModes()

    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
    IMaterial::GetInfo()

    GetShader()

    Gets the shader resource.

    Declaration
    public virtual GPUShader* GetShader() const override
    Returns
    GPUShader

    The material shader resource.

    Overrides
    IMaterial::GetShader()

    IsReady()

    Returns true if material is ready for rendering.

    Declaration
    public virtual bool IsReady() const override
    Returns
    bool

    True if can render that material

    Overrides
    IMaterial::IsReady()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat