docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DrawProceduralIndirect

    DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int, MaterialPropertyBlock)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, 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

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int, MaterialPropertyBlock)

    DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)

    DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer)

    DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int, MaterialPropertyBlock)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, 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

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

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

    DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset)
    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

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)

    DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer)

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs)
    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

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    Implements
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer)

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset, 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

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs)
    Parameters
    Type Name Description
    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MeshTopology topology

    See CommandBuffer documentation

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset, 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

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset)
    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

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs)
    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

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

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