Zdexby TheHolyOneZ
36,909 classes
Class

OcclusionCullingCommon

: Object
UnityEngine.Rendering.OcclusionCullingCommon, Unity.RenderPipelines.GPUDriven.Runtime 0x00D8 (216 B) inherited 0x0010 Unity.RenderPipelines.GPUDriven.Runtime.dll
implements IDisposable
0x00x00D8

Members 20

OffsetSizeNameTypeFlagsDefault
0x04s_MaxContextGCFrameintPrivateStatic+1 flags—
0x08m_DebugOcclusionTestMaterialMaterialPrivate—
0x08m_OccluderDebugViewMaterialMaterialPrivate—
0x08m_OcclusionDebugCSComputeShaderPrivate—
0x04m_ClearOcclusionDebugKernelintPrivate—
0x002C0x04padding / unreflected
0x08m_OccluderDepthPyramidCSComputeShaderPrivate—
0x04m_OccluderDepthDownscaleKernelintPrivate—
0x04m_FrameIndexintPrivate—
0x28m_SilhouettePlaneCacheSilhouettePlaneCachePrivate—
0x10m_ViewIDToIndexMapNativeParallelHashMap<System.Int32Private—
0x08m_OccluderContextDataList<UnityEngine.Rendering.OccluderContext>Private—
0x08m_OccluderContextSlotsNativeList<UnityEngine.Rendering.OcclusionCullingCommon.OccluderContextSlot>Private—
0x08m_FreeOccluderContextsNativeList<System.Int32>Private—
0x10m_CommonShaderVariablesNativeArray<UnityEngine.Rendering.OcclusionCullingCommonShaderVariables>Private—
0x08m_CommonConstantBufferComputeBufferPrivate—
0x10m_DebugShaderVariablesNativeArray<UnityEngine.Rendering.OcclusionCullingDebugShaderVariables>Private—
0x08m_DebugConstantBufferComputeBufferPrivate—
0x08m_ProfilingSamplerUpdateOccludersProfilingSamplerPrivate—
0x08m_ProfilingSamplerOcclusionTestOverlayProfilingSamplerPrivate—
0x08m_ProfilingSamplerOccluderOverlayProfilingSamplerPrivate—

Functions 23

SignatureFlagsNativeParams
void Init(GPUResidentDrawerResources resources)1 flags0x08
bool UseOcclusionDebug(ref OccluderContext& occluderCtx)Static+1 flags0x80
void PrepareCulling(ComputeCommandBuffer cmd, ref OccluderContext& occluderCtx, ref OcclusionCullingSettings& settings, ref InstanceOcclusionTestSubviewSettings& subviewSettings, ref OcclusionTestComputeShader& shader, bool useOcclusionDebug)1 flags0x80
void SetDepthPyramid(ComputeCommandBuffer cmd, ref OcclusionTestComputeShader& shader, int kernel, ref OccluderHandles& occluderHandles)Static+1 flags0x20
void SetDebugPyramid(ComputeCommandBuffer cmd, ref OcclusionTestComputeShader& shader, int kernel, ref OccluderHandles& occluderHandles)Static+1 flags0x20
void RenderDebugOcclusionTestOverlay(RenderGraph renderGraph, DebugDisplayGPUResidentDrawer debugSettings, int viewInstanceID, ref TextureHandle& colorBuffer)Public0x10
void RenderDebugOccluderOverlay(RenderGraph renderGraph, DebugDisplayGPUResidentDrawer debugSettings, const Vector2& screenPos, float maxHeight, ref TextureHandle& colorBuffer)Public0x10
void DispatchDebugClear(ComputeCommandBuffer cmd, int viewInstanceID)Private0x08
OccluderHandles PrepareOccluders(RenderGraph renderGraph, ref OccluderParameters& occluderParams)Private0x24
void CreateFarDepthPyramid(ComputeCommandBuffer cmd, ref OccluderParameters& occluderParams, const ReadOnlySpan<UnityEngine.Rendering.OccluderSubviewUpdate>& occluderSubviewUpdates, ref OccluderHandles& occluderHandles)Private0x24
bool UpdateInstanceOccluders(RenderGraph renderGraph, ref OccluderParameters& occluderParams, const ReadOnlySpan<UnityEngine.Rendering.OccluderSubviewUpdate>& occluderSubviewUpdates)Public0x24
void UpdateSilhouettePlanes(int viewInstanceID, const NativeArray<UnityEngine.Plane>& planes)1 flags0x10
OcclusionCullingDebugOutput GetOcclusionTestDebugOutput(int viewInstanceID)1 flags0xB0
void UpdateOccluderStats(DebugRendererBatcherStats debugStats)Public0x08
bool HasOccluderContext(int viewInstanceID)1 flags0x04
bool GetOccluderContext(int viewInstanceID, ref OccluderContext& occluderContext)1 flags0x80
void UpdateFrame()1 flags0x00
int NewContext(int viewInstanceID)Private0x04
void DeleteContext(int viewInstanceID)Private0x04
void Dispose()PublicFinal+2 flags0x00
void .ctor()Public+1 flags0x00
void .cctor()PrivateStatic+1 flags0x00
void <RenderDebugOcclusionTestOverlay>b__29_1(OcclusionTestOverlayPassData data, const RasterGraphContext& ctx)Private0x10

Used by 3

types with a member, parameter or interface of this type