Method DrawMeshInstancedIndirect
DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int, MaterialPropertyBlock)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |
DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer, int)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |
DrawMeshInstancedIndirect(Mesh, int, Material, int, ComputeBuffer)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |
DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int, MaterialPropertyBlock)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |
DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer, int)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |
DrawMeshInstancedIndirect(Mesh, int, Material, int, GraphicsBuffer)
Wraps DrawMeshInstancedIndirect on a CommandBuffer.
Declaration
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 |