Method DrawMeshInstancedIndirect
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 |
Implements
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 |
Implements
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 |
Implements
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 |
Implements
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 |
Implements
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 |