docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IComputeCommandBuffer

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

    Inherited Members
    IBaseCommandBuffer.SetInvertCulling(bool)
    IBaseCommandBuffer.SetViewport(Rect)
    IBaseCommandBuffer.EnableScissorRect(Rect)
    IBaseCommandBuffer.DisableScissorRect()
    IBaseCommandBuffer.SetGlobalFloat(int, float)
    IBaseCommandBuffer.SetGlobalInt(int, int)
    IBaseCommandBuffer.SetGlobalInteger(int, int)
    IBaseCommandBuffer.SetGlobalVector(int, Vector4)
    IBaseCommandBuffer.SetGlobalColor(int, Color)
    IBaseCommandBuffer.SetGlobalMatrix(int, Matrix4x4)
    IBaseCommandBuffer.EnableShaderKeyword(string)
    IBaseCommandBuffer.EnableKeyword(ref GlobalKeyword)
    IBaseCommandBuffer.EnableKeyword(Material, ref LocalKeyword)
    IBaseCommandBuffer.EnableKeyword(ComputeShader, ref LocalKeyword)
    IBaseCommandBuffer.DisableShaderKeyword(string)
    IBaseCommandBuffer.DisableKeyword(ref GlobalKeyword)
    IBaseCommandBuffer.DisableKeyword(Material, ref LocalKeyword)
    IBaseCommandBuffer.DisableKeyword(ComputeShader, ref LocalKeyword)
    IBaseCommandBuffer.SetKeyword(ref GlobalKeyword, bool)
    IBaseCommandBuffer.SetKeyword(Material, ref LocalKeyword, bool)
    IBaseCommandBuffer.SetKeyword(ComputeShader, ref 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.Experimental.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public interface IComputeCommandBuffer : IBaseCommandBuffer

    Methods

    Name Description
    BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure)

    Wraps BuildRayTracingAccelerationStructure on a CommandBuffer.

    BuildRayTracingAccelerationStructure(RayTracingAccelerationStructure, Vector3)

    Wraps BuildRayTracingAccelerationStructure on a CommandBuffer.

    CopyCounterValue(ComputeBuffer, ComputeBuffer, uint)

    Wraps CopyCounterValue on a CommandBuffer.

    CopyCounterValue(ComputeBuffer, GraphicsBuffer, uint)

    Wraps CopyCounterValue on a CommandBuffer.

    CopyCounterValue(GraphicsBuffer, ComputeBuffer, uint)

    Wraps CopyCounterValue on a CommandBuffer.

    CopyCounterValue(GraphicsBuffer, GraphicsBuffer, uint)

    Wraps CopyCounterValue on a CommandBuffer.

    DispatchCompute(ComputeShader, int, int, int, int)

    Wraps DispatchCompute on a CommandBuffer.

    DispatchCompute(ComputeShader, int, ComputeBuffer, uint)

    Wraps DispatchCompute on a CommandBuffer.

    DispatchCompute(ComputeShader, int, GraphicsBuffer, uint)

    Wraps DispatchCompute on a CommandBuffer.

    DispatchRays(RayTracingShader, string, uint, uint, uint, Camera)

    Wraps DispatchRays on a CommandBuffer.

    SetBufferCounterValue(ComputeBuffer, uint)

    Wraps SetBufferCounterValue on a CommandBuffer.

    SetBufferCounterValue(GraphicsBuffer, uint)

    Wraps SetBufferCounterValue on a CommandBuffer.

    SetBufferData(ComputeBuffer, Array)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData(ComputeBuffer, Array, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData(GraphicsBuffer, Array)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData(GraphicsBuffer, Array, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(ComputeBuffer, List<T>)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(ComputeBuffer, NativeArray<T>)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(GraphicsBuffer, List<T>)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(GraphicsBuffer, NativeArray<T>)

    Wraps SetBufferData on a CommandBuffer.

    SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, int, int)

    Wraps SetBufferData on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, int, ComputeBuffer)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, int, GraphicsBuffer)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, int, GraphicsBufferHandle)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, string, ComputeBuffer)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, string, GraphicsBuffer)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeBufferParam(ComputeShader, int, string, GraphicsBufferHandle)

    Wraps SetComputeBufferParam on a CommandBuffer.

    SetComputeConstantBufferParam(ComputeShader, int, ComputeBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    SetComputeConstantBufferParam(ComputeShader, int, GraphicsBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    SetComputeConstantBufferParam(ComputeShader, string, ComputeBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    SetComputeConstantBufferParam(ComputeShader, string, GraphicsBuffer, int, int)

    Wraps SetComputeConstantBufferParam on a CommandBuffer.

    SetComputeFloatParam(ComputeShader, int, float)

    Wraps SetComputeFloatParam on a CommandBuffer.

    SetComputeFloatParam(ComputeShader, string, float)

    Wraps SetComputeFloatParam on a CommandBuffer.

    SetComputeFloatParams(ComputeShader, int, params float[])

    Wraps SetComputeFloatParams on a CommandBuffer.

    SetComputeFloatParams(ComputeShader, string, params float[])

    Wraps SetComputeFloatParams on a CommandBuffer.

    SetComputeIntParam(ComputeShader, int, int)

    Wraps SetComputeIntParam on a CommandBuffer.

    SetComputeIntParam(ComputeShader, string, int)

    Wraps SetComputeIntParam on a CommandBuffer.

    SetComputeIntParams(ComputeShader, int, params int[])

    Wraps SetComputeIntParams on a CommandBuffer.

    SetComputeIntParams(ComputeShader, string, params int[])

    Wraps SetComputeIntParams on a CommandBuffer.

    SetComputeMatrixArrayParam(ComputeShader, int, Matrix4x4[])

    Wraps SetComputeMatrixArrayParam on a CommandBuffer.

    SetComputeMatrixArrayParam(ComputeShader, string, Matrix4x4[])

    Wraps SetComputeMatrixArrayParam on a CommandBuffer.

    SetComputeMatrixParam(ComputeShader, int, Matrix4x4)

    Wraps SetComputeMatrixParam on a CommandBuffer.

    SetComputeMatrixParam(ComputeShader, string, Matrix4x4)

    Wraps SetComputeMatrixParam on a CommandBuffer.

    SetComputeTextureParam(ComputeShader, int, int, TextureHandle)

    Wraps SetComputeTextureParam on a CommandBuffer.

    SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int)

    Wraps SetComputeTextureParam on a CommandBuffer.

    SetComputeTextureParam(ComputeShader, int, int, TextureHandle, int, RenderTextureSubElement)

    Wraps SetComputeTextureParam on a CommandBuffer.

    SetComputeTextureParam(ComputeShader, int, string, TextureHandle)

    Wraps SetComputeTextureParam on a CommandBuffer.

    SetComputeTextureParam(ComputeShader, int, string, TextureHandle, int)

    Wraps SetComputeTextureParam on a CommandBuffer.

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

    Wraps SetComputeTextureParam on a CommandBuffer.

    SetComputeVectorArrayParam(ComputeShader, int, Vector4[])

    Wraps SetComputeVectorArrayParam on a CommandBuffer.

    SetComputeVectorArrayParam(ComputeShader, string, Vector4[])

    Wraps SetComputeVectorArrayParam on a CommandBuffer.

    SetComputeVectorParam(ComputeShader, int, Vector4)

    Wraps SetComputeVectorParam on a CommandBuffer.

    SetComputeVectorParam(ComputeShader, string, Vector4)

    Wraps SetComputeVectorParam on a CommandBuffer.

    SetRayTracingAccelerationStructure(ComputeShader, int, int, RayTracingAccelerationStructure)

    Wraps SetRayTracingAccelerationStructure on a CommandBuffer.

    SetRayTracingAccelerationStructure(ComputeShader, int, string, RayTracingAccelerationStructure)

    Wraps SetRayTracingAccelerationStructure on a CommandBuffer.

    SetRayTracingAccelerationStructure(RayTracingShader, int, RayTracingAccelerationStructure)

    Wraps SetRayTracingAccelerationStructure on a CommandBuffer.

    SetRayTracingAccelerationStructure(RayTracingShader, string, RayTracingAccelerationStructure)

    Wraps SetRayTracingAccelerationStructure on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, int, ComputeBuffer)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, int, GraphicsBuffer)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, int, GraphicsBufferHandle)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, string, ComputeBuffer)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, string, GraphicsBuffer)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingBufferParam(RayTracingShader, string, GraphicsBufferHandle)

    Wraps SetRayTracingBufferParam on a CommandBuffer.

    SetRayTracingConstantBufferParam(RayTracingShader, int, ComputeBuffer, int, int)

    Wraps SetRayTracingConstantBufferParam on a CommandBuffer.

    SetRayTracingConstantBufferParam(RayTracingShader, int, GraphicsBuffer, int, int)

    Wraps SetRayTracingConstantBufferParam on a CommandBuffer.

    SetRayTracingConstantBufferParam(RayTracingShader, string, ComputeBuffer, int, int)

    Wraps SetRayTracingConstantBufferParam on a CommandBuffer.

    SetRayTracingConstantBufferParam(RayTracingShader, string, GraphicsBuffer, int, int)

    Wraps SetRayTracingConstantBufferParam on a CommandBuffer.

    SetRayTracingFloatParam(RayTracingShader, int, float)

    Wraps SetRayTracingFloatParam on a CommandBuffer.

    SetRayTracingFloatParam(RayTracingShader, string, float)

    Wraps SetRayTracingFloatParam on a CommandBuffer.

    SetRayTracingFloatParams(RayTracingShader, int, params float[])

    Wraps SetRayTracingFloatParams on a CommandBuffer.

    SetRayTracingFloatParams(RayTracingShader, string, params float[])

    Wraps SetRayTracingFloatParams on a CommandBuffer.

    SetRayTracingIntParam(RayTracingShader, int, int)

    Wraps SetRayTracingIntParam on a CommandBuffer.

    SetRayTracingIntParam(RayTracingShader, string, int)

    Wraps SetRayTracingIntParam on a CommandBuffer.

    SetRayTracingIntParams(RayTracingShader, int, params int[])

    Wraps SetRayTracingIntParams on a CommandBuffer.

    SetRayTracingIntParams(RayTracingShader, string, params int[])

    Wraps SetRayTracingIntParams on a CommandBuffer.

    SetRayTracingMatrixArrayParam(RayTracingShader, int, params Matrix4x4[])

    Wraps SetRayTracingMatrixArrayParam on a CommandBuffer.

    SetRayTracingMatrixArrayParam(RayTracingShader, string, params Matrix4x4[])

    Wraps SetRayTracingMatrixArrayParam on a CommandBuffer.

    SetRayTracingMatrixParam(RayTracingShader, int, Matrix4x4)

    Wraps SetRayTracingMatrixParam on a CommandBuffer.

    SetRayTracingMatrixParam(RayTracingShader, string, Matrix4x4)

    Wraps SetRayTracingMatrixParam on a CommandBuffer.

    SetRayTracingTextureParam(RayTracingShader, int, TextureHandle)

    Wraps SetRayTracingTextureParam on a CommandBuffer.

    SetRayTracingTextureParam(RayTracingShader, string, TextureHandle)

    Wraps SetRayTracingTextureParam on a CommandBuffer.

    SetRayTracingVectorArrayParam(RayTracingShader, int, params Vector4[])

    Wraps SetRayTracingVectorArrayParam on a CommandBuffer.

    SetRayTracingVectorArrayParam(RayTracingShader, string, params Vector4[])

    Wraps SetRayTracingVectorArrayParam on a CommandBuffer.

    SetRayTracingVectorParam(RayTracingShader, int, Vector4)

    Wraps SetRayTracingVectorParam on a CommandBuffer.

    SetRayTracingVectorParam(RayTracingShader, string, Vector4)

    Wraps SetRayTracingVectorParam on a CommandBuffer.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)