docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawProcedural

    DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount, int instanceCount, MaterialPropertyBlock properties)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int vertexCount

    See CommandBuffer documentation

    int instanceCount

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)

    DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount, int instanceCount)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int vertexCount

    See CommandBuffer documentation

    int instanceCount

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int)

    DrawProcedural(Matrix4x4, Material, int, MeshTopology, int)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int vertexCount

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int)

    DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount, int instanceCount, MaterialPropertyBlock properties)
    Parameters
    Type Name Description
    GraphicsBuffer indexBuffer

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int indexCount

    See CommandBuffer documentation

    int instanceCount

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)

    DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount, int instanceCount)
    Parameters
    Type Name Description
    GraphicsBuffer indexBuffer

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int indexCount

    See CommandBuffer documentation

    int instanceCount

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int)

    DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int)

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount)
    Parameters
    Type Name Description
    GraphicsBuffer indexBuffer

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    int indexCount

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int)
    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)