implements IDisposable
0x00x0068
Members 9
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| 0x04 | m_UintPerInstance | int | Private | |
| 0x04 | m_Capacity | int | Private | |
| 0x04 | m_InstanceCount | int | Private | |
| 0x000C | 0x04 | padding / unreflected | ||
| 0x10 | m_ComponentIsInstanced | NativeArray<System.Boolean> | Private | |
| 0x10 | m_ComponentDataIndex | NativeArray<System.Int32> | Private | |
| 0x10 | m_DescriptionsUintSize | NativeArray<System.Int32> | Private | |
| 0x10 | m_TmpDataBuffer | NativeArray<System.UInt32> | Private | |
| 0x08 | m_WritenComponentIndices | NativeList<System.Int32> | Private | |
| 0x10 | m_DummyArray | NativeArray<System.Int32> | Private | |
Functions 11
| Signature | Flags | Native | Params |
|---|---|---|---|
| void .ctor(ref NativeArray<UnityEngine.Rendering.GPUInstanceComponentDesc>& descriptions, int capacity, const InstanceType& instanceType) | Public+1 flags | 0x10 | |
| long GetUploadBufferPtr() | Public | 0x08 | |
| int GetUIntPerInstance() | Public | 0x04 | |
| int GetParamUIntOffset(int parameterIndex) | Public | 0x04 | |
| int PrepareParamWrite(int parameterIndex) | Public | 0x04 | |
| void AllocateUploadHandles(int handlesLength) | Public | 0x04 | |
| JobHandle WriteInstanceDataJob(int parameterIndex, const NativeArray<T>& instanceData) | Public | 0x10 | |
| JobHandle WriteInstanceDataJob(int parameterIndex, const NativeArray<T>& instanceData, const NativeArray<System.Int32>& gatherIndices) | Public | 0x10 | |
| void SubmitToGpu(GPUInstanceDataBuffer instanceDataBuffer, const NativeArray<UnityEngine.Rendering.GPUInstanceIndex>& gpuInstanceIndices, ref GPUResources& gpuResources, bool submitOnlyWrittenParams) | Public | 0x40 | |
| void SubmitToGpu(GPUInstanceDataBuffer instanceDataBuffer, const NativeArray<UnityEngine.Rendering.InstanceHandle>& instances, ref GPUResources& gpuResources, bool submitOnlyWrittenParams) | Public | 0x40 | |
| void Dispose() | PublicFinal+2 flags | 0x00 |