docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RasterCommandBuffer

    A command buffer that is used with a rasterization render graph pass.

    Inheritance
    object
    BaseCommandBuffer
    RasterCommandBuffer
    Implements
    IRasterCommandBuffer
    IBaseCommandBuffer
    Inherited Members
    BaseCommandBuffer.m_WrappedCommandBuffer
    BaseCommandBuffer.name
    BaseCommandBuffer.sizeInBytes
    BaseCommandBuffer.ThrowIfGlobalStateNotAllowed()
    BaseCommandBuffer.ThrowIfRasterNotAllowed()
    BaseCommandBuffer.ValidateTextureHandle(TextureHandle)
    BaseCommandBuffer.ValidateTextureHandleRead(TextureHandle)
    BaseCommandBuffer.ValidateTextureHandleWrite(TextureHandle)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class RasterCommandBuffer : BaseCommandBuffer, IRasterCommandBuffer, IBaseCommandBuffer

    Methods

    BeginSample(string)

    Wraps BeginSample on a CommandBuffer.

    Declaration
    public void BeginSample(string name)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    BeginSample(ProfilerMarker)

    Wraps BeginSample on a CommandBuffer.

    Declaration
    public void BeginSample(ProfilerMarker marker)
    Parameters
    Type Name Description
    ProfilerMarker marker

    See CommandBuffer documentation

    BeginSample(CustomSampler)

    Wraps BeginSample on a CommandBuffer.

    Declaration
    public void BeginSample(CustomSampler sampler)
    Parameters
    Type Name Description
    CustomSampler sampler

    See CommandBuffer documentation

    ClearRenderTarget(bool, bool, Color)

    Wraps ClearRenderTarget on a CommandBuffer.

    Declaration
    public 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
    public 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
    public 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
    public 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
    public 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
    public void ConfigureFoveatedRendering(IntPtr platformData)
    Parameters
    Type Name Description
    IntPtr platformData

    See CommandBuffer documentation

    DisableKeyword(ComputeShader, in LocalKeyword)

    Wraps DisableKeyword on a CommandBuffer.

    Declaration
    public void DisableKeyword(ComputeShader computeShader, in LocalKeyword keyword)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    DisableKeyword(Material, in LocalKeyword)

    Wraps DisableKeyword on a CommandBuffer.

    Declaration
    public void DisableKeyword(Material material, in LocalKeyword keyword)
    Parameters
    Type Name Description
    Material material

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    DisableKeyword(in GlobalKeyword)

    Wraps DisableKeyword on a CommandBuffer.

    Declaration
    public void DisableKeyword(in GlobalKeyword keyword)
    Parameters
    Type Name Description
    GlobalKeyword keyword

    See CommandBuffer documentation

    DisableScissorRect()

    Wraps DisableScissorRect on a CommandBuffer.

    Declaration
    public void DisableScissorRect()

    DisableShaderKeyword(string)

    Wraps DisableShaderKeyword on a CommandBuffer.

    Declaration
    public void DisableShaderKeyword(string keyword)
    Parameters
    Type Name Description
    string keyword

    See CommandBuffer documentation

    DrawMesh(Mesh, Matrix4x4, Material)

    Wraps DrawMesh on a CommandBuffer.

    Declaration
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    public 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
    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

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

    Wraps DrawMultipleMeshes on a CommandBuffer.

    Declaration
    public 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
    public 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
    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    DrawRenderer(Renderer, Material)

    Wraps DrawRenderer on a CommandBuffer.

    Declaration
    public 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
    public 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
    public 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
    public void DrawRendererList(RendererList rendererList)
    Parameters
    Type Name Description
    RendererList rendererList

    See CommandBuffer documentation

    EnableKeyword(ComputeShader, in LocalKeyword)

    Wraps EnableKeyword on a CommandBuffer.

    Declaration
    public void EnableKeyword(ComputeShader computeShader, in LocalKeyword keyword)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    EnableKeyword(Material, in LocalKeyword)

    Wraps EnableKeyword on a CommandBuffer.

    Declaration
    public void EnableKeyword(Material material, in LocalKeyword keyword)
    Parameters
    Type Name Description
    Material material

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    EnableKeyword(in GlobalKeyword)

    Wraps EnableKeyword on a CommandBuffer.

    Declaration
    public void EnableKeyword(in GlobalKeyword keyword)
    Parameters
    Type Name Description
    GlobalKeyword keyword

    See CommandBuffer documentation

    EnableScissorRect(Rect)

    Wraps EnableScissorRect on a CommandBuffer.

    Declaration
    public void EnableScissorRect(Rect scissor)
    Parameters
    Type Name Description
    Rect scissor

    See CommandBuffer documentation

    EnableShaderKeyword(string)

    Wraps EnableShaderKeyword on a CommandBuffer.

    Declaration
    public void EnableShaderKeyword(string keyword)
    Parameters
    Type Name Description
    string keyword

    See CommandBuffer documentation

    EndSample(string)

    Wraps EndSample on a CommandBuffer.

    Declaration
    public void EndSample(string name)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    EndSample(ProfilerMarker)

    Wraps EndSample on a CommandBuffer.

    Declaration
    public void EndSample(ProfilerMarker marker)
    Parameters
    Type Name Description
    ProfilerMarker marker

    See CommandBuffer documentation

    EndSample(CustomSampler)

    Wraps EndSample on a CommandBuffer.

    Declaration
    public void EndSample(CustomSampler sampler)
    Parameters
    Type Name Description
    CustomSampler sampler

    See CommandBuffer documentation

    IncrementUpdateCount(RenderTargetIdentifier)

    Wraps IncrementUpdateCount on a CommandBuffer.

    Declaration
    public void IncrementUpdateCount(RenderTargetIdentifier dest)
    Parameters
    Type Name Description
    RenderTargetIdentifier dest

    See CommandBuffer documentation

    InvokeOnRenderObjectCallbacks()

    Wraps InvokeOnRenderObjectCallbacks on a CommandBuffer.

    Declaration
    public void InvokeOnRenderObjectCallbacks()

    IssuePluginCustomBlit(IntPtr, uint, RenderTargetIdentifier, RenderTargetIdentifier, uint, uint)

    Wraps IssuePluginCustomBlit on a CommandBuffer.

    Declaration
    public void IssuePluginCustomBlit(IntPtr callback, uint command, RenderTargetIdentifier source, RenderTargetIdentifier dest, uint commandParam, uint commandFlags)
    Parameters
    Type Name Description
    IntPtr callback

    See CommandBuffer documentation

    uint command

    See CommandBuffer documentation

    RenderTargetIdentifier source

    See CommandBuffer documentation

    RenderTargetIdentifier dest

    See CommandBuffer documentation

    uint commandParam

    See CommandBuffer documentation

    uint commandFlags

    See CommandBuffer documentation

    IssuePluginCustomTextureUpdateV2(IntPtr, Texture, uint)

    Wraps IssuePluginCustomTextureUpdateV2 on a CommandBuffer.

    Declaration
    public void IssuePluginCustomTextureUpdateV2(IntPtr callback, Texture targetTexture, uint userData)
    Parameters
    Type Name Description
    IntPtr callback

    See CommandBuffer documentation

    Texture targetTexture

    See CommandBuffer documentation

    uint userData

    See CommandBuffer documentation

    IssuePluginEvent(IntPtr, int)

    Wraps IssuePluginEvent on a CommandBuffer.

    Declaration
    public void IssuePluginEvent(IntPtr callback, int eventID)
    Parameters
    Type Name Description
    IntPtr callback

    See CommandBuffer documentation

    int eventID

    See CommandBuffer documentation

    IssuePluginEventAndData(IntPtr, int, IntPtr)

    Wraps IssuePluginEventAndData on a CommandBuffer.

    Declaration
    public void IssuePluginEventAndData(IntPtr callback, int eventID, IntPtr data)
    Parameters
    Type Name Description
    IntPtr callback

    See CommandBuffer documentation

    int eventID

    See CommandBuffer documentation

    IntPtr data

    See CommandBuffer documentation

    MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType, int)

    Wraps MarkLateLatchMatrixShaderPropertyID on a CommandBuffer.

    Declaration
    public void MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType matrixPropertyType, int shaderPropertyID)
    Parameters
    Type Name Description
    CameraLateLatchMatrixType matrixPropertyType

    See CommandBuffer documentation

    int shaderPropertyID

    See CommandBuffer documentation

    SetFoveatedRenderingMode(FoveatedRenderingMode)

    Wraps SetFoveatedRenderingMode on a CommandBuffer.

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

    See CommandBuffer documentation

    SetGlobalBuffer(int, ComputeBuffer)

    Wraps SetGlobalBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalBuffer(int nameID, ComputeBuffer value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    ComputeBuffer value

    See CommandBuffer documentation

    SetGlobalBuffer(int, GraphicsBuffer)

    Wraps SetGlobalBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalBuffer(int nameID, GraphicsBuffer value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    GraphicsBuffer value

    See CommandBuffer documentation

    SetGlobalBuffer(string, ComputeBuffer)

    Wraps SetGlobalBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalBuffer(string name, ComputeBuffer value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    ComputeBuffer value

    See CommandBuffer documentation

    SetGlobalBuffer(string, GraphicsBuffer)

    Wraps SetGlobalBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalBuffer(string name, GraphicsBuffer value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    GraphicsBuffer value

    See CommandBuffer documentation

    SetGlobalColor(int, Color)

    Wraps SetGlobalColor on a CommandBuffer.

    Declaration
    public void SetGlobalColor(int nameID, Color value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    Color value

    See CommandBuffer documentation

    SetGlobalColor(string, Color)

    Wraps SetGlobalColor on a CommandBuffer.

    Declaration
    public void SetGlobalColor(string name, Color value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    Color value

    See CommandBuffer documentation

    SetGlobalConstantBuffer(ComputeBuffer, int, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalConstantBuffer(ComputeBuffer buffer, int nameID, int offset, int size)
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    SetGlobalConstantBuffer(ComputeBuffer, string, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalConstantBuffer(ComputeBuffer buffer, string name, int offset, int size)
    Parameters
    Type Name Description
    ComputeBuffer buffer

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalConstantBuffer(GraphicsBuffer buffer, int nameID, int offset, int size)
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    SetGlobalConstantBuffer(GraphicsBuffer, string, int, int)

    Wraps SetGlobalConstantBuffer on a CommandBuffer.

    Declaration
    public void SetGlobalConstantBuffer(GraphicsBuffer buffer, string name, int offset, int size)
    Parameters
    Type Name Description
    GraphicsBuffer buffer

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    SetGlobalDepthBias(float, float)

    Wraps SetGlobalDepthBias on a CommandBuffer.

    Declaration
    public void SetGlobalDepthBias(float bias, float slopeBias)
    Parameters
    Type Name Description
    float bias

    See CommandBuffer documentation

    float slopeBias

    See CommandBuffer documentation

    SetGlobalFloat(int, float)

    Wraps SetGlobalFloat on a CommandBuffer.

    Declaration
    public void SetGlobalFloat(int nameID, float value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    float value

    See CommandBuffer documentation

    SetGlobalFloat(string, float)

    Wraps SetGlobalFloat on a CommandBuffer.

    Declaration
    public void SetGlobalFloat(string name, float value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    float value

    See CommandBuffer documentation

    SetGlobalFloatArray(int, List<float>)

    Wraps SetGlobalFloatArray on a CommandBuffer.

    Declaration
    public void SetGlobalFloatArray(int nameID, List<float> values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    List<float> values

    See CommandBuffer documentation

    SetGlobalFloatArray(int, float[])

    Wraps SetGlobalFloatArray on a CommandBuffer.

    Declaration
    public void SetGlobalFloatArray(int nameID, float[] values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    float[] values

    See CommandBuffer documentation

    SetGlobalFloatArray(string, List<float>)

    Wraps SetGlobalFloatArray on a CommandBuffer.

    Declaration
    public void SetGlobalFloatArray(string propertyName, List<float> values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    List<float> values

    See CommandBuffer documentation

    SetGlobalFloatArray(string, float[])

    Wraps SetGlobalFloatArray on a CommandBuffer.

    Declaration
    public void SetGlobalFloatArray(string propertyName, float[] values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    float[] values

    See CommandBuffer documentation

    SetGlobalInt(int, int)

    Wraps SetGlobalInt on a CommandBuffer.

    Declaration
    public void SetGlobalInt(int nameID, int value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    int value

    See CommandBuffer documentation

    SetGlobalInt(string, int)

    Wraps SetGlobalInt on a CommandBuffer.

    Declaration
    public void SetGlobalInt(string name, int value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    int value

    See CommandBuffer documentation

    SetGlobalInteger(int, int)

    Wraps SetGlobalInteger on a CommandBuffer.

    Declaration
    public void SetGlobalInteger(int nameID, int value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    int value

    See CommandBuffer documentation

    SetGlobalInteger(string, int)

    Wraps SetGlobalInteger on a CommandBuffer.

    Declaration
    public void SetGlobalInteger(string name, int value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    int value

    See CommandBuffer documentation

    SetGlobalMatrix(int, Matrix4x4)

    Wraps SetGlobalMatrix on a CommandBuffer.

    Declaration
    public void SetGlobalMatrix(int nameID, Matrix4x4 value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    Matrix4x4 value

    See CommandBuffer documentation

    SetGlobalMatrix(string, Matrix4x4)

    Wraps SetGlobalMatrix on a CommandBuffer.

    Declaration
    public void SetGlobalMatrix(string name, Matrix4x4 value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    Matrix4x4 value

    See CommandBuffer documentation

    SetGlobalMatrixArray(int, List<Matrix4x4>)

    Wraps SetGlobalMatrixArray on a CommandBuffer.

    Declaration
    public void SetGlobalMatrixArray(int nameID, List<Matrix4x4> values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    List<Matrix4x4> values

    See CommandBuffer documentation

    SetGlobalMatrixArray(int, Matrix4x4[])

    Wraps SetGlobalMatrixArray on a CommandBuffer.

    Declaration
    public void SetGlobalMatrixArray(int nameID, Matrix4x4[] values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    Matrix4x4[] values

    See CommandBuffer documentation

    SetGlobalMatrixArray(string, List<Matrix4x4>)

    Wraps SetGlobalMatrixArray on a CommandBuffer.

    Declaration
    public void SetGlobalMatrixArray(string propertyName, List<Matrix4x4> values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    List<Matrix4x4> values

    See CommandBuffer documentation

    SetGlobalMatrixArray(string, Matrix4x4[])

    Wraps SetGlobalMatrixArray on a CommandBuffer.

    Declaration
    public void SetGlobalMatrixArray(string propertyName, Matrix4x4[] values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    Matrix4x4[] values

    See CommandBuffer documentation

    SetGlobalTexture(int, TextureHandle)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(int nameID, TextureHandle value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    SetGlobalTexture(int, TextureHandle, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(int nameID, TextureHandle value, RenderTextureSubElement element)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetGlobalTexture(string, TextureHandle)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(string name, TextureHandle value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    SetGlobalTexture(string, TextureHandle, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(string name, TextureHandle value, RenderTextureSubElement element)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetGlobalVector(int, Vector4)

    Wraps SetGlobalVector on a CommandBuffer.

    Declaration
    public void SetGlobalVector(int nameID, Vector4 value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    Vector4 value

    See CommandBuffer documentation

    SetGlobalVector(string, Vector4)

    Wraps SetGlobalVector on a CommandBuffer.

    Declaration
    public void SetGlobalVector(string name, Vector4 value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    Vector4 value

    See CommandBuffer documentation

    SetGlobalVectorArray(int, List<Vector4>)

    Wraps SetGlobalVectorArray on a CommandBuffer.

    Declaration
    public void SetGlobalVectorArray(int nameID, List<Vector4> values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    List<Vector4> values

    See CommandBuffer documentation

    SetGlobalVectorArray(int, Vector4[])

    Wraps SetGlobalVectorArray on a CommandBuffer.

    Declaration
    public void SetGlobalVectorArray(int nameID, Vector4[] values)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    Vector4[] values

    See CommandBuffer documentation

    SetGlobalVectorArray(string, List<Vector4>)

    Wraps SetGlobalVectorArray on a CommandBuffer.

    Declaration
    public void SetGlobalVectorArray(string propertyName, List<Vector4> values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    List<Vector4> values

    See CommandBuffer documentation

    SetGlobalVectorArray(string, Vector4[])

    Wraps SetGlobalVectorArray on a CommandBuffer.

    Declaration
    public void SetGlobalVectorArray(string propertyName, Vector4[] values)
    Parameters
    Type Name Description
    string propertyName

    See CommandBuffer documentation

    Vector4[] values

    See CommandBuffer documentation

    SetInstanceMultiplier(uint)

    Wraps SetInstanceMultiplier on a CommandBuffer.

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

    See CommandBuffer documentation

    SetInvertCulling(bool)

    Wraps SetInvertCulling on a CommandBuffer.

    Declaration
    public void SetInvertCulling(bool invertCulling)
    Parameters
    Type Name Description
    bool invertCulling

    See CommandBuffer documentation

    SetKeyword(ComputeShader, in LocalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(ComputeShader computeShader, in LocalKeyword keyword, bool value)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    SetKeyword(Material, in LocalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(Material material, in LocalKeyword keyword, bool value)
    Parameters
    Type Name Description
    Material material

    See CommandBuffer documentation

    LocalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    SetKeyword(in GlobalKeyword, bool)

    Wraps SetKeyword on a CommandBuffer.

    Declaration
    public void SetKeyword(in GlobalKeyword keyword, bool value)
    Parameters
    Type Name Description
    GlobalKeyword keyword

    See CommandBuffer documentation

    bool value

    See CommandBuffer documentation

    SetLateLatchProjectionMatrices(Matrix4x4[])

    Wraps SetLateLatchProjectionMatrices on a CommandBuffer.

    Declaration
    public void SetLateLatchProjectionMatrices(Matrix4x4[] projectionMat)
    Parameters
    Type Name Description
    Matrix4x4[] projectionMat

    See CommandBuffer documentation

    SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)

    Wraps SetShadowSamplingMode on a CommandBuffer.

    Declaration
    public void SetShadowSamplingMode(RenderTargetIdentifier shadowmap, ShadowSamplingMode mode)
    Parameters
    Type Name Description
    RenderTargetIdentifier shadowmap

    See CommandBuffer documentation

    ShadowSamplingMode mode

    See CommandBuffer documentation

    SetSinglePassStereo(SinglePassStereoMode)

    Wraps SetSinglePassStereo on a CommandBuffer.

    Declaration
    public void SetSinglePassStereo(SinglePassStereoMode mode)
    Parameters
    Type Name Description
    SinglePassStereoMode mode

    See CommandBuffer documentation

    SetViewProjectionMatrices(Matrix4x4, Matrix4x4)

    Wraps SetViewProjectionMatrices on a CommandBuffer.

    Declaration
    public void SetViewProjectionMatrices(Matrix4x4 view, Matrix4x4 proj)
    Parameters
    Type Name Description
    Matrix4x4 view

    See CommandBuffer documentation

    Matrix4x4 proj

    See CommandBuffer documentation

    SetViewport(Rect)

    Wraps SetViewport on a CommandBuffer.

    Declaration
    public void SetViewport(Rect pixelRect)
    Parameters
    Type Name Description
    Rect pixelRect

    See CommandBuffer documentation

    SetWireframe(bool)

    Wraps SetWireframe on a CommandBuffer.

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

    See CommandBuffer documentation

    SetupCameraProperties(Camera)

    Wraps SetupCameraProperties on a CommandBuffer.

    Declaration
    public void SetupCameraProperties(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    See CommandBuffer documentation

    UnmarkLateLatchMatrix(CameraLateLatchMatrixType)

    Wraps UnmarkLateLatchMatrix on a CommandBuffer.

    Declaration
    public void UnmarkLateLatchMatrix(CameraLateLatchMatrixType matrixPropertyType)
    Parameters
    Type Name Description
    CameraLateLatchMatrixType matrixPropertyType

    See CommandBuffer documentation

    Implements

    IRasterCommandBuffer
    IBaseCommandBuffer

    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)