Constructor ProfilingSample
ProfilingSample(CommandBuffer, string, CustomSampler)
Constructor
Declaration
public ProfilingSample(CommandBuffer cmd, string name, CustomSampler sampler = null)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer. |
string | name | Name of the profiling sample. |
CustomSampler | sampler | Custom sampler for CPU profiling. |
ProfilingSample(CommandBuffer, string, object)
Constructor
Declaration
public ProfilingSample(CommandBuffer cmd, string format, object arg)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer. |
string | format | Formating of the profiling sample. |
object | arg | Parameters for formating the name. |
ProfilingSample(CommandBuffer, string, params object[])
Constructor.
Declaration
public ProfilingSample(CommandBuffer cmd, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | Command Buffer. |
string | format | Formating of the profiling sample. |
object[] | args | Parameters for formating the name. |