Struct ProfilingSample
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Rendering
Syntax
public struct ProfilingSample : IDisposable
Constructors
ProfilingSample(CommandBuffer, String, CustomSampler)
Declaration
public ProfilingSample(CommandBuffer cmd, string name, CustomSampler sampler = null)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
System.String | name | |
CustomSampler | sampler |
ProfilingSample(CommandBuffer, String, Object)
Declaration
public ProfilingSample(CommandBuffer cmd, string format, object arg)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
System.String | format | |
System.Object | arg |
ProfilingSample(CommandBuffer, String, Object[])
Declaration
public ProfilingSample(CommandBuffer cmd, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
System.String | format | |
System.Object[] | args |
Methods
Dispose()
Declaration
public void Dispose()