docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawMeshInstancedProcedural

    DrawMeshInstancedProcedural(Mesh, int, Material, int, int, MaterialPropertyBlock)

    Wraps DrawMeshInstancedProcedural on a CommandBuffer.

    Declaration
    public void DrawMeshInstancedProcedural(Mesh mesh, int submeshIndex, Material material, int shaderPass, int count, MaterialPropertyBlock properties)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawMeshInstancedProcedural(Mesh, int, Material, int, int, MaterialPropertyBlock)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)