implements IDisposable
0x00x0188
Members 14
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x20 | m_CompactedVisibilityMasks | ParallelBitArray | Private | |
| 0x10 | m_CompactedVisibilityMasksJobsHandle | JobHandle | Private | |
| 0x80 | m_IndirectStorage | IndirectBufferContextStorage | Private | |
| 0x20 | m_OcclusionTestShader | OcclusionTestComputeShader | Private | |
| 0x04 | m_ResetDrawArgsKernel | int | Private | |
| 0x04 | m_CopyInstancesKernel | int | Private | |
| 0x04 | m_CullInstancesKernel | int | Private | |
| 0x00DC | 0x04 | padding / unreflected | ||
| 0x08 | m_DebugStats | DebugRendererBatcherStats | Private | |
| 0x20 | m_SplitDebugArray | InstanceCullerSplitDebugArray | Private | |
| 0x58 | m_OcclusionEventDebugArray | InstanceOcclusionEventDebugArray | Private | |
| 0x08 | m_ProfilingSampleInstanceOcclusionTest | ProfilingSampler | Private | |
| 0x10 | m_ShaderVariables | NativeArray<UnityEngine.Rendering.InstanceOcclusionCullerShaderVariables> | Private | |
| 0x08 | m_ConstantBuffer | ComputeBuffer | Private | |
| 0x08 | m_CommandBuffer | CommandBuffer | Private | |
Functions 19
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Init(GPUResidentDrawerResources resources, DebugRendererBatcherStats debugStats) | 1 flags | 0x08 | |
| JobHandle CreateFrustumCullingJob(ref BatchCullingContext& cc, ref ReadOnly& instanceData, ref ReadOnly& sharedInstanceData, const NativeList<UnityEngine.Rendering.LODGroupCullingData>& lodGroupCullingData, ref BinningConfig& binningConfig, float smallMeshScreenPercentage, OcclusionCullingCommon occlusionCullingCommon, const NativeArray<System.Byte>& rendererVisibilityMasks, const NativeArray<System.Byte>& rendererCrossFadeValues) | Private | 0xD8 | |
| int ComputeWorstCaseDrawCommandCount(ref BatchCullingContext& cc, const BinningConfig& binningConfig, CPUDrawInstanceData drawInstanceData, int crossFadedRendererCount) | Private | 0xB8 | |
| JobHandle CreateCullJobTree(ref BatchCullingContext& cc, const BatchCullingOutput& cullingOutput, ref ReadOnly& instanceData, ref ReadOnly& sharedInstanceData, ref ReadOnly& instanceDataBuffer, const NativeList<UnityEngine.Rendering.LODGroupCullingData>& lodGroupCullingData, CPUDrawInstanceData drawInstanceData, const NativeParallelHashMap<System.UInt32& batchIDs, int crossFadedRendererCount, float smallMeshScreenPercentage, OcclusionCullingCommon occlusionCullingCommon) | Public | 0xD8 | |
| JobHandle CreateCompactedVisibilityMaskJob(ref ReadOnly& instanceData, const NativeArray<System.Byte>& rendererVisibilityMasks, const JobHandle& cullingJobHandle) | Private | 0xD8 | |
| void InstanceOccludersUpdated(int viewInstanceID, int subviewMask, RenderersBatchersContext batchersContext) | Public | 0x08 | |
| void DisposeCompactVisibilityMasks() | Private | 0x00 | |
| void DisposeSceneViewHiddenBits() | Private | 0x00 | |
| ParallelBitArray GetCompactedVisibilityMasks(bool syncCullingJobs) | Public | 0x20 | |
| void InstanceOcclusionTest(RenderGraph renderGraph, ref OcclusionCullingSettings& settings, const ReadOnlySpan<UnityEngine.Rendering.SubviewOcclusionTest>& subviewOcclusionTests, RenderersBatchersContext batchersContext) | Public | 0x10 | |
| void EnsureValidOcclusionTestResults(int viewInstanceID) | 1 flags | 0x04 | |
| void AddOcclusionCullingDispatch(ComputeCommandBuffer cmd, ref OcclusionCullingSettings& settings, ref InstanceOcclusionTestSubviewSettings& subviewSettings, ref IndirectBufferContextHandles& bufferHandles, ref OccluderHandles& occluderHandles, RenderersBatchersContext batchersContext) | Private | 0x30 | |
| void FlushDebugCounters() | Private | 0x00 | |
| void OnBeginSceneViewCameraRendering() | Private | 0x00 | |
| void OnEndSceneViewCameraRendering() | Private | 0x00 | |
| void UpdateFrame() | Public | 0x00 | |
| void OnBeginCameraRendering(Camera camera) | Public | 0x08 | |
| void OnEndCameraRendering(Camera camera) | Public | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 |