docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IUnsafeCommandBuffer

    This interface declares functions that are specific to an unsafe command buffer.

    Inherited Members
    IRasterCommandBuffer.ClearRenderTarget(bool, bool, Color)
    IRasterCommandBuffer.ClearRenderTarget(bool, bool, Color, float)
    IRasterCommandBuffer.ClearRenderTarget(bool, bool, Color, float, uint)
    IRasterCommandBuffer.ClearRenderTarget(RTClearFlags, Color, float, uint)
    IRasterCommandBuffer.ClearRenderTarget(RTClearFlags, Color[], float, uint)
    IRasterCommandBuffer.SetInstanceMultiplier(uint)
    IRasterCommandBuffer.SetFoveatedRenderingMode(FoveatedRenderingMode)
    IRasterCommandBuffer.SetWireframe(bool)
    IRasterCommandBuffer.ConfigureFoveatedRendering(IntPtr)
    IRasterCommandBuffer.SetShadingRateFragmentSize(ShadingRateFragmentSize)
    IRasterCommandBuffer.SetShadingRateCombiner(ShadingRateCombinerStage, ShadingRateCombiner)
    IRasterCommandBuffer.DrawMesh(Mesh, Matrix4x4, Material, int, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawMesh(Mesh, Matrix4x4, Material, int, int)
    IRasterCommandBuffer.DrawMesh(Mesh, Matrix4x4, Material, int)
    IRasterCommandBuffer.DrawMesh(Mesh, Matrix4x4, Material)
    IRasterCommandBuffer.DrawMultipleMeshes(Matrix4x4[], Mesh[], int[], int, Material, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawRenderer(Renderer, Material, int, int)
    IRasterCommandBuffer.DrawRenderer(Renderer, Material, int)
    IRasterCommandBuffer.DrawRenderer(Renderer, Material)
    IRasterCommandBuffer.DrawRendererList(RendererList)
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int, int)
    IRasterCommandBuffer.DrawProcedural(Matrix4x4, Material, int, MeshTopology, int)
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int, int)
    IRasterCommandBuffer.DrawProcedural(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, int)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, ComputeBuffer)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer, int)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, ComputeBuffer)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, GraphicsBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, GraphicsBuffer, int)
    IRasterCommandBuffer.DrawProceduralIndirect(Matrix4x4, Material, int, MeshTopology, GraphicsBuffer)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, GraphicsBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, GraphicsBuffer, int)
    IRasterCommandBuffer.DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, int, MeshTopology, GraphicsBuffer)
    IRasterCommandBuffer.DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[], int)
    IRasterCommandBuffer.DrawMeshInstanced(Mesh, int, Material, int, Matrix4x4[])
    IRasterCommandBuffer.DrawMeshInstancedProcedural(Mesh, int, Material, int, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int, MaterialPropertyBlock)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int)
    IRasterCommandBuffer.DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer)
    IRasterCommandBuffer.DrawOcclusionMesh(RectInt)
    IComputeCommandBuffer.SetComputeFloatParam(ComputeShader, int, float)
    IComputeCommandBuffer.SetComputeIntParam(ComputeShader, int, int)
    IComputeCommandBuffer.SetComputeVectorParam(ComputeShader, int, Vector4)
    IComputeCommandBuffer.SetComputeVectorArrayParam(ComputeShader, int, Vector4[])
    IComputeCommandBuffer.SetComputeMatrixParam(ComputeShader, int, Matrix4x4)
    IComputeCommandBuffer.SetComputeMatrixArrayParam(ComputeShader, int, Matrix4x4[])
    IComputeCommandBuffer.SetRayTracingShaderPass(RayTracingShader, string)
    IComputeCommandBuffer.SetBufferData(ComputeBuffer, Array)
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, List<T>)
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, NativeArray<T>)
    IComputeCommandBuffer.SetBufferData(ComputeBuffer, Array, int, int, int)
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)
    IComputeCommandBuffer.SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)
    IComputeCommandBuffer.SetBufferCounterValue(ComputeBuffer, uint)
    IComputeCommandBuffer.SetBufferData(GraphicsBuffer, Array)
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, List<T>)
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, NativeArray<T>)
    IComputeCommandBuffer.SetBufferData(GraphicsBuffer, Array, int, int, int)
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)
    IComputeCommandBuffer.SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, int, int)
    IComputeCommandBuffer.SetBufferCounterValue(GraphicsBuffer, uint)
    IComputeCommandBuffer.SetComputeFloatParam(ComputeShader, string, float)
    IComputeCommandBuffer.SetComputeIntParam(ComputeShader, string, int)
    IComputeCommandBuffer.SetComputeVectorParam(ComputeShader, string, Vector4)
    IComputeCommandBuffer.SetComputeVectorArrayParam(ComputeShader, string, Vector4[])
    IComputeCommandBuffer.SetComputeMatrixParam(ComputeShader, string, Matrix4x4)
    IComputeCommandBuffer.SetComputeMatrixArrayParam(ComputeShader, string, Matrix4x4[])
    IComputeCommandBuffer.SetComputeFloatParams(ComputeShader, string, params float[])
    IComputeCommandBuffer.SetComputeFloatParams(ComputeShader, int, params float[])
    IComputeCommandBuffer.SetComputeIntParams(ComputeShader, string, params int[])
    IComputeCommandBuffer.SetComputeIntParams(ComputeShader, int, params int[])
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, string, TextureHandle)
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, int, TextureHandle)
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int)
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int)
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int, RenderTextureSubElement)
    IComputeCommandBuffer.SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int, RenderTextureSubElement)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, int, ComputeBuffer)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, string, ComputeBuffer)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, int, GraphicsBufferHandle)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, string, GraphicsBufferHandle)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, int, GraphicsBuffer)
    IComputeCommandBuffer.SetComputeBufferParam(ComputeShader, int, string, GraphicsBuffer)
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)
    IComputeCommandBuffer.SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, int)
    IComputeCommandBuffer.SetComputeParamsFromMaterial(ComputeShader, int, Material)
    IComputeCommandBuffer.DispatchCompute(ComputeShader, int, int, int, int)
    IComputeCommandBuffer.DispatchCompute(ComputeShader, int, ComputeBuffer, uint)
    IComputeCommandBuffer.DispatchCompute(ComputeShader, int, GraphicsBuffer, uint)
    IComputeCommandBuffer.BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure)
    IComputeCommandBuffer.BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure, Vector3)
    IComputeCommandBuffer.BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure, RayTracingAccelerationStructure.BuildSettings)
    IComputeCommandBuffer.SetRayTracingAccelerationStructure(RayTracingShader, string, RayTracingAccelerationStructure)
    IComputeCommandBuffer.SetRayTracingAccelerationStructure(RayTracingShader, int, RayTracingAccelerationStructure)
    IComputeCommandBuffer.SetRayTracingAccelerationStructure(ComputeShader, int, string, RayTracingAccelerationStructure)
    IComputeCommandBuffer.SetRayTracingAccelerationStructure(ComputeShader, int, int, RayTracingAccelerationStructure)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, string, ComputeBuffer)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, int, ComputeBuffer)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, string, GraphicsBuffer)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, int, GraphicsBuffer)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, string, GraphicsBufferHandle)
    IComputeCommandBuffer.SetRayTracingBufferParam(RayTracingShader, int, GraphicsBufferHandle)
    IComputeCommandBuffer.SetRayTracingConstantBufferParam(RayTracingShader, int, ComputeBuffer, int, int)
    IComputeCommandBuffer.SetRayTracingConstantBufferParam(RayTracingShader, string, ComputeBuffer, int, int)
    IComputeCommandBuffer.SetRayTracingConstantBufferParam(RayTracingShader, int, GraphicsBuffer, int, int)
    IComputeCommandBuffer.SetRayTracingConstantBufferParam(RayTracingShader, string, GraphicsBuffer, int, int)
    IComputeCommandBuffer.SetRayTracingTextureParam(RayTracingShader, string, TextureHandle)
    IComputeCommandBuffer.SetRayTracingTextureParam(RayTracingShader, int, TextureHandle)
    IComputeCommandBuffer.SetRayTracingFloatParam(RayTracingShader, string, float)
    IComputeCommandBuffer.SetRayTracingFloatParam(RayTracingShader, int, float)
    IComputeCommandBuffer.SetRayTracingFloatParams(RayTracingShader, string, params float[])
    IComputeCommandBuffer.SetRayTracingFloatParams(RayTracingShader, int, params float[])
    IComputeCommandBuffer.SetRayTracingIntParam(RayTracingShader, string, int)
    IComputeCommandBuffer.SetRayTracingIntParam(RayTracingShader, int, int)
    IComputeCommandBuffer.SetRayTracingIntParams(RayTracingShader, string, params int[])
    IComputeCommandBuffer.SetRayTracingIntParams(RayTracingShader, int, params int[])
    IComputeCommandBuffer.SetRayTracingVectorParam(RayTracingShader, string, Vector4)
    IComputeCommandBuffer.SetRayTracingVectorParam(RayTracingShader, int, Vector4)
    IComputeCommandBuffer.SetRayTracingVectorArrayParam(RayTracingShader, string, params Vector4[])
    IComputeCommandBuffer.SetRayTracingVectorArrayParam(RayTracingShader, int, params Vector4[])
    IComputeCommandBuffer.SetRayTracingMatrixParam(RayTracingShader, string, Matrix4x4)
    IComputeCommandBuffer.SetRayTracingMatrixParam(RayTracingShader, int, Matrix4x4)
    IComputeCommandBuffer.SetRayTracingMatrixArrayParam(RayTracingShader, string, params Matrix4x4[])
    IComputeCommandBuffer.SetRayTracingMatrixArrayParam(RayTracingShader, int, params Matrix4x4[])
    IComputeCommandBuffer.DispatchRays(RayTracingShader, string, uint, uint, uint, Camera)
    IComputeCommandBuffer.DispatchRays(RayTracingShader, string, GraphicsBuffer, uint, Camera)
    IComputeCommandBuffer.CopyCounterValue(ComputeBuffer, ComputeBuffer, uint)
    IComputeCommandBuffer.CopyCounterValue(GraphicsBuffer, ComputeBuffer, uint)
    IComputeCommandBuffer.CopyCounterValue(ComputeBuffer, GraphicsBuffer, uint)
    IComputeCommandBuffer.CopyCounterValue(GraphicsBuffer, GraphicsBuffer, uint)
    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 IUnsafeCommandBuffer : IRasterCommandBuffer, IComputeCommandBuffer, IBaseCommandBuffer

    Methods

    Clear()

    Wraps Clear on a CommandBuffer.

    Declaration
    void Clear()

    ClearRandomWriteTargets()

    Wraps ClearRandomWriteTargets on a CommandBuffer.

    Declaration
    void ClearRandomWriteTargets()

    CopyTexture(RenderTargetIdentifier, int, int, int, int, int, int, RenderTargetIdentifier, int, int, int, int)

    Wraps CopyTexture on a CommandBuffer.

    Declaration
    void CopyTexture(RenderTargetIdentifier src, int srcElement, int srcMip, int srcX, int srcY, int srcWidth, int srcHeight, RenderTargetIdentifier dst, int dstElement, int dstMip, int dstX, int dstY)
    Parameters
    Type Name Description
    RenderTargetIdentifier src

    See CommandBuffer documentation

    int srcElement

    See CommandBuffer documentation

    int srcMip

    See CommandBuffer documentation

    int srcX

    See CommandBuffer documentation

    int srcY

    See CommandBuffer documentation

    int srcWidth

    See CommandBuffer documentation

    int srcHeight

    See CommandBuffer documentation

    RenderTargetIdentifier dst

    See CommandBuffer documentation

    int dstElement

    See CommandBuffer documentation

    int dstMip

    See CommandBuffer documentation

    int dstX

    See CommandBuffer documentation

    int dstY

    See CommandBuffer documentation

    CopyTexture(RenderTargetIdentifier, int, int, RenderTargetIdentifier, int, int)

    Wraps CopyTexture on a CommandBuffer.

    Declaration
    void CopyTexture(RenderTargetIdentifier src, int srcElement, int srcMip, RenderTargetIdentifier dst, int dstElement, int dstMip)
    Parameters
    Type Name Description
    RenderTargetIdentifier src

    See CommandBuffer documentation

    int srcElement

    See CommandBuffer documentation

    int srcMip

    See CommandBuffer documentation

    RenderTargetIdentifier dst

    See CommandBuffer documentation

    int dstElement

    See CommandBuffer documentation

    int dstMip

    See CommandBuffer documentation

    CopyTexture(RenderTargetIdentifier, int, RenderTargetIdentifier, int)

    Wraps CopyTexture on a CommandBuffer.

    Declaration
    void CopyTexture(RenderTargetIdentifier src, int srcElement, RenderTargetIdentifier dst, int dstElement)
    Parameters
    Type Name Description
    RenderTargetIdentifier src

    See CommandBuffer documentation

    int srcElement

    See CommandBuffer documentation

    RenderTargetIdentifier dst

    See CommandBuffer documentation

    int dstElement

    See CommandBuffer documentation

    CopyTexture(RenderTargetIdentifier, RenderTargetIdentifier)

    Wraps CopyTexture on a CommandBuffer.

    Declaration
    void CopyTexture(RenderTargetIdentifier src, RenderTargetIdentifier dst)
    Parameters
    Type Name Description
    RenderTargetIdentifier src

    See CommandBuffer documentation

    RenderTargetIdentifier dst

    See CommandBuffer documentation

    GenerateMips(RenderTexture)

    Wraps GenerateMips on a CommandBuffer.

    Declaration
    void GenerateMips(RenderTexture rt)
    Parameters
    Type Name Description
    RenderTexture rt

    See CommandBuffer documentation

    GenerateMips(RenderTargetIdentifier)

    Wraps GenerateMips on a CommandBuffer.

    Declaration
    void GenerateMips(RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    RequestAsyncReadback(ComputeBuffer, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(ComputeBuffer src, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    ComputeBuffer src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(ComputeBuffer, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(ComputeBuffer src, int size, int offset, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    ComputeBuffer src

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(GraphicsBuffer, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(GraphicsBuffer src, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    GraphicsBuffer src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(GraphicsBuffer, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(GraphicsBuffer src, int size, int offset, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    GraphicsBuffer src

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, int, int, int, int, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, int, int, int, int, int, int, GraphicsFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, GraphicsFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    GraphicsFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, int, int, int, int, int, int, TextureFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    TextureFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, GraphicsFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, GraphicsFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    GraphicsFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadback(Texture, int, TextureFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadback on a CommandBuffer.

    Declaration
    void RequestAsyncReadback(Texture src, int mipIndex, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
    Parameters
    Type Name Description
    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    TextureFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, ComputeBuffer, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, ComputeBuffer src, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    ComputeBuffer src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, ComputeBuffer, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, ComputeBuffer src, int size, int offset, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    ComputeBuffer src

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, GraphicsBuffer, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, GraphicsBuffer src, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    GraphicsBuffer src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, GraphicsBuffer, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, GraphicsBuffer src, int size, int offset, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    GraphicsBuffer src

    See CommandBuffer documentation

    int size

    See CommandBuffer documentation

    int offset

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, int, int, int, int, int, int, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, int, int, int, int, int, int, GraphicsFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, GraphicsFormat dstFormat, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    GraphicsFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, int, int, int, int, int, int, TextureFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    int x

    See CommandBuffer documentation

    int width

    See CommandBuffer documentation

    int y

    See CommandBuffer documentation

    int height

    See CommandBuffer documentation

    int z

    See CommandBuffer documentation

    int depth

    See CommandBuffer documentation

    TextureFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, GraphicsFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, GraphicsFormat dstFormat, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    GraphicsFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T>, Texture, int, TextureFormat, Action<AsyncGPUReadbackRequest>)

    Wraps RequestAsyncReadbackIntoNativeArray on a CommandBuffer.

    Declaration
    void RequestAsyncReadbackIntoNativeArray<T>(ref NativeArray<T> output, Texture src, int mipIndex, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback) where T : struct
    Parameters
    Type Name Description
    NativeArray<T> output

    See CommandBuffer documentation

    Texture src

    See CommandBuffer documentation

    int mipIndex

    See CommandBuffer documentation

    TextureFormat dstFormat

    See CommandBuffer documentation

    Action<AsyncGPUReadbackRequest> callback

    See CommandBuffer documentation

    Type Parameters
    Name Description
    T

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, int, RenderTargetIdentifier)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, int, RenderTargetIdentifier, int)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, RenderTargetIdentifier rt, int mipLevel)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, int, RenderTargetIdentifier, int, RenderTextureSubElement)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, RenderTargetIdentifier rt, int mipLevel, RenderTextureSubElement element)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, string, RenderTargetIdentifier)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, string, RenderTargetIdentifier, int)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, RenderTargetIdentifier rt, int mipLevel)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    SetComputeTextureParam(ComputeShader, int, string, RenderTargetIdentifier, int, RenderTextureSubElement)

    Wraps SetComputeTextureParam on a CommandBuffer.

    Declaration
    void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, RenderTargetIdentifier rt, int mipLevel, RenderTextureSubElement element)
    Parameters
    Type Name Description
    ComputeShader computeShader

    See CommandBuffer documentation

    int kernelIndex

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetGlobalTexture(int, RenderTargetIdentifier)

    Wraps SetGlobalTexture on a CommandBuffer.

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

    See CommandBuffer documentation

    RenderTargetIdentifier value

    See CommandBuffer documentation

    SetGlobalTexture(int, RenderTargetIdentifier, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

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

    See CommandBuffer documentation

    RenderTargetIdentifier value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetGlobalTexture(string, RenderTargetIdentifier)

    Wraps SetGlobalTexture on a CommandBuffer.

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

    See CommandBuffer documentation

    RenderTargetIdentifier value

    See CommandBuffer documentation

    SetGlobalTexture(string, RenderTargetIdentifier, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

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

    See CommandBuffer documentation

    RenderTargetIdentifier value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    SetRandomWriteTarget(int, ComputeBuffer)

    Wraps SetRandomWriteTarget on a CommandBuffer.

    Declaration
    void SetRandomWriteTarget(int index, ComputeBuffer buffer)
    Parameters
    Type Name Description
    int index

    See CommandBuffer documentation

    ComputeBuffer buffer

    See CommandBuffer documentation

    SetRandomWriteTarget(int, ComputeBuffer, bool)

    Wraps SetRandomWriteTarget on a CommandBuffer.

    Declaration
    void SetRandomWriteTarget(int index, ComputeBuffer buffer, bool preserveCounterValue)
    Parameters
    Type Name Description
    int index

    See CommandBuffer documentation

    ComputeBuffer buffer

    See CommandBuffer documentation

    bool preserveCounterValue

    See CommandBuffer documentation

    SetRandomWriteTarget(int, GraphicsBuffer)

    Wraps SetRandomWriteTarget on a CommandBuffer.

    Declaration
    void SetRandomWriteTarget(int index, GraphicsBuffer buffer)
    Parameters
    Type Name Description
    int index

    See CommandBuffer documentation

    GraphicsBuffer buffer

    See CommandBuffer documentation

    SetRandomWriteTarget(int, GraphicsBuffer, bool)

    Wraps SetRandomWriteTarget on a CommandBuffer.

    Declaration
    void SetRandomWriteTarget(int index, GraphicsBuffer buffer, bool preserveCounterValue)
    Parameters
    Type Name Description
    int index

    See CommandBuffer documentation

    GraphicsBuffer buffer

    See CommandBuffer documentation

    bool preserveCounterValue

    See CommandBuffer documentation

    SetRandomWriteTarget(int, RenderTargetIdentifier)

    Wraps SetRandomWriteTarget on a CommandBuffer.

    Declaration
    void SetRandomWriteTarget(int index, RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    int index

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetRayTracingTextureParam(RayTracingShader, int, RenderTargetIdentifier)

    Wraps SetRayTracingTextureParam on a CommandBuffer.

    Declaration
    void SetRayTracingTextureParam(RayTracingShader rayTracingShader, int nameID, RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    RayTracingShader rayTracingShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetRayTracingTextureParam(RayTracingShader, string, RenderTargetIdentifier)

    Wraps SetRayTracingTextureParam on a CommandBuffer.

    Declaration
    void SetRayTracingTextureParam(RayTracingShader rayTracingShader, string name, RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    RayTracingShader rayTracingShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetBinding)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetBinding binding)
    Parameters
    Type Name Description
    RenderTargetBinding binding

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetBinding, int, CubemapFace, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetBinding binding, int mipLevel, CubemapFace cubemapFace, int depthSlice)
    Parameters
    Type Name Description
    RenderTargetBinding binding

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    int depthSlice

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, int, CubemapFace)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, int, CubemapFace, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace, int depthSlice)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    int depthSlice

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction loadAction, RenderBufferStoreAction storeAction)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    RenderBufferLoadAction loadAction

    See CommandBuffer documentation

    RenderBufferStoreAction storeAction

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderBufferLoadAction, RenderBufferStoreAction)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
    Parameters
    Type Name Description
    RenderTargetIdentifier rt

    See CommandBuffer documentation

    RenderBufferLoadAction colorLoadAction

    See CommandBuffer documentation

    RenderBufferStoreAction colorStoreAction

    See CommandBuffer documentation

    RenderBufferLoadAction depthLoadAction

    See CommandBuffer documentation

    RenderBufferStoreAction depthStoreAction

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier color, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderTargetIdentifier depth, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
    Parameters
    Type Name Description
    RenderTargetIdentifier color

    See CommandBuffer documentation

    RenderBufferLoadAction colorLoadAction

    See CommandBuffer documentation

    RenderBufferStoreAction colorStoreAction

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    RenderBufferLoadAction depthLoadAction

    See CommandBuffer documentation

    RenderBufferStoreAction depthStoreAction

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth)
    Parameters
    Type Name Description
    RenderTargetIdentifier color

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel)
    Parameters
    Type Name Description
    RenderTargetIdentifier color

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int, CubemapFace)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace)
    Parameters
    Type Name Description
    RenderTargetIdentifier color

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int, CubemapFace, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace, int depthSlice)
    Parameters
    Type Name Description
    RenderTargetIdentifier color

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    int depthSlice

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier[], RenderTargetIdentifier)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier[] colors, RenderTargetIdentifier depth)
    Parameters
    Type Name Description
    RenderTargetIdentifier[] colors

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    SetRenderTarget(RenderTargetIdentifier[], RenderTargetIdentifier, int, CubemapFace, int)

    Wraps SetRenderTarget on a CommandBuffer.

    Declaration
    void SetRenderTarget(RenderTargetIdentifier[] colors, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace, int depthSlice)
    Parameters
    Type Name Description
    RenderTargetIdentifier[] colors

    See CommandBuffer documentation

    RenderTargetIdentifier depth

    See CommandBuffer documentation

    int mipLevel

    See CommandBuffer documentation

    CubemapFace cubemapFace

    See CommandBuffer documentation

    int depthSlice

    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 © 2025 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)