Interface IBaseCommandBuffer
This interface declares functions shared by several command buffer types.
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public interface IBaseCommandBuffer
Methods
BeginSample(string)
Declaration
void BeginSample(string name)
Parameters
BeginSample(ProfilerMarker)
Declaration
void BeginSample(ProfilerMarker marker)
Parameters
BeginSample(CustomSampler)
Declaration
void BeginSample(CustomSampler sampler)
Parameters
DisableKeyword(ComputeShader, in LocalKeyword)
Declaration
void DisableKeyword(ComputeShader computeShader, in LocalKeyword keyword)
Parameters
DisableKeyword(Material, in LocalKeyword)
Declaration
void DisableKeyword(Material material, in LocalKeyword keyword)
Parameters
DisableKeyword(in GlobalKeyword)
Declaration
void DisableKeyword(in GlobalKeyword keyword)
Parameters
DisableScissorRect()
Declaration
void DisableScissorRect()
DisableShaderKeyword(string)
Declaration
void DisableShaderKeyword(string keyword)
Parameters
EnableKeyword(ComputeShader, in LocalKeyword)
Declaration
void EnableKeyword(ComputeShader computeShader, in LocalKeyword keyword)
Parameters
EnableKeyword(Material, in LocalKeyword)
Declaration
void EnableKeyword(Material material, in LocalKeyword keyword)
Parameters
EnableKeyword(in GlobalKeyword)
Declaration
void EnableKeyword(in GlobalKeyword keyword)
Parameters
EnableScissorRect(Rect)
Declaration
void EnableScissorRect(Rect scissor)
Parameters
EnableShaderKeyword(string)
Declaration
void EnableShaderKeyword(string keyword)
Parameters
EndSample(string)
Declaration
void EndSample(string name)
Parameters
EndSample(ProfilerMarker)
Declaration
void EndSample(ProfilerMarker marker)
Parameters
EndSample(CustomSampler)
Declaration
void EndSample(CustomSampler sampler)
Parameters
IncrementUpdateCount(RenderTargetIdentifier)
Declaration
void IncrementUpdateCount(RenderTargetIdentifier dest)
Parameters
InvokeOnRenderObjectCallbacks()
Declaration
void InvokeOnRenderObjectCallbacks()
IssuePluginCustomBlit(IntPtr, uint, RenderTargetIdentifier, RenderTargetIdentifier, uint, uint)
Declaration
void IssuePluginCustomBlit(IntPtr callback, uint command, RenderTargetIdentifier source, RenderTargetIdentifier dest, uint commandParam, uint commandFlags)
Parameters
IssuePluginCustomTextureUpdateV2(IntPtr, Texture, uint)
Declaration
void IssuePluginCustomTextureUpdateV2(IntPtr callback, Texture targetTexture, uint userData)
Parameters
IssuePluginEvent(IntPtr, int)
Declaration
void IssuePluginEvent(IntPtr callback, int eventID)
Parameters
IssuePluginEventAndData(IntPtr, int, IntPtr)
Declaration
void IssuePluginEventAndData(IntPtr callback, int eventID, IntPtr data)
Parameters
MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType, int)
Declaration
void MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType matrixPropertyType, int shaderPropertyID)
Parameters
SetBufferData(ComputeBuffer, Array)
Declaration
void SetBufferData(ComputeBuffer buffer, Array data)
Parameters
SetBufferData(ComputeBuffer, Array, int, int, int)
Declaration
void SetBufferData(ComputeBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
Parameters
SetBufferData(GraphicsBuffer, Array)
Declaration
void SetBufferData(GraphicsBuffer buffer, Array data)
Parameters
SetBufferData(GraphicsBuffer, Array, int, int, int)
Declaration
void SetBufferData(GraphicsBuffer buffer, Array data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count)
Parameters
SetBufferData<T>(ComputeBuffer, List<T>)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, List<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, List<T>, int, int, int)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, NativeArray<T>)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(ComputeBuffer, NativeArray<T>, int, int, int)
Declaration
void SetBufferData<T>(ComputeBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, List<T>)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, List<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, List<T>, int, int, int)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, List<T> data, int managedBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, NativeArray<T>)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data) where T : struct
Parameters
Type Parameters
SetBufferData<T>(GraphicsBuffer, NativeArray<T>, int, int, int)
Declaration
void SetBufferData<T>(GraphicsBuffer buffer, NativeArray<T> data, int nativeBufferStartIndex, int graphicsBufferStartIndex, int count) where T : struct
Parameters
Type Parameters
SetGlobalBuffer(int, ComputeBuffer)
Declaration
void SetGlobalBuffer(int nameID, ComputeBuffer value)
Parameters
SetGlobalBuffer(int, GraphicsBuffer)
Declaration
void SetGlobalBuffer(int nameID, GraphicsBuffer value)
Parameters
SetGlobalBuffer(string, ComputeBuffer)
Declaration
void SetGlobalBuffer(string name, ComputeBuffer value)
Parameters
SetGlobalBuffer(string, GraphicsBuffer)
Declaration
void SetGlobalBuffer(string name, GraphicsBuffer value)
Parameters
SetGlobalColor(int, Color)
Declaration
void SetGlobalColor(int nameID, Color value)
Parameters
SetGlobalColor(string, Color)
Declaration
void SetGlobalColor(string name, Color value)
Parameters
SetGlobalConstantBuffer(ComputeBuffer, int, int, int)
Declaration
void SetGlobalConstantBuffer(ComputeBuffer buffer, int nameID, int offset, int size)
Parameters
SetGlobalConstantBuffer(ComputeBuffer, string, int, int)
Declaration
void SetGlobalConstantBuffer(ComputeBuffer buffer, string name, int offset, int size)
Parameters
SetGlobalConstantBuffer(GraphicsBuffer, int, int, int)
Declaration
void SetGlobalConstantBuffer(GraphicsBuffer buffer, int nameID, int offset, int size)
Parameters
SetGlobalConstantBuffer(GraphicsBuffer, string, int, int)
Declaration
void SetGlobalConstantBuffer(GraphicsBuffer buffer, string name, int offset, int size)
Parameters
SetGlobalDepthBias(float, float)
Declaration
void SetGlobalDepthBias(float bias, float slopeBias)
Parameters
SetGlobalFloat(int, float)
Declaration
void SetGlobalFloat(int nameID, float value)
Parameters
SetGlobalFloat(string, float)
Declaration
void SetGlobalFloat(string name, float value)
Parameters
SetGlobalFloatArray(int, List<float>)
Declaration
void SetGlobalFloatArray(int nameID, List<float> values)
Parameters
SetGlobalFloatArray(int, float[])
Declaration
void SetGlobalFloatArray(int nameID, float[] values)
Parameters
SetGlobalFloatArray(string, List<float>)
Declaration
void SetGlobalFloatArray(string propertyName, List<float> values)
Parameters
SetGlobalFloatArray(string, float[])
Declaration
void SetGlobalFloatArray(string propertyName, float[] values)
Parameters
SetGlobalInt(int, int)
Declaration
void SetGlobalInt(int nameID, int value)
Parameters
SetGlobalInt(string, int)
Declaration
void SetGlobalInt(string name, int value)
Parameters
SetGlobalInteger(int, int)
Declaration
void SetGlobalInteger(int nameID, int value)
Parameters
SetGlobalInteger(string, int)
Declaration
void SetGlobalInteger(string name, int value)
Parameters
SetGlobalMatrix(int, Matrix4x4)
Declaration
void SetGlobalMatrix(int nameID, Matrix4x4 value)
Parameters
SetGlobalMatrix(string, Matrix4x4)
Declaration
void SetGlobalMatrix(string name, Matrix4x4 value)
Parameters
SetGlobalMatrixArray(int, List<Matrix4x4>)
Declaration
void SetGlobalMatrixArray(int nameID, List<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(int, ReadOnlySpan<Matrix4x4>)
Declaration
void SetGlobalMatrixArray(int nameID, ReadOnlySpan<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(int, Matrix4x4[])
Declaration
void SetGlobalMatrixArray(int nameID, Matrix4x4[] values)
Parameters
SetGlobalMatrixArray(string, List<Matrix4x4>)
Declaration
void SetGlobalMatrixArray(string propertyName, List<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(string, Matrix4x4[])
Declaration
void SetGlobalMatrixArray(string propertyName, Matrix4x4[] values)
Parameters
SetGlobalTexture(int, TextureHandle)
Declaration
void SetGlobalTexture(int nameID, TextureHandle value)
Parameters
SetGlobalTexture(int, TextureHandle, RenderTextureSubElement)
Declaration
void SetGlobalTexture(int nameID, TextureHandle value, RenderTextureSubElement element)
Parameters
SetGlobalTexture(string, TextureHandle)
Declaration
void SetGlobalTexture(string name, TextureHandle value)
Parameters
SetGlobalTexture(string, TextureHandle, RenderTextureSubElement)
Declaration
void SetGlobalTexture(string name, TextureHandle value, RenderTextureSubElement element)
Parameters
SetGlobalVector(int, Vector4)
Declaration
void SetGlobalVector(int nameID, Vector4 value)
Parameters
SetGlobalVector(string, Vector4)
Declaration
void SetGlobalVector(string name, Vector4 value)
Parameters
SetGlobalVectorArray(int, List<Vector4>)
Declaration
void SetGlobalVectorArray(int nameID, List<Vector4> values)
Parameters
SetGlobalVectorArray(int, Vector4[])
Declaration
void SetGlobalVectorArray(int nameID, Vector4[] values)
Parameters
SetGlobalVectorArray(string, List<Vector4>)
Declaration
void SetGlobalVectorArray(string propertyName, List<Vector4> values)
Parameters
SetGlobalVectorArray(string, Vector4[])
Declaration
void SetGlobalVectorArray(string propertyName, Vector4[] values)
Parameters
SetInvertCulling(bool)
Declaration
void SetInvertCulling(bool invertCulling)
Parameters
SetKeyword(ComputeShader, in LocalKeyword, bool)
Declaration
void SetKeyword(ComputeShader computeShader, in LocalKeyword keyword, bool value)
Parameters
SetKeyword(Material, in LocalKeyword, bool)
Declaration
void SetKeyword(Material material, in LocalKeyword keyword, bool value)
Parameters
SetKeyword(in GlobalKeyword, bool)
Declaration
void SetKeyword(in GlobalKeyword keyword, bool value)
Parameters
SetLateLatchProjectionMatrices(Matrix4x4[])
Declaration
void SetLateLatchProjectionMatrices(Matrix4x4[] projectionMat)
Parameters
SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)
Declaration
void SetShadowSamplingMode(RenderTargetIdentifier shadowmap, ShadowSamplingMode mode)
Parameters
SetSinglePassStereo(SinglePassStereoMode)
Declaration
void SetSinglePassStereo(SinglePassStereoMode mode)
Parameters
SetViewProjectionMatrices(Matrix4x4, Matrix4x4)
Declaration
void SetViewProjectionMatrices(Matrix4x4 view, Matrix4x4 proj)
Parameters
SetViewport(Rect)
Declaration
void SetViewport(Rect pixelRect)
Parameters
SetupCameraProperties(Camera)
Declaration
void SetupCameraProperties(Camera camera)
Parameters
UnmarkLateLatchMatrix(CameraLateLatchMatrixType)
Declaration
void UnmarkLateLatchMatrix(CameraLateLatchMatrixType matrixPropertyType)
Parameters
Extension Methods