Struct CullResults
Assembly: UnityEngine.dll
Syntax
public struct CullResults
Fields
|
Improve this Doc
View Source
visibleLights
Declaration
public List<VisibleLight> visibleLights
Field Value
|
Improve this Doc
View Source
visibleOffscreenVertexLights
Declaration
public List<VisibleLight> visibleOffscreenVertexLights
Field Value
|
Improve this Doc
View Source
visibleReflectionProbes
Declaration
public List<VisibleReflectionProbe> visibleReflectionProbes
Field Value
|
Improve this Doc
View Source
visibleRenderers
Declaration
public FilterResults visibleRenderers
Field Value
Methods
|
Improve this Doc
View Source
ComputeDirectionalShadowMatricesAndCullingPrimitives(Int32, Int32, Int32, Vector3, Int32, Single, out Matrix4x4, out Matrix4x4, out ShadowSplitData)
Declaration
public bool ComputeDirectionalShadowMatricesAndCullingPrimitives(int activeLightIndex, int splitIndex, int splitCount, Vector3 splitRatio, int shadowResolution, float shadowNearPlaneOffset, out Matrix4x4 viewMatrix, out Matrix4x4 projMatrix, out ShadowSplitData shadowSplitData)
Parameters
Returns
|
Improve this Doc
View Source
ComputePointShadowMatricesAndCullingPrimitives(Int32, CubemapFace, Single, out Matrix4x4, out Matrix4x4, out ShadowSplitData)
Declaration
public bool ComputePointShadowMatricesAndCullingPrimitives(int activeLightIndex, CubemapFace cubemapFace, float fovBias, out Matrix4x4 viewMatrix, out Matrix4x4 projMatrix, out ShadowSplitData shadowSplitData)
Parameters
Returns
|
Improve this Doc
View Source
ComputeSpotShadowMatricesAndCullingPrimitives(Int32, out Matrix4x4, out Matrix4x4, out ShadowSplitData)
Declaration
public bool ComputeSpotShadowMatricesAndCullingPrimitives(int activeLightIndex, out Matrix4x4 viewMatrix, out Matrix4x4 projMatrix, out ShadowSplitData shadowSplitData)
Parameters
Returns
|
Improve this Doc
View Source
Cull(Camera, ScriptableRenderContext, out CullResults)
Declaration
public static bool Cull(Camera camera, ScriptableRenderContext renderLoop, out CullResults results)
Parameters
Returns
|
Improve this Doc
View Source
Cull(ref ScriptableCullingParameters, ScriptableRenderContext)
Declaration
public static CullResults Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop)
Parameters
Returns
|
Improve this Doc
View Source
Cull(ref ScriptableCullingParameters, ScriptableRenderContext, ref CullResults)
Declaration
public static void Cull(ref ScriptableCullingParameters parameters, ScriptableRenderContext renderLoop, ref CullResults results)
Parameters
|
Improve this Doc
View Source
FillLightIndices(ComputeBuffer)
Declaration
public void FillLightIndices(ComputeBuffer computeBuffer)
Parameters
|
Improve this Doc
View Source
GetCullingParameters(Camera, Boolean, out ScriptableCullingParameters)
Declaration
public static bool GetCullingParameters(Camera camera, bool stereoAware, out ScriptableCullingParameters cullingParameters)
Parameters
Returns
|
Improve this Doc
View Source
GetCullingParameters(Camera, out ScriptableCullingParameters)
Declaration
public static bool GetCullingParameters(Camera camera, out ScriptableCullingParameters cullingParameters)
Parameters
Returns
|
Improve this Doc
View Source
GetLightIndexMap()
Declaration
public int[] GetLightIndexMap()
Returns
|
Improve this Doc
View Source
GetLightIndicesCount()
Declaration
public int GetLightIndicesCount()
Returns
|
Improve this Doc
View Source
GetShadowCasterBounds(Int32, out Bounds)
Declaration
public bool GetShadowCasterBounds(int lightIndex, out Bounds outBounds)
Parameters
Type |
Name |
Description |
Int32 |
lightIndex |
|
Bounds |
outBounds |
|
Returns
|
Improve this Doc
View Source
SetLightIndexMap(Int32[])
Declaration
public void SetLightIndexMap(int[] mapping)
Parameters
Type |
Name |
Description |
Int32[] |
mapping |
|
Extension Methods