implements IDisposable
0x00x0118
Members 30
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | kMaxThreadGroupsPerDispatch | int | PrivateStatic+1 flags | 65535 |
| — | 0x04 | kThreadGroupSize | int | PrivateStatic+1 flags | 256 |
| — | 0x04 | InvalidHandle | int | PrivateStatic+1 flags | -1 |
| — | 0x04 | VertexBufferTarget | Target | PrivateStatic+1 flags | 16 |
| — | 0x04 | IndexBufferTarget | Target | PrivateStatic+1 flags | 16 |
| 0x08 | m_GlobalIndexBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_GlobalVertexBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_GlobalMeshChunkTableEntryBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_DummyBuffer | GraphicsBuffer | Private+1 flags | — | |
| 0x04 | m_MaxVertCounts | int | Private | — | |
| 0x04 | m_MaxIndexCounts | int | Private | — | |
| 0x04 | m_MaxMeshChunkTableEntriesCount | int | Private | — | |
| 0x003C | 0x04 | padding / unreflected | |||
| 0x20 | m_VertexAllocator | BlockAllocator | Private | — | |
| 0x20 | m_IndexAllocator | BlockAllocator | Private | — | |
| 0x20 | m_MeshChunkTableAllocator | BlockAllocator | Private | — | |
| 0x10 | m_MeshHashToGeoSlot | NativeParallelHashMap<System.UInt32 | Private | — | |
| 0x08 | m_GeoSlots | List<UnityEngine.Rendering.UnifiedRayTracing.GeometryPool.GeometrySlot> | Private | — | |
| 0x08 | m_FreeGeoSlots | NativeList<System.Int32> | Private | — | |
| 0x10 | m_GeoPoolEntryHashToSlot | NativeParallelHashMap<System.UInt32 | Private | — | |
| 0x08 | m_GeoPoolEntrySlots | NativeList<UnityEngine.Rendering.UnifiedRayTracing.GeometryPool.GeoPoolEntrySlot> | Private | — | |
| 0x08 | m_FreeGeoPoolEntrySlots | NativeList<UnityEngine.Rendering.UnifiedRayTracing.GeometryPoolHandle> | Private | — | |
| 0x08 | m_InputBufferReferences | List<UnityEngine.GraphicsBuffer> | Private+1 flags | — | |
| 0x08 | m_CopyShader | ComputeShader | Private+1 flags | — | |
| 0x08 | m_GeometryPoolKernelsCS | ComputeShader | Private | — | |
| 0x04 | m_KernelMainUpdateIndexBuffer16 | int | Private | — | |
| 0x04 | m_KernelMainUpdateIndexBuffer32 | int | Private | — | |
| 0x04 | m_KernelMainUpdateVertexBuffer | int | Private | — | |
| 0x0104 | 0x04 | padding / unreflected | |||
| 0x08 | m_CmdBuffer | CommandBuffer | Private+1 flags | — | |
| 0x01 | m_MustClearCmdBuffer | bool | Private | — | |
| 0x0111 | 0x03 | padding / unreflected | |||
| 0x04 | m_PendingCmds | int | Private | — | |
Functions 41
| Signature | Flags | Native | Params |
|---|---|---|---|
| int GetVertexByteSize() | PublicStatic | 0x04 | |
| int GetIndexByteSize() | PublicStatic | 0x04 | |
| int GetMeshChunkTableEntryByteSize() | PublicStatic | 0x04 | |
| int GetFormatByteCount(const VertexAttributeFormat& format) | Private | 0x04 | |
| int DivUp(int x, int y) | PrivateStatic | 0x04 | |
| GraphicsBuffer get_globalIndexBuffer() | Public+1 flags | 0x08 | |
| GraphicsBuffer get_globalVertexBuffer() | Public+1 flags | 0x08 | |
| int get_globalVertexBufferStrideBytes() | Public+1 flags | 0x04 | |
| GraphicsBuffer get_globalMeshChunkTableEntryBuffer() | Public+1 flags | 0x08 | |
| int get_indicesCount() | Public+1 flags | 0x04 | |
| int get_verticesCount() | Public+1 flags | 0x04 | |
| int get_meshChunkTablesEntryCount() | Public+1 flags | 0x04 | |
| void .ctor(ref GeometryPoolDesc& desc, ComputeShader geometryPoolShader, ComputeShader copyShader) | Public+1 flags | 0x0C | |
| void DisposeInputBuffers() | Private | 0x00 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void LoadKernels(ComputeShader geometryPoolShader) | Private | 0x08 | |
| int CalcVertexCount(int bufferByteSize) | Private | 0x04 | |
| int CalcIndexCount(int bufferByteSize) | Private | 0x04 | |
| int CalcMeshChunkTablesCount(int bufferByteSize) | Private | 0x04 | |
| void DeallocateGeometrySlot(ref GeometrySlot& slot) | Private | 0x30 | |
| void DeallocateGeometrySlot(int geoSlotHandle) | Private | 0x04 | |
| bool AllocateGeo(Mesh mesh, ref int& allocationHandle) | Private | 0x08 | |
| void DeallocateGeoPoolEntrySlot(const GeometryPoolHandle& handle) | Private | 0x04 | |
| void DeallocateGeoPoolEntrySlot(ref GeoPoolEntrySlot& geoPoolEntrySlot) | Private | 0x0C | |
| GeometryPoolEntryInfo GetEntryInfo(const GeometryPoolHandle& handle) | Public | 0x08 | |
| GeometrySlot GetEntryGeomAllocation(const GeometryPoolHandle& handle) | Public | 0x30 | |
| int GetInstanceGeometryIndex(Mesh mesh) | Public | 0x08 | |
| void UpdateGeoGpuState(Mesh mesh, const GeometryPoolHandle& handle) | Private | 0x08 | |
| uint FNVHash(uint prevHash, uint dword) | Private | 0x04 | |
| uint CalculateClusterHash(Mesh mesh, const GeometryPoolSubmeshData[]& submeshData) | Private | 0x08 | |
| GeometryPoolHandle GetHandle(Mesh mesh) | Public | 0x08 | |
| int FindSubmeshEntryInDesc(int submeshIndex, ref GeometryPoolSubmeshData[]& submeshData) | PrivateStatic | 0x08 | |
| bool Register(Mesh mesh, ref GeometryPoolHandle& outHandle) | Public | 0x08 | |
| bool Register(ref GeometryPoolEntryDesc& entryDesc, ref GeometryPoolHandle& outHandle) | Public | 0x10 | |
| void Unregister(const GeometryPoolHandle& handle) | Public | 0x04 | |
| void SendGpuCommands() | Public | 0x00 | |
| GraphicsBuffer LoadIndexBuffer(Mesh mesh) | Private | 0x08 | |
| void LoadVertexAttribInfo(Mesh mesh, const VertexAttribute& attribute, ref VertexBufferAttribInfo& output) | Private | 0x18 | |
| CommandBuffer AllocateCommandBuffer() | Private | 0x08 | |
| void AddIndexUpdateCommand(CommandBuffer cmdBuffer, const IndexFormat& inputFormat, ref GraphicsBuffer& inputBuffer, ref Allocation& location, int firstVertex, int inputOffset, int indexCount, int outputOffset, GraphicsBuffer outputIdxBuffer) | Private | 0x0C | |
| void AddVertexUpdateCommand(CommandBuffer cmdBuffer, int baseVertexOffset, ref VertexBufferAttribInfo& pos, ref VertexBufferAttribInfo& uv0, ref VertexBufferAttribInfo& uv1, ref VertexBufferAttribInfo& n, ref Allocation& location, GraphicsBuffer outputVertexBuffer) | Private | 0x18 |