Zdexby TheHolyOneZ
8,798 structs
Struct

InstanceCuller

: ValueType : Object
UnityEngine.Rendering.InstanceCuller, Unity.RenderPipelines.GPUDriven.Runtime 0x01A0 (416 B) Unity.RenderPipelines.GPUDriven.Runtime.dll
implements IDisposable
0x00x01A0

Members 15

OffsetSizeNameTypeFlags
0x10m_LODParamsToCameraIDNativeParallelHashMap<System.Int32Private
0x20m_CompactedVisibilityMasksParallelBitArrayPrivate
0x10m_CompactedVisibilityMasksJobsHandleJobHandlePrivate
0x88m_IndirectStorageIndirectBufferContextStoragePrivate
0x20m_OcclusionTestShaderOcclusionTestComputeShaderPrivate
0x04m_ResetDrawArgsKernelintPrivate
0x04m_CopyInstancesKernelintPrivate
0x04m_CullInstancesKernelintPrivate
0x00F40x04padding / unreflected
0x08m_DebugStatsDebugRendererBatcherStatsPrivate
0x20m_SplitDebugArrayInstanceCullerSplitDebugArrayPrivate
0x58m_OcclusionEventDebugArrayInstanceOcclusionEventDebugArrayPrivate
0x08m_ProfilingSampleInstanceOcclusionTestProfilingSamplerPrivate
0x10m_ShaderVariablesNativeArray<UnityEngine.Rendering.InstanceOcclusionCullerShaderVariables>Private
0x08m_ConstantBufferComputeBufferPrivate
0x08m_CommandBufferCommandBufferPrivate

Functions 20

SignatureFlagsNativeParams
void Init(GPUResidentDrawerResources resources, DebugRendererBatcherStats debugStats)1 flags0x08
JobHandle AnimateCrossFades(const CPUPerCameraInstanceData& perCameraInstanceData, const BatchCullingContext& cc, ref PerCameraInstanceDataArrays& cameraInstanceData, ref bool& hasAnimatedCrossfade)Private0xB8
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)Private0xE8
int ComputeWorstCaseDrawCommandCount(ref BatchCullingContext& cc, const BinningConfig& binningConfig, CPUDrawInstanceData drawInstanceData)Private0xB8
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)Public0xE8
JobHandle CreateCompactedVisibilityMaskJob(ref ReadOnly& instanceData, const NativeArray<System.Byte>& rendererVisibilityMasks, const JobHandle& cullingJobHandle)Private0xE8
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)Private0x3C
void FlushDebugCounters()Private0x00
void OnBeginSceneViewCameraRendering()Private0x00
void OnEndSceneViewCameraRendering()Private0x00
void UpdateFrame(int cameraCount)Public0x04
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