implements IDisposable
0x00x01A0
Members 15
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x10 | m_LODParamsToCameraID | NativeParallelHashMap<System.Int32 | Private | |
| 0x20 | m_CompactedVisibilityMasks | ParallelBitArray | Private | |
| 0x10 | m_CompactedVisibilityMasksJobsHandle | JobHandle | Private | |
| 0x88 | m_IndirectStorage | IndirectBufferContextStorage | Private | |
| 0x20 | m_OcclusionTestShader | OcclusionTestComputeShader | Private | |
| 0x04 | m_ResetDrawArgsKernel | int | Private | |
| 0x04 | m_CopyInstancesKernel | int | Private | |
| 0x04 | m_CullInstancesKernel | int | Private | |
| 0x00F4 | 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 20
| Signature | Flags | Native | Params |
|---|---|---|---|
| void Init(GPUResidentDrawerResources resources, DebugRendererBatcherStats debugStats) | 1 flags | 0x08 | |
| JobHandle AnimateCrossFades(const CPUPerCameraInstanceData& perCameraInstanceData, const BatchCullingContext& cc, ref PerCameraInstanceDataArrays& cameraInstanceData, ref bool& hasAnimatedCrossfade) | Private | 0xB8 | |
| JobHandle CreateFrustumCullingJob(ref BatchCullingContext& cc, ref ReadOnly& instanceData, ref ReadOnly& sharedInstanceData, ref CPUPerCameraInstanceData& perCameraInstanceData, const NativeList<UnityEngine.Rendering.LODGroupCullingData>& lodGroupCullingData, ref BinningConfig& binningConfig, float smallMeshScreenPercentage, OcclusionCullingCommon occlusionCullingCommon, const NativeArray<System.Byte>& rendererVisibilityMasks, const NativeArray<System.Byte>& rendererMeshLodSettings, const NativeArray<System.Byte>& rendererCrossFadeValues) | Private | 0xE8 | |
| int ComputeWorstCaseDrawCommandCount(ref BatchCullingContext& cc, const BinningConfig& binningConfig, CPUDrawInstanceData drawInstanceData) | Private | 0xB8 | |
| JobHandle CreateCullJobTree(ref BatchCullingContext& cc, const BatchCullingOutput& cullingOutput, ref ReadOnly& instanceData, ref ReadOnly& sharedInstanceData, ref CPUPerCameraInstanceData& perCameraInstanceData, ref ReadOnly& instanceDataBuffer, const NativeList<UnityEngine.Rendering.LODGroupCullingData>& lodGroupCullingData, CPUDrawInstanceData drawInstanceData, const NativeParallelHashMap<System.UInt32& batchIDs, float smallMeshScreenPercentage, OcclusionCullingCommon occlusionCullingCommon) | Public | 0xE8 | |
| JobHandle CreateCompactedVisibilityMaskJob(ref ReadOnly& instanceData, const NativeArray<System.Byte>& rendererVisibilityMasks, const JobHandle& cullingJobHandle) | Private | 0xE8 | |
| 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 | 0x3C | |
| void FlushDebugCounters() | Private | 0x00 | |
| void OnBeginSceneViewCameraRendering() | Private | 0x00 | |
| void OnEndSceneViewCameraRendering() | Private | 0x00 | |
| void UpdateFrame(int cameraCount) | Public | 0x04 | |
| void OnBeginCameraRendering(Camera camera) | Public | 0x08 | |
| void OnEndCameraRendering(Camera camera) | Public | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 |