Zdexby TheHolyOneZ
36,909 classes
Class

GeometryPool

: Object
UnityEngine.Rendering.UnifiedRayTracing.GeometryPool, Unity.UnifiedRayTracing.Runtime 0x0118 (280 B) inherited 0x0010 Unity.UnifiedRayTracing.Runtime.dll
implements IDisposable
0x00x0118

Members 30

OffsetSizeNameTypeFlagsDefault
—0x04kMaxThreadGroupsPerDispatchintPrivateStatic+1 flags65535
—0x04kThreadGroupSizeintPrivateStatic+1 flags256
—0x04InvalidHandleintPrivateStatic+1 flags-1
—0x04VertexBufferTargetTargetPrivateStatic+1 flags16
—0x04IndexBufferTargetTargetPrivateStatic+1 flags16
0x08m_GlobalIndexBufferGraphicsBufferPrivate—
0x08m_GlobalVertexBufferGraphicsBufferPrivate—
0x08m_GlobalMeshChunkTableEntryBufferGraphicsBufferPrivate—
0x08m_DummyBufferGraphicsBufferPrivate+1 flags—
0x04m_MaxVertCountsintPrivate—
0x04m_MaxIndexCountsintPrivate—
0x04m_MaxMeshChunkTableEntriesCountintPrivate—
0x003C0x04padding / unreflected
0x20m_VertexAllocatorBlockAllocatorPrivate—
0x20m_IndexAllocatorBlockAllocatorPrivate—
0x20m_MeshChunkTableAllocatorBlockAllocatorPrivate—
0x10m_MeshHashToGeoSlotNativeParallelHashMap<System.UInt32Private—
0x08m_GeoSlotsList<UnityEngine.Rendering.UnifiedRayTracing.GeometryPool.GeometrySlot>Private—
0x08m_FreeGeoSlotsNativeList<System.Int32>Private—
0x10m_GeoPoolEntryHashToSlotNativeParallelHashMap<System.UInt32Private—
0x08m_GeoPoolEntrySlotsNativeList<UnityEngine.Rendering.UnifiedRayTracing.GeometryPool.GeoPoolEntrySlot>Private—
0x08m_FreeGeoPoolEntrySlotsNativeList<UnityEngine.Rendering.UnifiedRayTracing.GeometryPoolHandle>Private—
0x08m_InputBufferReferencesList<UnityEngine.GraphicsBuffer>Private+1 flags—
0x08m_CopyShaderComputeShaderPrivate+1 flags—
0x08m_GeometryPoolKernelsCSComputeShaderPrivate—
0x04m_KernelMainUpdateIndexBuffer16intPrivate—
0x04m_KernelMainUpdateIndexBuffer32intPrivate—
0x04m_KernelMainUpdateVertexBufferintPrivate—
0x01040x04padding / unreflected
0x08m_CmdBufferCommandBufferPrivate+1 flags—
0x01m_MustClearCmdBufferboolPrivate—
0x01110x03padding / unreflected
0x04m_PendingCmdsintPrivate—

Functions 41

SignatureFlagsNativeParams
int GetVertexByteSize()PublicStatic0x04
int GetIndexByteSize()PublicStatic0x04
int GetMeshChunkTableEntryByteSize()PublicStatic0x04
int GetFormatByteCount(const VertexAttributeFormat& format)Private0x04
int DivUp(int x, int y)PrivateStatic0x04
GraphicsBuffer get_globalIndexBuffer()Public+1 flags0x08
GraphicsBuffer get_globalVertexBuffer()Public+1 flags0x08
int get_globalVertexBufferStrideBytes()Public+1 flags0x04
GraphicsBuffer get_globalMeshChunkTableEntryBuffer()Public+1 flags0x08
int get_indicesCount()Public+1 flags0x04
int get_verticesCount()Public+1 flags0x04
int get_meshChunkTablesEntryCount()Public+1 flags0x04
void .ctor(ref GeometryPoolDesc& desc, ComputeShader geometryPoolShader, ComputeShader copyShader)Public+1 flags0x0C
void DisposeInputBuffers()Private0x00
void Dispose()PublicFinal+2 flags0x00
void LoadKernels(ComputeShader geometryPoolShader)Private0x08
int CalcVertexCount(int bufferByteSize)Private0x04
int CalcIndexCount(int bufferByteSize)Private0x04
int CalcMeshChunkTablesCount(int bufferByteSize)Private0x04
void DeallocateGeometrySlot(ref GeometrySlot& slot)Private0x30
void DeallocateGeometrySlot(int geoSlotHandle)Private0x04
bool AllocateGeo(Mesh mesh, ref int& allocationHandle)Private0x08
void DeallocateGeoPoolEntrySlot(const GeometryPoolHandle& handle)Private0x04
void DeallocateGeoPoolEntrySlot(ref GeoPoolEntrySlot& geoPoolEntrySlot)Private0x0C
GeometryPoolEntryInfo GetEntryInfo(const GeometryPoolHandle& handle)Public0x08
GeometrySlot GetEntryGeomAllocation(const GeometryPoolHandle& handle)Public0x30
int GetInstanceGeometryIndex(Mesh mesh)Public0x08
void UpdateGeoGpuState(Mesh mesh, const GeometryPoolHandle& handle)Private0x08
uint FNVHash(uint prevHash, uint dword)Private0x04
uint CalculateClusterHash(Mesh mesh, const GeometryPoolSubmeshData[]& submeshData)Private0x08
GeometryPoolHandle GetHandle(Mesh mesh)Public0x08
int FindSubmeshEntryInDesc(int submeshIndex, ref GeometryPoolSubmeshData[]& submeshData)PrivateStatic0x08
bool Register(Mesh mesh, ref GeometryPoolHandle& outHandle)Public0x08
bool Register(ref GeometryPoolEntryDesc& entryDesc, ref GeometryPoolHandle& outHandle)Public0x10
void Unregister(const GeometryPoolHandle& handle)Public0x04
void SendGpuCommands()Public0x00
GraphicsBuffer LoadIndexBuffer(Mesh mesh)Private0x08
void LoadVertexAttribInfo(Mesh mesh, const VertexAttribute& attribute, ref VertexBufferAttribInfo& output)Private0x18
CommandBuffer AllocateCommandBuffer()Private0x08
void AddIndexUpdateCommand(CommandBuffer cmdBuffer, const IndexFormat& inputFormat, ref GraphicsBuffer& inputBuffer, ref Allocation& location, int firstVertex, int inputOffset, int indexCount, int outputOffset, GraphicsBuffer outputIdxBuffer)Private0x0C
void AddVertexUpdateCommand(CommandBuffer cmdBuffer, int baseVertexOffset, ref VertexBufferAttribInfo& pos, ref VertexBufferAttribInfo& uv0, ref VertexBufferAttribInfo& uv1, ref VertexBufferAttribInfo& n, ref Allocation& location, GraphicsBuffer outputVertexBuffer)Private0x18

Used by 2

types with a member, parameter or interface of this type