docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IRasterCommandBuffer

    This interface declares functions that are specific to a rasterization command buffer.

    Inherited Members
    IBaseCommandBuffer.SetInvertCulling(bool)
    IBaseCommandBuffer.SetViewport(Rect)
    IBaseCommandBuffer.EnableScissorRect(Rect)
    IBaseCommandBuffer.DisableScissorRect()
    IBaseCommandBuffer.SetGlobalFloat(int, float)
    IBaseCommandBuffer.SetGlobalInt(int, int)
    IBaseCommandBuffer.SetGlobalInteger(int, int)
    IBaseCommandBuffer.SetGlobalVector(int, Vector4)
    IBaseCommandBuffer.SetGlobalColor(int, Color)
    IBaseCommandBuffer.SetGlobalMatrix(int, Matrix4x4)
    IBaseCommandBuffer.EnableShaderKeyword(string)
    IBaseCommandBuffer.EnableKeyword(in GlobalKeyword)
    IBaseCommandBuffer.EnableKeyword(Material, in LocalKeyword)
    IBaseCommandBuffer.EnableKeyword(ComputeShader, in LocalKeyword)
    IBaseCommandBuffer.DisableShaderKeyword(string)
    IBaseCommandBuffer.DisableKeyword(in GlobalKeyword)
    IBaseCommandBuffer.DisableKeyword(Material, in LocalKeyword)
    IBaseCommandBuffer.DisableKeyword(ComputeShader, in LocalKeyword)
    IBaseCommandBuffer.SetKeyword(in GlobalKeyword, bool)
    IBaseCommandBuffer.SetKeyword(Material, in LocalKeyword, bool)
    IBaseCommandBuffer.SetKeyword(ComputeShader, in LocalKeyword, bool)
    IBaseCommandBuffer.SetViewProjectionMatrices(Matrix4x4, Matrix4x4)
    IBaseCommandBuffer.SetGlobalDepthBias(float, float)
    IBaseCommandBuffer.SetGlobalFloatArray(int, float[])
    IBaseCommandBuffer.SetGlobalVectorArray(int, Vector4[])
    IBaseCommandBuffer.SetGlobalMatrixArray(int, Matrix4x4[])
    IBaseCommandBuffer.SetLateLatchProjectionMatrices(Matrix4x4[])
    IBaseCommandBuffer.MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType, int)
    IBaseCommandBuffer.UnmarkLateLatchMatrix(CameraLateLatchMatrixType)
    IBaseCommandBuffer.BeginSample(string)
    IBaseCommandBuffer.EndSample(string)
    IBaseCommandBuffer.BeginSample(CustomSampler)
    IBaseCommandBuffer.EndSample(CustomSampler)
    IBaseCommandBuffer.BeginSample(ProfilerMarker)
    IBaseCommandBuffer.EndSample(ProfilerMarker)
    IBaseCommandBuffer.IncrementUpdateCount(RenderTargetIdentifier)
    IBaseCommandBuffer.SetupCameraProperties(Camera)
    IBaseCommandBuffer.InvokeOnRenderObjectCallbacks()
    IBaseCommandBuffer.SetGlobalFloat(string, float)
    IBaseCommandBuffer.SetGlobalInt(string, int)
    IBaseCommandBuffer.SetGlobalInteger(string, int)
    IBaseCommandBuffer.SetGlobalVector(string, Vector4)
    IBaseCommandBuffer.SetGlobalColor(string, Color)
    IBaseCommandBuffer.SetGlobalMatrix(string, Matrix4x4)
    IBaseCommandBuffer.SetGlobalFloatArray(string, List<float>)
    IBaseCommandBuffer.SetGlobalFloatArray(int, List<float>)
    IBaseCommandBuffer.SetGlobalFloatArray(string, float[])
    IBaseCommandBuffer.SetGlobalVectorArray(string, List<Vector4>)
    IBaseCommandBuffer.SetGlobalVectorArray(int, List<Vector4>)
    IBaseCommandBuffer.SetGlobalVectorArray(string, Vector4[])
    IBaseCommandBuffer.SetGlobalMatrixArray(string, List<Matrix4x4>)
    IBaseCommandBuffer.SetGlobalMatrixArray(int, List<Matrix4x4>)
    IBaseCommandBuffer.SetGlobalMatrixArray(string, Matrix4x4[])
    IBaseCommandBuffer.SetGlobalTexture(string, TextureHandle)
    IBaseCommandBuffer.SetGlobalTexture(int, TextureHandle)
    IBaseCommandBuffer.SetGlobalTexture(string, TextureHandle, RenderTextureSubElement)
    IBaseCommandBuffer.SetGlobalTexture(int, TextureHandle, RenderTextureSubElement)
    IBaseCommandBuffer.SetGlobalBuffer(string, ComputeBuffer)
    IBaseCommandBuffer.SetGlobalBuffer(int, ComputeBuffer)
    IBaseCommandBuffer.SetGlobalBuffer(string, GraphicsBuffer)
    IBaseCommandBuffer.SetGlobalBuffer(int, GraphicsBuffer)
    IBaseCommandBuffer.SetGlobalConstantBuffer(ComputeBuffer, int, int, int)
    IBaseCommandBuffer.SetGlobalConstantBuffer(ComputeBuffer, string, int, int)
    IBaseCommandBuffer.SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)
    IBaseCommandBuffer.SetGlobalConstantBuffer(GraphicsBuffer, string, int, int)
    IBaseCommandBuffer.SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)
    IBaseCommandBuffer.SetSinglePassStereo(SinglePassStereoMode)
    IBaseCommandBuffer.IssuePluginEvent(IntPtr, int)
    IBaseCommandBuffer.IssuePluginEventAndData(IntPtr, int, IntPtr)
    IBaseCommandBuffer.IssuePluginCustomBlit(IntPtr, uint, RenderTargetIdentifier, RenderTargetIdentifier, uint, uint)
    IBaseCommandBuffer.IssuePluginCustomTextureUpdateV2(IntPtr, Texture, uint)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public interface IRasterCommandBuffer : IBaseCommandBuffer

    Methods

    ClearRenderTarget(bool, bool, Color)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor)
    Parameters
    Type Name Description
    bool clearDepth

    See CommandBuffer documentation

    bool clearColor

    See CommandBuffer documentation

    Color backgroundColor

    See CommandBuffer documentation

    ClearRenderTarget(bool, bool, Color, float)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth)
    Parameters
    Type Name Description
    bool clearDepth

    See CommandBuffer documentation

    bool clearColor

    See CommandBuffer documentation

    Color backgroundColor

    See CommandBuffer documentation

    float depth

    See CommandBuffer documentation

    ClearRenderTarget(bool, bool, Color, float, uint)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth, uint stencil)
    Parameters
    Type Name Description
    bool clearDepth

    See CommandBuffer documentation

    bool clearColor

    See CommandBuffer documentation

    Color backgroundColor

    See CommandBuffer documentation

    float depth

    See CommandBuffer documentation

    uint stencil

    See CommandBuffer documentation

    ClearRenderTarget(RTClearFlags, Color, float, uint)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    void ClearRenderTarget(RTClearFlags clearFlags, Color backgroundColor, float depth, uint stencil)
    Parameters
    Type Name Description
    RTClearFlags clearFlags

    See CommandBuffer documentation

    Color backgroundColor

    See CommandBuffer documentation

    float depth

    See CommandBuffer documentation

    uint stencil

    See CommandBuffer documentation

    ClearRenderTarget(RTClearFlags, Color[], float, uint)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    void ClearRenderTarget(RTClearFlags clearFlags, Color[] backgroundColors, float depth, uint stencil)
    Parameters
    Type Name Description
    RTClearFlags clearFlags

    See CommandBuffer documentation

    Color[] backgroundColors

    See CommandBuffer documentation

    float depth

    See CommandBuffer documentation

    uint stencil

    See CommandBuffer documentation

    ConfigureFoveatedRendering(IntPtr)

    Wraps ConfigureFoveatedRendering on a CommandBuffer.

    Declaration
    void ConfigureFoveatedRendering(IntPtr platformData)
    Parameters
    Type Name Description
    IntPtr platformData

    See CommandBuffer documentation

    DrawMesh(Mesh, Matrix4x4, Material)

    Wraps DrawMesh on a CommandBuffer.

    Declaration
    void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    DrawMesh(Mesh, Matrix4x4, Material, int)

    Wraps DrawMesh on a CommandBuffer.

    Declaration
    void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    DrawMesh(Mesh, Matrix4x4, Material, int, int)

    Wraps DrawMesh on a CommandBuffer.

    Declaration
    void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    DrawMesh(Mesh, Matrix4x4, Material, int, int, MaterialPropertyBlock)

    Wraps DrawMesh on a CommandBuffer.

    Declaration
    void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    Matrix4x4 matrix

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[])

    Wraps DrawMeshInstanced on a CommandBuffer.

    Declaration
    void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    Matrix4x4[] matrices

    See CommandBuffer documentation

    DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int)

    Wraps DrawMeshInstanced on a CommandBuffer.

    Declaration
    void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, int count)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    Matrix4x4[] matrices

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int, MaterialPropertyBlock)

    Wraps DrawMeshInstanced on a CommandBuffer.

    Declaration
    void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, 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

    Matrix4x4[] matrices

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs, int argsOffset)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int, MaterialPropertyBlock)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs, int argsOffset, 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

    ComputeBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, GraphicsBuffer bufferWithArgs)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, GraphicsBuffer bufferWithArgs, int argsOffset)
    Parameters
    Type Name Description
    Mesh mesh

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int, MaterialPropertyBlock)

    Wraps DrawMeshInstancedIndirect on a CommandBuffer.

    Declaration
    void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, GraphicsBuffer bufferWithArgs, int argsOffset, 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

    GraphicsBuffer bufferWithArgs

    See CommandBuffer documentation

    int argsOffset

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

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

    Wraps DrawMeshInstancedProcedural on a CommandBuffer.

    Declaration
    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

    DrawMultipleMeshes(Matrix4x4[], Mesh[], int[], int, Material, int, MaterialPropertyBlock)

    Wraps DrawMultipleMeshes on a CommandBuffer.

    Declaration
    void DrawMultipleMeshes(Matrix4x4[] matrices, Mesh[] meshes, int[] subsetIndices, int count, Material material, int shaderPass, MaterialPropertyBlock properties)
    Parameters
    Type Name Description
    Matrix4x4[] matrices

    See CommandBuffer documentation

    Mesh[] meshes

    See CommandBuffer documentation

    int[] subsetIndices

    See CommandBuffer documentation

    int count

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    MaterialPropertyBlock properties

    See CommandBuffer documentation

    DrawOcclusionMesh(RectInt)

    Wraps DrawOcclusionMesh on a CommandBuffer.

    Declaration
    void DrawOcclusionMesh(RectInt normalizedCamViewport)
    Parameters
    Type Name Description
    RectInt normalizedCamViewport

    See CommandBuffer documentation

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProcedural on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

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

    Wraps DrawProceduralIndirect on a CommandBuffer.

    Declaration
    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

    DrawRenderer(Renderer, Material)

    Wraps DrawRenderer on a CommandBuffer.

    Declaration
    void DrawRenderer(Renderer renderer, Material material)
    Parameters
    Type Name Description
    Renderer renderer

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    DrawRenderer(Renderer, Material, int)

    Wraps DrawRenderer on a CommandBuffer.

    Declaration
    void DrawRenderer(Renderer renderer, Material material, int submeshIndex)
    Parameters
    Type Name Description
    Renderer renderer

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    DrawRenderer(Renderer, Material, int, int)

    Wraps DrawRenderer on a CommandBuffer.

    Declaration
    void DrawRenderer(Renderer renderer, Material material, int submeshIndex, int shaderPass)
    Parameters
    Type Name Description
    Renderer renderer

    See CommandBuffer documentation

    Material material

    See CommandBuffer documentation

    int submeshIndex

    See CommandBuffer documentation

    int shaderPass

    See CommandBuffer documentation

    DrawRendererList(RendererList)

    Wraps DrawRendererList on a CommandBuffer.

    Declaration
    void DrawRendererList(RendererList rendererList)
    Parameters
    Type Name Description
    RendererList rendererList

    See CommandBuffer documentation

    SetFoveatedRenderingMode(FoveatedRenderingMode)

    Wraps SetFoveatedRenderingMode on a CommandBuffer.

    Declaration
    void SetFoveatedRenderingMode(FoveatedRenderingMode foveatedRenderingMode)
    Parameters
    Type Name Description
    FoveatedRenderingMode foveatedRenderingMode

    See CommandBuffer documentation

    SetInstanceMultiplier(uint)

    Wraps SetInstanceMultiplier on a CommandBuffer.

    Declaration
    void SetInstanceMultiplier(uint multiplier)
    Parameters
    Type Name Description
    uint multiplier

    See CommandBuffer documentation

    SetWireframe(bool)

    Wraps SetWireframe on a CommandBuffer.

    Declaration
    void SetWireframe(bool enable)
    Parameters
    Type Name Description
    bool enable

    See CommandBuffer documentation

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)