Class LowLevelCommandBuffer
A command buffer that is used with a lowlevel render graph pass.
Inherited Members
Namespace: UnityEngine .Experimental.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class LowLevelCommandBuffer : BaseCommandBuffer, ILowLevelCommandBuffer, IBaseCommandBuffer
Methods
BeginSample(string)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
BeginSample(ProfilerMarker)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(ProfilerMarker marker)
Parameters
Type | Name | Description |
---|---|---|
Profiler |
marker |
BeginSample(CustomSampler)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(CustomSampler sampler)
Parameters
Type | Name | Description |
---|---|---|
Custom |
sampler |
Clear()
Wraps Clear on a CommandBuffer.
Declaration
public void Clear()
ClearRenderTarget(bool, bool, Color)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor)
Parameters
ClearRenderTarget(bool, bool, Color, float)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth)
Parameters
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 | |
bool | clearColor | |
Color | backgroundColor | |
float | depth | |
uint | stencil |
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 |
---|---|---|
RTClear |
clearFlags | |
Color | backgroundColor | |
float | depth | |
uint | stencil |
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 |
---|---|---|
RTClear |
clearFlags | |
Color[] | backgroundColors | |
float | depth | |
uint | stencil |
ConfigureFoveatedRendering(IntPtr)
Wraps ConfigureFoveatedRendering on a CommandBuffer.
Declaration
public void ConfigureFoveatedRendering(IntPtr platformData)
Parameters
Type | Name | Description |
---|---|---|
Int |
platformData |
DisableKeyword(ComputeShader, ref LocalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(ComputeShader computeShader, ref LocalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Compute |
computeShader | |
Local |
keyword |
DisableKeyword(Material, ref LocalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(Material material, ref LocalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Material | material | |
Local |
keyword |
DisableKeyword(ref GlobalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(ref GlobalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Global |
keyword |
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 |
DrawMesh(Mesh, Matrix4x4, Material)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
Parameters
DrawMesh(Mesh, Matrix4x4, Material, int)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
Parameters
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
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 | |
Matrix4x4 | matrix | |
Material | material | |
int | submeshIndex | |
int | shaderPass | |
Material |
properties |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices | |
int | count |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Matrix4x4[] | matrices | |
int | count | |
Material |
properties |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Compute |
bufferWithArgs |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Compute |
bufferWithArgs | |
int | argsOffset |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Compute |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Graphics |
bufferWithArgs |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Graphics |
bufferWithArgs | |
int | argsOffset |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
Graphics |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
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 | |
int | submeshIndex | |
Material | material | |
int | shaderPass | |
int | count | |
Material |
properties |
DrawOcclusionMesh(RectInt)
Wraps DrawOcclusionMesh on a CommandBuffer.
Declaration
public void DrawOcclusionMesh(RectInt normalizedCamViewport)
Parameters
Type | Name | Description |
---|---|---|
Rect |
normalizedCamViewport |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | indexCount |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | indexCount | |
int | instanceCount |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | indexCount | |
int | instanceCount | |
Material |
properties |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | vertexCount |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | vertexCount | |
int | instanceCount |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
int | vertexCount | |
int | instanceCount | |
Material |
properties |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs | |
int | argsOffset |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs | |
int | argsOffset |
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 |
---|---|---|
Graphics |
indexBuffer | |
Matrix4x4 | matrix | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs | |
int | argsOffset |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Compute |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs | |
int | argsOffset |
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 | |
Material | material | |
int | shaderPass | |
Mesh |
topology | |
Graphics |
bufferWithArgs | |
int | argsOffset | |
Material |
properties |
DrawRenderer(Renderer, Material)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material)
Parameters
DrawRenderer(Renderer, Material, int)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex)
Parameters
DrawRenderer(Renderer, Material, int, int)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex, int shaderPass)
Parameters
DrawRendererList(RendererList)
Wraps DrawRendererList on a CommandBuffer.
Declaration
public void DrawRendererList(RendererList rendererList)
Parameters
Type | Name | Description |
---|---|---|
Renderer |
rendererList |
EnableKeyword(ComputeShader, ref LocalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(ComputeShader computeShader, ref LocalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Compute |
computeShader | |
Local |
keyword |
EnableKeyword(Material, ref LocalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(Material material, ref LocalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Material | material | |
Local |
keyword |
EnableKeyword(ref GlobalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(ref GlobalKeyword keyword)
Parameters
Type | Name | Description |
---|---|---|
Global |
keyword |
EnableScissorRect(Rect)
Wraps EnableScissorRect on a CommandBuffer.
Declaration
public void EnableScissorRect(Rect scissor)
Parameters
Type | Name | Description |
---|---|---|
Rect | scissor |
EnableShaderKeyword(string)
Wraps EnableShaderKeyword on a CommandBuffer.
Declaration
public void EnableShaderKeyword(string keyword)
Parameters
Type | Name | Description |
---|---|---|
string | keyword |
EndSample(string)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
EndSample(ProfilerMarker)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(ProfilerMarker marker)
Parameters
Type | Name | Description |
---|---|---|
Profiler |
marker |
EndSample(CustomSampler)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(CustomSampler sampler)
Parameters
Type | Name | Description |
---|---|---|
Custom |
sampler |
IncrementUpdateCount(RenderTargetIdentifier)
Wraps IncrementUpdateCount on a CommandBuffer.
Declaration
public void IncrementUpdateCount(RenderTargetIdentifier dest)
Parameters
Type | Name | Description |
---|---|---|
Render |
dest |
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 |
---|---|---|
Int |
callback | |
uint | command | |
Render |
source | |
Render |
dest | |
uint | commandParam | |
uint | commandFlags |
IssuePluginCustomTextureUpdateV2(IntPtr, Texture, uint)
Wraps IssuePluginCustomTextureUpdateV2 on a CommandBuffer.
Declaration
public void IssuePluginCustomTextureUpdateV2(IntPtr callback, Texture targetTexture, uint userData)
Parameters
IssuePluginEvent(IntPtr, int)
Wraps IssuePluginEvent on a CommandBuffer.
Declaration
public void IssuePluginEvent(IntPtr callback, int eventID)
Parameters
IssuePluginEventAndData(IntPtr, int, IntPtr)
Wraps IssuePluginEventAndData on a CommandBuffer.
Declaration
public void IssuePluginEventAndData(IntPtr callback, int eventID, IntPtr data)
Parameters
MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType, int)
Wraps MarkLateLatchMatrixShaderPropertyID on a CommandBuffer.
Declaration
public void MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType matrixPropertyType, int shaderPropertyID)
Parameters
Type | Name | Description |
---|---|---|
Camera |
matrixPropertyType | |
int | shaderPropertyID |
SetFoveatedRenderingMode(FoveatedRenderingMode)
Wraps SetFoveatedRenderingMode on a CommandBuffer.
Declaration
public void SetFoveatedRenderingMode(FoveatedRenderingMode foveatedRenderingMode)
Parameters
Type | Name | Description |
---|---|---|
Foveated |
foveatedRenderingMode |
SetGlobalBuffer(int, ComputeBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(int nameID, ComputeBuffer value)
Parameters
Type | Name | Description |
---|---|---|
int | nameID | |
Compute |
value |
SetGlobalBuffer(int, GraphicsBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(int nameID, GraphicsBuffer value)
Parameters
Type | Name | Description |
---|---|---|
int | nameID | |
Graphics |
value |
SetGlobalBuffer(string, ComputeBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(string name, ComputeBuffer value)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Compute |
value |
SetGlobalBuffer(string, GraphicsBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(string name, GraphicsBuffer value)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Graphics |
value |
SetGlobalColor(int, Color)
Wraps SetGlobalColor on a CommandBuffer.
Declaration
public void SetGlobalColor(int nameID, Color value)
Parameters
SetGlobalColor(string, Color)
Wraps SetGlobalColor on a CommandBuffer.
Declaration
public void SetGlobalColor(string name, Color value)
Parameters
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 |
---|---|---|
Compute |
buffer | |
int | nameID | |
int | offset | |
int | size |
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 |
---|---|---|
Compute |
buffer | |
string | name | |
int | offset | |
int | size |
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 |
---|---|---|
Graphics |
buffer | |
int | nameID | |
int | offset | |
int | size |
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 |
---|---|---|
Graphics |
buffer | |
string | name | |
int | offset | |
int | size |
SetGlobalDepthBias(float, float)
Wraps SetGlobalDepthBias on a CommandBuffer.
Declaration
public void SetGlobalDepthBias(float bias, float slopeBias)
Parameters
SetGlobalFloat(int, float)
Wraps SetGlobalFloat on a CommandBuffer.
Declaration
public void SetGlobalFloat(int nameID, float value)
Parameters
SetGlobalFloat(string, float)
Wraps SetGlobalFloat on a CommandBuffer.
Declaration
public void SetGlobalFloat(string name, float value)
Parameters
SetGlobalFloatArray(int, List<float>)
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(int nameID, List<float> values)
Parameters
SetGlobalFloatArray(int, float[])
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(int nameID, float[] values)
Parameters
SetGlobalFloatArray(string, List<float>)
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(string propertyName, List<float> values)
Parameters
SetGlobalFloatArray(string, float[])
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(string propertyName, float[] values)
Parameters
SetGlobalInt(int, int)
Wraps SetGlobalInt on a CommandBuffer.
Declaration
public void SetGlobalInt(int nameID, int value)
Parameters
SetGlobalInt(string, int)
Wraps SetGlobalInt on a CommandBuffer.
Declaration
public void SetGlobalInt(string name, int value)
Parameters
SetGlobalInteger(int, int)
Wraps SetGlobalInteger on a CommandBuffer.
Declaration
public void SetGlobalInteger(int nameID, int value)
Parameters
SetGlobalInteger(string, int)
Wraps SetGlobalInteger on a CommandBuffer.
Declaration
public void SetGlobalInteger(string name, int value)
Parameters
SetGlobalMatrix(int, Matrix4x4)
Wraps SetGlobalMatrix on a CommandBuffer.
Declaration
public void SetGlobalMatrix(int nameID, Matrix4x4 value)
Parameters
SetGlobalMatrix(string, Matrix4x4)
Wraps SetGlobalMatrix on a CommandBuffer.
Declaration
public void SetGlobalMatrix(string name, Matrix4x4 value)
Parameters
SetGlobalMatrixArray(int, List<Matrix4x4>)
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(int nameID, List<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(int, Matrix4x4[])
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(int nameID, Matrix4x4[] values)
Parameters
SetGlobalMatrixArray(string, List<Matrix4x4>)
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(string propertyName, List<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(string, Matrix4x4[])
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(string propertyName, Matrix4x4[] values)
Parameters
SetGlobalTexture(int, TextureHandle)
Wraps SetGlobalTexture on a CommandBuffer.
Declaration
public void SetGlobalTexture(int nameID, TextureHandle value)
Parameters
Type | Name | Description |
---|---|---|
int | nameID | |
Texture |
value |
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 | |
Texture |
value | |
Render |
element |
SetGlobalTexture(string, TextureHandle)
Wraps SetGlobalTexture on a CommandBuffer.
Declaration
public void SetGlobalTexture(string name, TextureHandle value)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
Texture |
value |
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 | |
Texture |
value | |
Render |
element |
SetGlobalVector(int, Vector4)
Wraps SetGlobalVector on a CommandBuffer.
Declaration
public void SetGlobalVector(int nameID, Vector4 value)
Parameters
SetGlobalVector(string, Vector4)
Wraps SetGlobalVector on a CommandBuffer.
Declaration
public void SetGlobalVector(string name, Vector4 value)
Parameters
SetGlobalVectorArray(int, List<Vector4>)
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(int nameID, List<Vector4> values)
Parameters
SetGlobalVectorArray(int, Vector4[])
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(int nameID, Vector4[] values)
Parameters
SetGlobalVectorArray(string, List<Vector4>)
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)
Parameters
SetGlobalVectorArray(string, Vector4[])
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(string propertyName, Vector4[] values)
Parameters
SetInstanceMultiplier(uint)
Wraps SetInstanceMultiplier on a CommandBuffer.
Declaration
public void SetInstanceMultiplier(uint multiplier)
Parameters
Type | Name | Description |
---|---|---|
uint | multiplier |
SetInvertCulling(bool)
Wraps SetInvertCulling on a CommandBuffer.
Declaration
public void SetInvertCulling(bool invertCulling)
Parameters
Type | Name | Description |
---|---|---|
bool | invertCulling |
SetKeyword(ComputeShader, ref LocalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(ComputeShader computeShader, ref LocalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
Compute |
computeShader | |
Local |
keyword | |
bool | value |
SetKeyword(Material, ref LocalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(Material material, ref LocalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
Material | material | |
Local |
keyword | |
bool | value |
SetKeyword(ref GlobalKeyword, bool)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(ref GlobalKeyword keyword, bool value)
Parameters
Type | Name | Description |
---|---|---|
Global |
keyword | |
bool | value |
SetLateLatchProjectionMatrices(Matrix4x4[])
Wraps SetLateLatchProjectionMatrices on a CommandBuffer.
Declaration
public void SetLateLatchProjectionMatrices(Matrix4x4[] projectionMat)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4[] | projectionMat |
SetRenderTarget(RenderTargetBinding)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetBinding binding)
Parameters
Type | Name | Description |
---|---|---|
Render |
binding |
SetRenderTarget(RenderTargetBinding, int, CubemapFace, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetBinding binding, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
Type | Name | Description |
---|---|---|
Render |
binding | |
int | mipLevel | |
Cubemap |
cubemapFace | |
int | depthSlice |
SetRenderTarget(RenderTargetIdentifier)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt |
SetRenderTarget(RenderTargetIdentifier, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt | |
int | mipLevel |
SetRenderTarget(RenderTargetIdentifier, int, CubemapFace)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt | |
int | mipLevel | |
Cubemap |
cubemapFace |
SetRenderTarget(RenderTargetIdentifier, int, CubemapFace, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt | |
int | mipLevel | |
Cubemap |
cubemapFace | |
int | depthSlice |
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction loadAction, RenderBufferStoreAction storeAction)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt | |
Render |
loadAction | |
Render |
storeAction |
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderBufferLoadAction, RenderBufferStoreAction)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
Type | Name | Description |
---|---|---|
Render |
rt | |
Render |
colorLoadAction | |
Render |
colorStoreAction | |
Render |
depthLoadAction | |
Render |
depthStoreAction |
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderTargetIdentifier depth, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
Type | Name | Description |
---|---|---|
Render |
color | |
Render |
colorLoadAction | |
Render |
colorStoreAction | |
Render |
depth | |
Render |
depthLoadAction | |
Render |
depthStoreAction |
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth)
Parameters
Type | Name | Description |
---|---|---|
Render |
color | |
Render |
depth |
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel)
Parameters
Type | Name | Description |
---|---|---|
Render |
color | |
Render |
depth | |
int | mipLevel |
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int, CubemapFace)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace)
Parameters
Type | Name | Description |
---|---|---|
Render |
color | |
Render |
depth | |
int | mipLevel | |
Cubemap |
cubemapFace |
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, int, CubemapFace, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
Type | Name | Description |
---|---|---|
Render |
color | |
Render |
depth | |
int | mipLevel | |
Cubemap |
cubemapFace | |
int | depthSlice |
SetRenderTarget(RenderTargetIdentifier[], RenderTargetIdentifier)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier[] colors, RenderTargetIdentifier depth)
Parameters
Type | Name | Description |
---|---|---|
Render |
colors | |
Render |
depth |
SetRenderTarget(RenderTargetIdentifier[], RenderTargetIdentifier, int, CubemapFace, int)
Wraps SetRenderTarget on a CommandBuffer.
Declaration
public void SetRenderTarget(RenderTargetIdentifier[] colors, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
Type | Name | Description |
---|---|---|
Render |
colors | |
Render |
depth | |
int | mipLevel | |
Cubemap |
cubemapFace | |
int | depthSlice |
SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)
Wraps SetShadowSamplingMode on a CommandBuffer.
Declaration
public void SetShadowSamplingMode(RenderTargetIdentifier shadowmap, ShadowSamplingMode mode)
Parameters
Type | Name | Description |
---|---|---|
Render |
shadowmap | |
Shadow |
mode |
SetSinglePassStereo(SinglePassStereoMode)
Wraps SetSinglePassStereo on a CommandBuffer.
Declaration
public void SetSinglePassStereo(SinglePassStereoMode mode)
Parameters
Type | Name | Description |
---|---|---|
Single |
mode |
SetViewProjectionMatrices(Matrix4x4, Matrix4x4)
Wraps SetViewProjectionMatrices on a CommandBuffer.
Declaration
public void SetViewProjectionMatrices(Matrix4x4 view, Matrix4x4 proj)
Parameters
SetViewport(Rect)
Wraps SetViewport on a CommandBuffer.
Declaration
public void SetViewport(Rect pixelRect)
Parameters
Type | Name | Description |
---|---|---|
Rect | pixelRect |
SetupCameraProperties(Camera)
Wraps SetupCameraProperties on a CommandBuffer.
Declaration
public void SetupCameraProperties(Camera camera)
Parameters
Type | Name | Description |
---|---|---|
Camera | camera |
UnmarkLateLatchMatrix(CameraLateLatchMatrixType)
Wraps UnmarkLateLatchMatrix on a CommandBuffer.
Declaration
public void UnmarkLateLatchMatrix(CameraLateLatchMatrixType matrixPropertyType)
Parameters
Type | Name | Description |
---|---|---|
Camera |
matrixPropertyType |