Method DrawRenderer
DrawRenderer(Renderer, Material, int, int)
Wraps DrawRenderer on a CommandBuffer.
Declaration
void DrawRenderer(Renderer renderer, Material material, int submeshIndex, int shaderPass)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer | |
Material | material | |
int | submeshIndex | |
int | shaderPass |
DrawRenderer(Renderer, Material, int)
Wraps DrawRenderer on a CommandBuffer.
Declaration
void DrawRenderer(Renderer renderer, Material material, int submeshIndex)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer | |
Material | material | |
int | submeshIndex |
DrawRenderer(Renderer, Material)
Wraps DrawRenderer on a CommandBuffer.
Declaration
void DrawRenderer(Renderer renderer, Material material)
Parameters
Type | Name | Description |
---|---|---|
Renderer | renderer | |
Material | material |