Class ProbeRenderStepsExt
Extension methods for ProbeRenderSteps.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public static class ProbeRenderStepsExt
Methods
FromCubeFace(CubemapFace)
Creates the render step for the given cubemap face.
Declaration
public static ProbeRenderSteps FromCubeFace(CubemapFace face)
Parameters
Type | Name | Description |
---|---|---|
CubemapFace | face | The cubemap face. |
Returns
Type | Description |
---|---|
ProbeRenderSteps | The render step for the cubemap face, or planar if the face is unknown. |
FromProbeType(ProbeType)
Creates the render steps for the given probe type.
Declaration
public static ProbeRenderSteps FromProbeType(ProbeSettings.ProbeType probeType)
Parameters
Type | Name | Description |
---|---|---|
ProbeSettings.ProbeType | probeType | The probe type. |
Returns
Type | Description |
---|---|
ProbeRenderSteps | The render steps for the given probe type. |
HasCubeFace(ProbeRenderSteps, CubemapFace)
Test if the bit for the given cubemap face is set.
Declaration
public static bool HasCubeFace(this ProbeRenderSteps steps, CubemapFace face)
Parameters
Type | Name | Description |
---|---|---|
ProbeRenderSteps | steps | The probe rendering steps. |
CubemapFace | face | The cubemap face. |
Returns
Type | Description |
---|---|
bool | True if the cubemap face bit is set, false otherwise. |
IsNone(ProbeRenderSteps)
Test if any bits are set.
Declaration
public static bool IsNone(this ProbeRenderSteps steps)
Parameters
Type | Name | Description |
---|---|---|
ProbeRenderSteps | steps | The probe rendering steps. |
Returns
Type | Description |
---|---|
bool | True if any bits are set, false otherwise. |
LowestSetBit(ProbeRenderSteps)
Extract the lowest set bit.
Declaration
public static ProbeRenderSteps LowestSetBit(this ProbeRenderSteps steps)
Parameters
Type | Name | Description |
---|---|---|
ProbeRenderSteps | steps | The probe rendering steps. |
Returns
Type | Description |
---|---|
ProbeRenderSteps | The lowest set bit, or None. |