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 | |
ComputeBuffer | bufferWithArgs | |
int | argsOffset | |
MaterialPropertyBlock | 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 | |
ComputeBuffer | 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 | |
ComputeBuffer | 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 | |
GraphicsBuffer | bufferWithArgs | |
int | argsOffset | |
MaterialPropertyBlock | 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 | |
GraphicsBuffer | 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 | |
GraphicsBuffer | bufferWithArgs |