Class RasterCommandBuffer
A command buffer that is used with a rasterization render graph pass.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering
Syntax
public class RasterCommandBuffer : BaseCommandBuffer, IRasterCommandBuffer, IBaseCommandBuffer
Methods
BeginSample(String)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |
Implements
BeginSample(ProfilerMarker)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(ProfilerMarker marker)
Parameters
| Type | Name | Description |
|---|---|---|
| ProfilerMarker | marker |
Implements
BeginSample(CustomSampler)
Wraps BeginSample on a CommandBuffer.
Declaration
public void BeginSample(CustomSampler sampler)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomSampler | sampler |
Implements
ClearRenderTarget(Boolean, Boolean, Color)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | clearDepth | |
| Boolean | clearColor | |
| Color | backgroundColor |
Implements
ClearRenderTarget(Boolean, Boolean, Color, Single)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | clearDepth | |
| Boolean | clearColor | |
| Color | backgroundColor | |
| Single | depth |
Implements
ClearRenderTarget(Boolean, Boolean, Color, Single, UInt32)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth, uint stencil)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | clearDepth | |
| Boolean | clearColor | |
| Color | backgroundColor | |
| Single | depth | |
| UInt32 | stencil |
Implements
ClearRenderTarget(RTClearFlags, Color, Single, UInt32)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(RTClearFlags clearFlags, Color backgroundColor, float depth, uint stencil)
Parameters
| Type | Name | Description |
|---|---|---|
| RTClearFlags | clearFlags | |
| Color | backgroundColor | |
| Single | depth | |
| UInt32 | stencil |
Implements
ClearRenderTarget(RTClearFlags, Color[], Single, UInt32)
Wraps ClearRenderTarget on a CommandBuffer.
Declaration
public void ClearRenderTarget(RTClearFlags clearFlags, Color[] backgroundColors, float depth, uint stencil)
Parameters
| Type | Name | Description |
|---|---|---|
| RTClearFlags | clearFlags | |
| Color[] | backgroundColors | |
| Single | depth | |
| UInt32 | stencil |
Implements
ConfigureFoveatedRendering(IntPtr)
Wraps ConfigureFoveatedRendering on a CommandBuffer.
Declaration
public void ConfigureFoveatedRendering(IntPtr platformData)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | platformData |
Implements
DisableKeyword(ComputeShader, ref LocalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(ComputeShader computeShader, ref LocalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShader | computeShader | |
| LocalKeyword | keyword |
Implements
DisableKeyword(Material, ref LocalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(Material material, ref LocalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | material | |
| LocalKeyword | keyword |
Implements
DisableKeyword(ref GlobalKeyword)
Wraps DisableKeyword on a CommandBuffer.
Declaration
public void DisableKeyword(ref GlobalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalKeyword | keyword |
Implements
DisableScissorRect()
Wraps DisableScissorRect on a CommandBuffer.
Declaration
public void DisableScissorRect()
Implements
DisableShaderKeyword(String)
Wraps DisableShaderKeyword on a CommandBuffer.
Declaration
public void DisableShaderKeyword(string keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| String | keyword |
Implements
DrawMesh(Mesh, Matrix4x4, Material)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
Parameters
| Type | Name | Description |
|---|---|---|
| Mesh | mesh | |
| Matrix4x4 | matrix | |
| Material | material |
Implements
DrawMesh(Mesh, Matrix4x4, Material, Int32)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Mesh | mesh | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | submeshIndex |
Implements
DrawMesh(Mesh, Matrix4x4, Material, Int32, Int32)
Wraps DrawMesh on a CommandBuffer.
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass)
Parameters
| Type | Name | Description |
|---|---|---|
| Mesh | mesh | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | submeshIndex | |
| Int32 | shaderPass |
Implements
DrawMesh(Mesh, Matrix4x4, Material, Int32, Int32, 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 | |
| Int32 | submeshIndex | |
| Int32 | shaderPass | |
| MaterialPropertyBlock | properties |
Implements
DrawMeshInstanced(Mesh, Int32, Material, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| Matrix4x4[] | matrices |
Implements
DrawMeshInstanced(Mesh, Int32, Material, Int32, Matrix4x4[], Int32)
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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| Matrix4x4[] | matrices | |
| Int32 | count |
Implements
DrawMeshInstanced(Mesh, Int32, Material, Int32, Matrix4x4[], Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| Matrix4x4[] | matrices | |
| Int32 | count | |
| MaterialPropertyBlock | properties |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| ComputeBuffer | bufferWithArgs |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, ComputeBuffer, Int32)
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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, ComputeBuffer, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| GraphicsBuffer | bufferWithArgs |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, GraphicsBuffer, Int32)
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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, GraphicsBuffer, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawMeshInstancedProcedural(Mesh, Int32, Material, Int32, Int32, 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 | |
| Int32 | submeshIndex | |
| Material | material | |
| Int32 | shaderPass | |
| Int32 | count | |
| MaterialPropertyBlock | properties |
Implements
DrawMultipleMeshes(Matrix4x4[], Mesh[], Int32[], Int32, Material, Int32, MaterialPropertyBlock)
Wraps DrawMultipleMeshes on a CommandBuffer.
Declaration
public void DrawMultipleMeshes(Matrix4x4[] matrices, Mesh[] meshes, int[] subsetIndices, int count, Material material, int shaderPass, MaterialPropertyBlock properties)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix4x4[] | matrices | |
| Mesh[] | meshes | |
| Int32[] | subsetIndices | |
| Int32 | count | |
| Material | material | |
| Int32 | shaderPass | |
| MaterialPropertyBlock | properties |
Implements
DrawOcclusionMesh(RectInt)
Wraps DrawOcclusionMesh on a CommandBuffer.
Declaration
public void DrawOcclusionMesh(RectInt normalizedCamViewport)
Parameters
| Type | Name | Description |
|---|---|---|
| RectInt | normalizedCamViewport |
Implements
DrawProcedural(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, Int32)
Wraps DrawProcedural on a CommandBuffer.
Declaration
public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | indexCount |
Implements
DrawProcedural(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, Int32, Int32)
Wraps DrawProcedural on a CommandBuffer.
Declaration
public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount, int instanceCount)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | indexCount | |
| Int32 | instanceCount |
Implements
DrawProcedural(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, Int32, Int32, MaterialPropertyBlock)
Wraps DrawProcedural on a CommandBuffer.
Declaration
public void DrawProcedural(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int indexCount, int instanceCount, MaterialPropertyBlock properties)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | indexCount | |
| Int32 | instanceCount | |
| MaterialPropertyBlock | properties |
Implements
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32)
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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | vertexCount |
Implements
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32, Int32)
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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | vertexCount | |
| Int32 | instanceCount |
Implements
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32, Int32, 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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| Int32 | vertexCount | |
| Int32 | instanceCount | |
| MaterialPropertyBlock | properties |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32, MaterialPropertyBlock)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, GraphicsBuffer)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, GraphicsBuffer, Int32)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawProceduralIndirect(GraphicsBuffer, Matrix4x4, Material, Int32, MeshTopology, GraphicsBuffer, Int32, MaterialPropertyBlock)
Wraps DrawProceduralIndirect on a CommandBuffer.
Declaration
public void DrawProceduralIndirect(GraphicsBuffer indexBuffer, Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, GraphicsBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | indexBuffer | |
| Matrix4x4 | matrix | |
| Material | material | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, 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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32)
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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32, 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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| ComputeBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, 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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, GraphicsBuffer, Int32)
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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset |
Implements
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, GraphicsBuffer, Int32, 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 | |
| Int32 | shaderPass | |
| MeshTopology | topology | |
| GraphicsBuffer | bufferWithArgs | |
| Int32 | argsOffset | |
| MaterialPropertyBlock | properties |
Implements
DrawRenderer(Renderer, Material)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material)
Parameters
| Type | Name | Description |
|---|---|---|
| Renderer | renderer | |
| Material | material |
Implements
DrawRenderer(Renderer, Material, Int32)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| Renderer | renderer | |
| Material | material | |
| Int32 | submeshIndex |
Implements
DrawRenderer(Renderer, Material, Int32, Int32)
Wraps DrawRenderer on a CommandBuffer.
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex, int shaderPass)
Parameters
| Type | Name | Description |
|---|---|---|
| Renderer | renderer | |
| Material | material | |
| Int32 | submeshIndex | |
| Int32 | shaderPass |
Implements
DrawRendererList(RendererList)
Wraps DrawRendererList on a CommandBuffer.
Declaration
public void DrawRendererList(RendererList rendererList)
Parameters
| Type | Name | Description |
|---|---|---|
| RendererList | rendererList |
Implements
EnableKeyword(ComputeShader, ref LocalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(ComputeShader computeShader, ref LocalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShader | computeShader | |
| LocalKeyword | keyword |
Implements
EnableKeyword(Material, ref LocalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(Material material, ref LocalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | material | |
| LocalKeyword | keyword |
Implements
EnableKeyword(ref GlobalKeyword)
Wraps EnableKeyword on a CommandBuffer.
Declaration
public void EnableKeyword(ref GlobalKeyword keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalKeyword | keyword |
Implements
EnableScissorRect(Rect)
Wraps EnableScissorRect on a CommandBuffer.
Declaration
public void EnableScissorRect(Rect scissor)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | scissor |
Implements
EnableShaderKeyword(String)
Wraps EnableShaderKeyword on a CommandBuffer.
Declaration
public void EnableShaderKeyword(string keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| String | keyword |
Implements
EndSample(String)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |
Implements
EndSample(ProfilerMarker)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(ProfilerMarker marker)
Parameters
| Type | Name | Description |
|---|---|---|
| ProfilerMarker | marker |
Implements
EndSample(CustomSampler)
Wraps EndSample on a CommandBuffer.
Declaration
public void EndSample(CustomSampler sampler)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomSampler | sampler |
Implements
IncrementUpdateCount(RenderTargetIdentifier)
Wraps IncrementUpdateCount on a CommandBuffer.
Declaration
public void IncrementUpdateCount(RenderTargetIdentifier dest)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTargetIdentifier | dest |
Implements
InvokeOnRenderObjectCallbacks()
Wraps InvokeOnRenderObjectCallbacks on a CommandBuffer.
Declaration
public void InvokeOnRenderObjectCallbacks()
Implements
IssuePluginCustomBlit(IntPtr, UInt32, RenderTargetIdentifier, RenderTargetIdentifier, UInt32, UInt32)
Wraps IssuePluginCustomBlit on a CommandBuffer.
Declaration
public void IssuePluginCustomBlit(IntPtr callback, uint command, RenderTargetIdentifier source, RenderTargetIdentifier dest, uint commandParam, uint commandFlags)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | callback | |
| UInt32 | command | |
| RenderTargetIdentifier | source | |
| RenderTargetIdentifier | dest | |
| UInt32 | commandParam | |
| UInt32 | commandFlags |
Implements
IssuePluginCustomTextureUpdateV2(IntPtr, Texture, UInt32)
Wraps IssuePluginCustomTextureUpdateV2 on a CommandBuffer.
Declaration
public void IssuePluginCustomTextureUpdateV2(IntPtr callback, Texture targetTexture, uint userData)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | callback | |
| Texture | targetTexture | |
| UInt32 | userData |
Implements
IssuePluginEvent(IntPtr, Int32)
Wraps IssuePluginEvent on a CommandBuffer.
Declaration
public void IssuePluginEvent(IntPtr callback, int eventID)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | callback | |
| Int32 | eventID |
Implements
IssuePluginEventAndData(IntPtr, Int32, IntPtr)
Wraps IssuePluginEventAndData on a CommandBuffer.
Declaration
public void IssuePluginEventAndData(IntPtr callback, int eventID, IntPtr data)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | callback | |
| Int32 | eventID | |
| IntPtr | data |
Implements
MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType, Int32)
Wraps MarkLateLatchMatrixShaderPropertyID on a CommandBuffer.
Declaration
public void MarkLateLatchMatrixShaderPropertyID(CameraLateLatchMatrixType matrixPropertyType, int shaderPropertyID)
Parameters
| Type | Name | Description |
|---|---|---|
| CameraLateLatchMatrixType | matrixPropertyType | |
| Int32 | shaderPropertyID |
Implements
SetFoveatedRenderingMode(FoveatedRenderingMode)
Wraps SetFoveatedRenderingMode on a CommandBuffer.
Declaration
public void SetFoveatedRenderingMode(FoveatedRenderingMode foveatedRenderingMode)
Parameters
| Type | Name | Description |
|---|---|---|
| FoveatedRenderingMode | foveatedRenderingMode |
Implements
SetGlobalBuffer(Int32, ComputeBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(int nameID, ComputeBuffer value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| ComputeBuffer | value |
Implements
SetGlobalBuffer(Int32, GraphicsBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(int nameID, GraphicsBuffer value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| GraphicsBuffer | value |
Implements
SetGlobalBuffer(String, ComputeBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(string name, ComputeBuffer value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| ComputeBuffer | value |
Implements
SetGlobalBuffer(String, GraphicsBuffer)
Wraps SetGlobalBuffer on a CommandBuffer.
Declaration
public void SetGlobalBuffer(string name, GraphicsBuffer value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| GraphicsBuffer | value |
Implements
SetGlobalColor(Int32, Color)
Wraps SetGlobalColor on a CommandBuffer.
Declaration
public void SetGlobalColor(int nameID, Color value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Color | value |
Implements
SetGlobalColor(String, Color)
Wraps SetGlobalColor on a CommandBuffer.
Declaration
public void SetGlobalColor(string name, Color value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Color | value |
Implements
SetGlobalConstantBuffer(ComputeBuffer, Int32, Int32, Int32)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(ComputeBuffer buffer, int nameID, int offset, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeBuffer | buffer | |
| Int32 | nameID | |
| Int32 | offset | |
| Int32 | size |
Implements
SetGlobalConstantBuffer(ComputeBuffer, String, Int32, Int32)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(ComputeBuffer buffer, string name, int offset, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeBuffer | buffer | |
| String | name | |
| Int32 | offset | |
| Int32 | size |
Implements
SetGlobalConstantBuffer(GraphicsBuffer, Int32, Int32, Int32)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(GraphicsBuffer buffer, int nameID, int offset, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | buffer | |
| Int32 | nameID | |
| Int32 | offset | |
| Int32 | size |
Implements
SetGlobalConstantBuffer(GraphicsBuffer, String, Int32, Int32)
Wraps SetGlobalConstantBuffer on a CommandBuffer.
Declaration
public void SetGlobalConstantBuffer(GraphicsBuffer buffer, string name, int offset, int size)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsBuffer | buffer | |
| String | name | |
| Int32 | offset | |
| Int32 | size |
Implements
SetGlobalDepthBias(Single, Single)
Wraps SetGlobalDepthBias on a CommandBuffer.
Declaration
public void SetGlobalDepthBias(float bias, float slopeBias)
Parameters
| Type | Name | Description |
|---|---|---|
| Single | bias | |
| Single | slopeBias |
Implements
SetGlobalFloat(Int32, Single)
Wraps SetGlobalFloat on a CommandBuffer.
Declaration
public void SetGlobalFloat(int nameID, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Single | value |
Implements
SetGlobalFloat(String, Single)
Wraps SetGlobalFloat on a CommandBuffer.
Declaration
public void SetGlobalFloat(string name, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Single | value |
Implements
SetGlobalFloatArray(Int32, List<Single>)
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(int nameID, List<float> values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| List<Single> | values |
Implements
SetGlobalFloatArray(Int32, Single[])
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(int nameID, float[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Single[] | values |
Implements
SetGlobalFloatArray(String, List<Single>)
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(string propertyName, List<float> values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| List<Single> | values |
Implements
SetGlobalFloatArray(String, Single[])
Wraps SetGlobalFloatArray on a CommandBuffer.
Declaration
public void SetGlobalFloatArray(string propertyName, float[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| Single[] | values |
Implements
SetGlobalInt(Int32, Int32)
Wraps SetGlobalInt on a CommandBuffer.
Declaration
public void SetGlobalInt(int nameID, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Int32 | value |
Implements
SetGlobalInt(String, Int32)
Wraps SetGlobalInt on a CommandBuffer.
Declaration
public void SetGlobalInt(string name, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Int32 | value |
Implements
SetGlobalInteger(Int32, Int32)
Wraps SetGlobalInteger on a CommandBuffer.
Declaration
public void SetGlobalInteger(int nameID, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Int32 | value |
Implements
SetGlobalInteger(String, Int32)
Wraps SetGlobalInteger on a CommandBuffer.
Declaration
public void SetGlobalInteger(string name, int value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Int32 | value |
Implements
SetGlobalMatrix(Int32, Matrix4x4)
Wraps SetGlobalMatrix on a CommandBuffer.
Declaration
public void SetGlobalMatrix(int nameID, Matrix4x4 value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Matrix4x4 | value |
Implements
SetGlobalMatrix(String, Matrix4x4)
Wraps SetGlobalMatrix on a CommandBuffer.
Declaration
public void SetGlobalMatrix(string name, Matrix4x4 value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Matrix4x4 | value |
Implements
SetGlobalMatrixArray(Int32, List<Matrix4x4>)
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(int nameID, List<Matrix4x4> values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| List<Matrix4x4> | values |
Implements
SetGlobalMatrixArray(Int32, Matrix4x4[])
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(int nameID, Matrix4x4[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Matrix4x4[] | values |
Implements
SetGlobalMatrixArray(String, List<Matrix4x4>)
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(string propertyName, List<Matrix4x4> values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| List<Matrix4x4> | values |
Implements
SetGlobalMatrixArray(String, Matrix4x4[])
Wraps SetGlobalMatrixArray on a CommandBuffer.
Declaration
public void SetGlobalMatrixArray(string propertyName, Matrix4x4[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| Matrix4x4[] | values |
Implements
SetGlobalTexture(Int32, TextureHandle)
Wraps SetGlobalTexture on a CommandBuffer.
Declaration
public void SetGlobalTexture(int nameID, TextureHandle value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| TextureHandle | value |
Implements
SetGlobalTexture(Int32, TextureHandle, RenderTextureSubElement)
Wraps SetGlobalTexture on a CommandBuffer.
Declaration
public void SetGlobalTexture(int nameID, TextureHandle value, RenderTextureSubElement element)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| TextureHandle | value | |
| RenderTextureSubElement | element |
Implements
SetGlobalTexture(String, TextureHandle)
Wraps SetGlobalTexture on a CommandBuffer.
Declaration
public void SetGlobalTexture(string name, TextureHandle value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| TextureHandle | value |
Implements
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 | |
| TextureHandle | value | |
| RenderTextureSubElement | element |
Implements
SetGlobalVector(Int32, Vector4)
Wraps SetGlobalVector on a CommandBuffer.
Declaration
public void SetGlobalVector(int nameID, Vector4 value)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Vector4 | value |
Implements
SetGlobalVector(String, Vector4)
Wraps SetGlobalVector on a CommandBuffer.
Declaration
public void SetGlobalVector(string name, Vector4 value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | |
| Vector4 | value |
Implements
SetGlobalVectorArray(Int32, List<Vector4>)
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(int nameID, List<Vector4> values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| List<Vector4> | values |
Implements
SetGlobalVectorArray(Int32, Vector4[])
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(int nameID, Vector4[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | nameID | |
| Vector4[] | values |
Implements
SetGlobalVectorArray(String, List<Vector4>)
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| List<Vector4> | values |
Implements
SetGlobalVectorArray(String, Vector4[])
Wraps SetGlobalVectorArray on a CommandBuffer.
Declaration
public void SetGlobalVectorArray(string propertyName, Vector4[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | propertyName | |
| Vector4[] | values |
Implements
SetInstanceMultiplier(UInt32)
Wraps SetInstanceMultiplier on a CommandBuffer.
Declaration
public void SetInstanceMultiplier(uint multiplier)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | multiplier |
Implements
SetInvertCulling(Boolean)
Wraps SetInvertCulling on a CommandBuffer.
Declaration
public void SetInvertCulling(bool invertCulling)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | invertCulling |
Implements
SetKeyword(ComputeShader, ref LocalKeyword, Boolean)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(ComputeShader computeShader, ref LocalKeyword keyword, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| ComputeShader | computeShader | |
| LocalKeyword | keyword | |
| Boolean | value |
Implements
SetKeyword(Material, ref LocalKeyword, Boolean)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(Material material, ref LocalKeyword keyword, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| Material | material | |
| LocalKeyword | keyword | |
| Boolean | value |
Implements
SetKeyword(ref GlobalKeyword, Boolean)
Wraps SetKeyword on a CommandBuffer.
Declaration
public void SetKeyword(ref GlobalKeyword keyword, bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalKeyword | keyword | |
| Boolean | value |
Implements
SetLateLatchProjectionMatrices(Matrix4x4[])
Wraps SetLateLatchProjectionMatrices on a CommandBuffer.
Declaration
public void SetLateLatchProjectionMatrices(Matrix4x4[] projectionMat)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix4x4[] | projectionMat |
Implements
SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)
Wraps SetShadowSamplingMode on a CommandBuffer.
Declaration
public void SetShadowSamplingMode(RenderTargetIdentifier shadowmap, ShadowSamplingMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTargetIdentifier | shadowmap | |
| ShadowSamplingMode | mode |
Implements
SetSinglePassStereo(SinglePassStereoMode)
Wraps SetSinglePassStereo on a CommandBuffer.
Declaration
public void SetSinglePassStereo(SinglePassStereoMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| SinglePassStereoMode | mode |
Implements
SetupCameraProperties(Camera)
Wraps SetupCameraProperties on a CommandBuffer.
Declaration
public void SetupCameraProperties(Camera camera)
Parameters
| Type | Name | Description |
|---|---|---|
| Camera | camera |
Implements
SetViewport(Rect)
Wraps SetViewport on a CommandBuffer.
Declaration
public void SetViewport(Rect pixelRect)
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | pixelRect |
Implements
SetViewProjectionMatrices(Matrix4x4, Matrix4x4)
Wraps SetViewProjectionMatrices on a CommandBuffer.
Declaration
public void SetViewProjectionMatrices(Matrix4x4 view, Matrix4x4 proj)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix4x4 | view | |
| Matrix4x4 | proj |
Implements
SetWireframe(Boolean)
Wraps SetWireframe on a CommandBuffer.
Declaration
public void SetWireframe(bool enable)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | enable |
Implements
UnmarkLateLatchMatrix(CameraLateLatchMatrixType)
Wraps UnmarkLateLatchMatrix on a CommandBuffer.
Declaration
public void UnmarkLateLatchMatrix(CameraLateLatchMatrixType matrixPropertyType)
Parameters
| Type | Name | Description |
|---|---|---|
| CameraLateLatchMatrixType | matrixPropertyType |