Struct BatchRendererGroupGlobals
Contains default values for built-in properties that the user is expected to manually
provide for DOTS_INSTANCING_ON
shaders. The struct layout matches the
unity_DOTSInstanceGlobalValues
constant buffer the shader expects the default
values in.
Implements
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
[Obsolete("BatchRendererGroupGlobals and associated cbuffer are now set automatically by Unity. Setting it manually is no longer necessary or supported.")]
[Serializable]
public struct BatchRendererGroupGlobals : IEquatable<BatchRendererGroupGlobals>
Fields
Name | Description |
---|---|
Probes |
The default value to use for the |
SHCoefficients | The default values to use for the built-in spherical harmonics shader properties. |
Spec |
The default value to use for the |
Spec |
The default value to use for the |
k |
The unique identifier for k |
k |
The string name of the constant buffer |
Properties
Name | Description |
---|---|
Default | Construct a struct with default values based on the currently active reflection probe and ambient lighting settings. |
Methods
Name | Description |
---|---|
Equals(object) | Equals implementation. |
Equals(Batch |
Equals implementation. |
Get |
GetHashCode implementation. |
Operators
Name | Description |
---|---|
operator ==(Batch |
Equality operator implementation. |
operator !=(Batch |
Not equals operator implementation. |