Zdexby TheHolyOneZ
9,523 structs
Struct

InstanceCuller

: ValueType : Object
UnityEngine.Rendering.InstanceCuller, Unity.RenderPipelines.GPUDriven.Runtime 0x0188 (392 B) Unity.RenderPipelines.GPUDriven.Runtime.dll
implements IDisposable
0x00x0188

Members 14

OffsetSizeNameTypeFlags
0x20m_CompactedVisibilityMasksParallelBitArrayPrivate
0x10m_CompactedVisibilityMasksJobsHandleJobHandlePrivate
0x80m_IndirectStorageIndirectBufferContextStoragePrivate
0x20m_OcclusionTestShaderOcclusionTestComputeShaderPrivate
0x04m_ResetDrawArgsKernelintPrivate
0x04m_CopyInstancesKernelintPrivate
0x04m_CullInstancesKernelintPrivate
0x00DC0x04padding / unreflected
0x08m_DebugStatsDebugRendererBatcherStatsPrivate
0x20m_SplitDebugArrayInstanceCullerSplitDebugArrayPrivate
0x58m_OcclusionEventDebugArrayInstanceOcclusionEventDebugArrayPrivate
0x08m_ProfilingSampleInstanceOcclusionTestProfilingSamplerPrivate
0x10m_ShaderVariablesNativeArray<UnityEngine.Rendering.InstanceOcclusionCullerShaderVariables>Private
0x08m_ConstantBufferComputeBufferPrivate
0x08m_CommandBufferCommandBufferPrivate

Functions 19

SignatureFlagsNativeParams
void Init(GPUResidentDrawerResources resources, DebugRendererBatcherStats debugStats)1 flags0x08
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)Private0xD8
int ComputeWorstCaseDrawCommandCount(ref BatchCullingContext& cc, const BinningConfig& binningConfig, CPUDrawInstanceData drawInstanceData, int crossFadedRendererCount)Private0xB8
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)Public0xD8
JobHandle CreateCompactedVisibilityMaskJob(ref ReadOnly& instanceData, const NativeArray<System.Byte>& rendererVisibilityMasks, const JobHandle& cullingJobHandle)Private0xD8
void InstanceOccludersUpdated(int viewInstanceID, int subviewMask, RenderersBatchersContext batchersContext)Public0x08
void DisposeCompactVisibilityMasks()Private0x00
void DisposeSceneViewHiddenBits()Private0x00
ParallelBitArray GetCompactedVisibilityMasks(bool syncCullingJobs)Public0x20
void InstanceOcclusionTest(RenderGraph renderGraph, ref OcclusionCullingSettings& settings, const ReadOnlySpan<UnityEngine.Rendering.SubviewOcclusionTest>& subviewOcclusionTests, RenderersBatchersContext batchersContext)Public0x10
void EnsureValidOcclusionTestResults(int viewInstanceID)1 flags0x04
void AddOcclusionCullingDispatch(ComputeCommandBuffer cmd, ref OcclusionCullingSettings& settings, ref InstanceOcclusionTestSubviewSettings& subviewSettings, ref IndirectBufferContextHandles& bufferHandles, ref OccluderHandles& occluderHandles, RenderersBatchersContext batchersContext)Private0x30
void FlushDebugCounters()Private0x00
void OnBeginSceneViewCameraRendering()Private0x00
void OnEndSceneViewCameraRendering()Private0x00
void UpdateFrame()Public0x00
void OnBeginCameraRendering(Camera camera)Public0x08
void OnEndCameraRendering(Camera camera)Public0x08
void Dispose()PublicFinal+2 flags0x00

Used by 1

types with a member, parameter or interface of this type