UNPKG

@reactunity/renderer

Version:
997 lines (996 loc) 2.53 MB
import { System } from './system'; interface Ref<T> { type?: T; __ref: true; } type Byte = number; export declare namespace Unity { namespace Collections { enum Allocator { Invalid = 0, None = 1, Temp = 2, TempJob = 3, Persistent = 4, AudioKernel = 5, Domain = 6, FirstUserIndex = 64 } enum NativeLeakDetectionMode { Disabled = 1, Enabled = 2, EnabledWithStackTrace = 3 } class NativeLeakDetection { static Mode: Unity.Collections.NativeLeakDetectionMode; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } enum NativeArrayOptions { UninitializedMemory = 0, ClearMemory = 1 } class NativeArray<T = any> { constructor(length: number, allocator: Unity.Collections.Allocator, options?: Unity.Collections.NativeArrayOptions); constructor(array: T[], allocator: Unity.Collections.Allocator); constructor(array: Unity.Collections.NativeArray<T>, allocator: Unity.Collections.Allocator); [key: string]: any; Length: number; IsCreated: boolean; Dispose(): void; Dispose(inputDeps: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle; CopyFrom(array: T[]): void; CopyFrom(array: Unity.Collections.NativeArray<T>): void; CopyTo(array: T[]): void; CopyTo(array: Unity.Collections.NativeArray<T>): void; ToArray(): T[]; GetEnumerator(): Unity.Collections.NativeArray_Enumerator<T>; Equals(other: Unity.Collections.NativeArray<T>): boolean; Equals(obj: any): boolean; GetHashCode(): number; static Copy(src: Unity.Collections.NativeArray, dst: Unity.Collections.NativeArray): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, dst: Unity.Collections.NativeArray): void; static Copy(src: any[], dst: Unity.Collections.NativeArray): void; static Copy(src: Unity.Collections.NativeArray, dst: any[]): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, dst: any[]): void; static Copy(src: Unity.Collections.NativeArray, dst: Unity.Collections.NativeArray, length: number): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, dst: Unity.Collections.NativeArray, length: number): void; static Copy(src: any[], dst: Unity.Collections.NativeArray, length: number): void; static Copy(src: Unity.Collections.NativeArray, dst: any[], length: number): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, dst: any[], length: number): void; static Copy(src: Unity.Collections.NativeArray, srcIndex: number, dst: Unity.Collections.NativeArray, dstIndex: number, length: number): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, srcIndex: number, dst: Unity.Collections.NativeArray, dstIndex: number, length: number): void; static Copy(src: any[], srcIndex: number, dst: Unity.Collections.NativeArray, dstIndex: number, length: number): void; static Copy(src: Unity.Collections.NativeArray, srcIndex: number, dst: any[], dstIndex: number, length: number): void; static Copy(src: Unity.Collections.NativeArray_ReadOnly, srcIndex: number, dst: any[], dstIndex: number, length: number): void; GetSubArray(start: number, length: number): Unity.Collections.NativeArray<T>; AsReadOnly(): Unity.Collections.NativeArray_ReadOnly<T>; AsSpan(): System.Span<T>; AsReadOnlySpan(): System.ReadOnlySpan<T>; ToString(): string; GetType(): System.Type; } class NativeArray_Enumerator<T = any> { Current: T; Dispose(): void; MoveNext(): boolean; Reset(): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class NativeArray_ReadOnly<T = any> { [key: string]: any; Length: number; IsCreated: boolean; CopyTo(array: T[]): void; CopyTo(array: Unity.Collections.NativeArray<T>): void; ToArray(): T[]; GetEnumerator(): Unity.Collections.NativeArray_ReadOnly_Enumerator<T>; AsReadOnlySpan(): System.ReadOnlySpan<T>; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class NativeArray_ReadOnly_Enumerator<T = any> { Current: T; Dispose(): void; MoveNext(): boolean; Reset(): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class NativeSliceExtensions { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class NativeSlice<T = any> { constructor(slice: Unity.Collections.NativeSlice<T>, start: number); constructor(slice: Unity.Collections.NativeSlice<T>, start: number, length: number); constructor(array: Unity.Collections.NativeArray<T>); constructor(array: Unity.Collections.NativeArray<T>, start: number); constructor(array: Unity.Collections.NativeArray<T>, start: number, length: number); [key: string]: any; Stride: number; Length: number; CopyFrom(slice: Unity.Collections.NativeSlice<T>): void; CopyFrom(array: T[]): void; CopyTo(array: Unity.Collections.NativeArray<T>): void; CopyTo(array: T[]): void; ToArray(): T[]; GetEnumerator(): Unity.Collections.NativeSlice_Enumerator<T>; Equals(other: Unity.Collections.NativeSlice<T>): boolean; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class NativeSlice_Enumerator<T = any> { Current: T; Dispose(): void; MoveNext(): boolean; Reset(): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } namespace LowLevel { namespace Unsafe { enum EnforceJobResult { AllJobsAlreadySynced = 0, DidSyncRunningJobs = 1, HandleWasAlreadyDeallocated = 2 } enum AtomicSafetyErrorType { Deallocated = 0, DeallocatedFromJob = 1, NotAllocatedFromJob = 2 } class AtomicSafetyHandle { static Create(): Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle; static GetTempUnsafePtrSliceHandle(): Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle; static GetTempMemoryHandle(): Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle; static IsTempMemoryHandle(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): boolean; static Release(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static SetAllowSecondaryVersionWriting(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, allowWriting: boolean): void; static SetBumpSecondaryVersionOnScheduleWrite(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, value: boolean): void; static SetAllowReadOrWriteAccess(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, allowReadWriteAccess: boolean): void; static GetAllowReadOrWriteAccess(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): boolean; static SetNestedContainer(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, isNestedContainer: boolean): void; static GetNestedContainer(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): boolean; static CheckWriteAndBumpSecondaryVersion(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static EnforceAllBufferJobsHaveCompleted(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): Unity.Collections.LowLevel.Unsafe.EnforceJobResult; static EnforceAllBufferJobsHaveCompletedAndRelease(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): Unity.Collections.LowLevel.Unsafe.EnforceJobResult; static EnforceAllBufferJobsHaveCompletedAndDisableReadWrite(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): Unity.Collections.LowLevel.Unsafe.EnforceJobResult; static CheckDeallocateAndThrow(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static CheckGetSecondaryDataPointerAndThrow(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static GetReaderArray(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, maxCount: number, output: System.IntPtr): number; static GetWriter(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): Unity.Jobs.JobHandle; static CheckReadAndThrow(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static CheckWriteAndThrow(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): void; static GetReaderName(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle, readerIndex: number): string; static GetWriterName(handle: Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle): string; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class DisposeSentinel { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class NativeArrayUnsafeUtility { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class NativeSliceUnsafeUtility { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class UnsafeUtility { static GetFieldOffset(field: System.Reflection.FieldInfo): number; static ReleaseGCObject(gcHandle: number): void; static CheckForLeaks(): number; static ForgiveLeaks(): number; static GetLeakDetectionMode(): Unity.Collections.NativeLeakDetectionMode; static SetLeakDetectionMode(value: Unity.Collections.NativeLeakDetectionMode): void; static IsValidAllocator(allocator: Unity.Collections.Allocator): boolean; static SizeOf(type: System.Type): number; static IsBlittable(type: System.Type): boolean; static IsUnmanaged(type: System.Type): boolean; static IsValidNativeContainerElementType(type: System.Type): boolean; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } } } } namespace Content { class ContentNamespace { IsValid: boolean; static Default: Unity.Content.ContentNamespace; GetName(): string; Delete(): void; static GetOrCreateNamespace(name: string): Unity.Content.ContentNamespace; static GetAll(): Unity.Content.ContentNamespace[]; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } } namespace IntegerTime { class DiscreteTime { constructor(x: Unity.IntegerTime.DiscreteTime); constructor(v: number); constructor(v: number); constructor(v: number); constructor(v: number); Value: number; static Zero: Unity.IntegerTime.DiscreteTime; static MinValue: Unity.IntegerTime.DiscreteTime; static MaxValue: Unity.IntegerTime.DiscreteTime; static TicksPerSecond: number; static Tick: number; static MaxValueSeconds: number; static MinValueSeconds: number; static Tick5Fps: number; static Tick10Fps: number; static Tick12Fps: number; static Tick15Fps: number; static Tick2397Fps: number; static Tick24Fps: number; static Tick25Fps: number; static Tick2997Fps: number; static Tick30Fps: number; static Tick48Fps: number; static Tick50Fps: number; static Tick5995Fps: number; static Tick60Fps: number; static Tick90Fps: number; static Tick11988Fps: number; static Tick120Fps: number; static Tick240Fps: number; static Tick1000Fps: number; static Tick8Khz: number; static Tick16Khz: number; static Tick22Khz: number; static Tick44Khz: number; static Tick48Khz: number; static Tick88Khz: number; static Tick96Khz: number; static Tick192Khz: number; static FromTicks(v: number): Unity.IntegerTime.DiscreteTime; Equals(rhs: Unity.IntegerTime.DiscreteTime): boolean; Equals(o: any): boolean; GetHashCode(): number; ToString(): string; ToString(format: string, formatProvider: System.IFormatProvider): string; CompareTo(other: Unity.IntegerTime.DiscreteTime): number; GetType(): System.Type; } class DiscreteTimeTimeExtensions { static Abs(lhs: Unity.IntegerTime.DiscreteTime): Unity.IntegerTime.DiscreteTime; static Min(lhs: Unity.IntegerTime.DiscreteTime, rhs: Unity.IntegerTime.DiscreteTime): Unity.IntegerTime.DiscreteTime; static Max(lhs: Unity.IntegerTime.DiscreteTime, rhs: Unity.IntegerTime.DiscreteTime): Unity.IntegerTime.DiscreteTime; static Clamp(x: Unity.IntegerTime.DiscreteTime, a: Unity.IntegerTime.DiscreteTime, b: Unity.IntegerTime.DiscreteTime): Unity.IntegerTime.DiscreteTime; static Floor(x: Unity.IntegerTime.DiscreteTime): Unity.IntegerTime.DiscreteTime; static Select(a: Unity.IntegerTime.DiscreteTime, b: Unity.IntegerTime.DiscreteTime, c: boolean): Unity.IntegerTime.DiscreteTime; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class RationalTime { constructor(count: number, ticks: Unity.IntegerTime.RationalTime_TicksPerSecond); Count: number; Ticks: Unity.IntegerTime.RationalTime_TicksPerSecond; static FromDouble(t: number, ticksPerSecond: Unity.IntegerTime.RationalTime_TicksPerSecond): Unity.IntegerTime.RationalTime; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class RationalTime_TicksPerSecond { constructor(num: number, den?: number); Numerator: number; Denominator: number; Valid: boolean; static DefaultTicksPerSecond: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond24: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond25: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond30: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond50: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond60: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond120: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond2397: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond2425: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond2997: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond5994: Unity.IntegerTime.RationalTime_TicksPerSecond; static TicksPerSecond11988: Unity.IntegerTime.RationalTime_TicksPerSecond; Equals(rhs: Unity.IntegerTime.RationalTime_TicksPerSecond): boolean; Equals(rhs: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class RationalTimeExtensions { static ToDouble(value: Unity.IntegerTime.RationalTime): number; static IsValid(value: Unity.IntegerTime.RationalTime): boolean; static Convert(time: Unity.IntegerTime.RationalTime, rate: Unity.IntegerTime.RationalTime_TicksPerSecond): Unity.IntegerTime.RationalTime; static Add(lhs: Unity.IntegerTime.RationalTime, rhs: Unity.IntegerTime.RationalTime): Unity.IntegerTime.RationalTime; static Subtract(lhs: Unity.IntegerTime.RationalTime, rhs: Unity.IntegerTime.RationalTime): Unity.IntegerTime.RationalTime; static Multiply(lhs: Unity.IntegerTime.RationalTime, rhs: Unity.IntegerTime.RationalTime): Unity.IntegerTime.RationalTime; static Divide(lhs: Unity.IntegerTime.RationalTime, rhs: Unity.IntegerTime.RationalTime): Unity.IntegerTime.RationalTime; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } } namespace IO { namespace Archive { enum ArchiveStatus { InProgress = 0, Complete = 1, Failed = 2 } class ArchiveFileInfo { Filename: string; FileSize: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ArchiveHandle { Status: Unity.IO.Archive.ArchiveStatus; JobHandle: Unity.Jobs.JobHandle; Compression: UnityEngine.CompressionType; IsStreamed: boolean; Unmount(): Unity.Jobs.JobHandle; GetMountPath(): string; GetFileInfo(): Unity.IO.Archive.ArchiveFileInfo[]; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ArchiveFileInterface { static MountAsync(namespaceId: Unity.Content.ContentNamespace, filePath: string, prefix: string): Unity.IO.Archive.ArchiveHandle; static GetMountedArchives(namespaceId: Unity.Content.ContentNamespace): Unity.IO.Archive.ArchiveHandle[]; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } } namespace LowLevel { namespace Unsafe { class ReadCommand { Offset: number; Size: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ReadCommandArray { CommandCount: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } enum FileState { Absent = 0, Exists = 1 } enum FileStatus { Closed = 0, Pending = 1, Open = 2, OpenFailed = 3 } class FileInfoResult { FileSize: number; FileState: Unity.IO.LowLevel.Unsafe.FileState; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } enum AssetLoadingSubsystem { Other = 0, Texture = 1, VirtualTexture = 2, Mesh = 3, Audio = 4, Scripts = 5, EntitiesScene = 6, EntitiesStreamBinaryReader = 7, FileInfo = 8, ContentLoading = 9 } enum ReadStatus { Complete = 0, InProgress = 1, Failed = 2, Truncated = 4, Canceled = 5 } enum Priority { PriorityLow = 0, PriorityHigh = 1 } class FileHandle { Status: Unity.IO.LowLevel.Unsafe.FileStatus; JobHandle: Unity.Jobs.JobHandle; IsValid(): boolean; Close(dependency?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ReadHandle { JobHandle: Unity.Jobs.JobHandle; Status: Unity.IO.LowLevel.Unsafe.ReadStatus; ReadCount: number; IsValid(): boolean; Dispose(): void; Cancel(): void; GetBytesRead(): number; GetBytesRead(readCommandIndex: number): number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class AsyncReadManager { static OpenFileAsync(fileName: string): Unity.IO.LowLevel.Unsafe.FileHandle; static CloseCachedFileAsync(fileName: string, dependency?: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } enum ProcessingState { Unknown = 0, InQueue = 1, Reading = 2, Completed = 3, Failed = 4, Canceled = 5 } enum FileReadType { Sync = 0, Async = 1 } class AsyncReadManagerRequestMetric { AssetName: string; FileName: string; OffsetBytes: number; SizeBytes: number; AssetTypeId: number; CurrentBytesRead: number; BatchReadCount: number; IsBatchRead: boolean; State: Unity.IO.LowLevel.Unsafe.ProcessingState; ReadType: Unity.IO.LowLevel.Unsafe.FileReadType; PriorityLevel: Unity.IO.LowLevel.Unsafe.Priority; Subsystem: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem; RequestTimeMicroseconds: number; TimeInQueueMicroseconds: number; TotalTimeMicroseconds: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class AsyncReadManagerMetrics { static IsEnabled(): boolean; static ClearCompletedMetrics(): void; static GetMetrics(filters: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters, flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[]; static GetMetrics(outMetrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[], filters: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters, flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): void; static GetMetrics(flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[]; static GetMetrics(outMetrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[], flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): void; static StartCollectingMetrics(): void; static StopCollectingMetrics(): void; static GetCurrentSummaryMetrics(flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetCurrentSummaryMetrics(metricsFilters: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters, flags: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetrics_Flags): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetSummaryOfMetrics(metrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[]): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetSummaryOfMetrics(metrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[]): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetSummaryOfMetrics(metrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[], metricsFilters: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetSummaryOfMetrics(metrics: Unity.IO.LowLevel.Unsafe.AsyncReadManagerRequestMetric[], metricsFilters: Unity.IO.LowLevel.Unsafe.AsyncReadManagerMetricsFilters): Unity.IO.LowLevel.Unsafe.AsyncReadManagerSummaryMetrics; static GetTotalSizeOfNonASRMReadsBytes(emptyAfterRead: boolean): number; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } enum AsyncReadManagerMetrics_Flags { None = 0, ClearOnRead = 1 } class AsyncReadManagerSummaryMetrics { constructor(); TotalBytesRead: number; AverageBandwidthMBPerSecond: number; AverageReadSizeInBytes: number; AverageWaitTimeMicroseconds: number; AverageReadTimeMicroseconds: number; AverageTotalRequestTimeMicroseconds: number; AverageThroughputMBPerSecond: number; LongestWaitTimeMicroseconds: number; LongestReadTimeMicroseconds: number; LongestReadAssetType: number; LongestWaitAssetType: number; LongestReadSubsystem: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem; LongestWaitSubsystem: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem; NumberOfInProgressRequests: number; NumberOfCompletedRequests: number; NumberOfFailedRequests: number; NumberOfWaitingRequests: number; NumberOfCanceledRequests: number; TotalNumberOfRequests: number; NumberOfCachedReads: number; NumberOfAsyncReads: number; NumberOfSyncReads: number; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class AsyncReadManagerMetricsFilters { constructor(); constructor(typeID: number); constructor(state: Unity.IO.LowLevel.Unsafe.ProcessingState); constructor(readType: Unity.IO.LowLevel.Unsafe.FileReadType); constructor(priorityLevel: Unity.IO.LowLevel.Unsafe.Priority); constructor(subsystem: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem); constructor(typeIDs: number[]); constructor(states: Unity.IO.LowLevel.Unsafe.ProcessingState[]); constructor(readTypes: Unity.IO.LowLevel.Unsafe.FileReadType[]); constructor(priorityLevels: Unity.IO.LowLevel.Unsafe.Priority[]); constructor(subsystems: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem[]); constructor(typeIDs: number[], states: Unity.IO.LowLevel.Unsafe.ProcessingState[], readTypes: Unity.IO.LowLevel.Unsafe.FileReadType[], priorityLevels: Unity.IO.LowLevel.Unsafe.Priority[], subsystems: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem[]); SetTypeIDFilter(_typeIDs: number[]): void; SetStateFilter(_states: Unity.IO.LowLevel.Unsafe.ProcessingState[]): void; SetReadTypeFilter(_readTypes: Unity.IO.LowLevel.Unsafe.FileReadType[]): void; SetPriorityFilter(_priorityLevels: Unity.IO.LowLevel.Unsafe.Priority[]): void; SetSubsystemFilter(_subsystems: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem[]): void; SetTypeIDFilter(_typeID: number): void; SetStateFilter(_state: Unity.IO.LowLevel.Unsafe.ProcessingState): void; SetReadTypeFilter(_readType: Unity.IO.LowLevel.Unsafe.FileReadType): void; SetPriorityFilter(_priorityLevel: Unity.IO.LowLevel.Unsafe.Priority): void; SetSubsystemFilter(_subsystem: Unity.IO.LowLevel.Unsafe.AssetLoadingSubsystem): void; RemoveTypeIDFilter(): void; RemoveStateFilter(): void; RemoveReadTypeFilter(): void; RemovePriorityFilter(): void; RemoveSubsystemFilter(): void; ClearFilters(): void; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class VirtualFileSystem { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } } } } namespace Jobs { interface IJob { Execute(): void; } class IJobExtensions { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } interface IJobFor { Execute(index: number): void; } class IJobForExtensions { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } interface IJobParallelFor { Execute(index: number): void; } class IJobParallelForExtensions { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class JobHandle { IsCompleted: boolean; Complete(): void; static CompleteAll(jobs: Unity.Collections.NativeArray): void; static ScheduleBatchedJobs(): void; static CombineDependencies(job0: Unity.Jobs.JobHandle, job1: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle; static CombineDependencies(job0: Unity.Jobs.JobHandle, job1: Unity.Jobs.JobHandle, job2: Unity.Jobs.JobHandle): Unity.Jobs.JobHandle; static CombineDependencies(jobs: Unity.Collections.NativeArray): Unity.Jobs.JobHandle; static CombineDependencies(jobs: Unity.Collections.NativeSlice): Unity.Jobs.JobHandle; static CheckFenceIsDependencyOrDidSyncFence(jobHandle: Unity.Jobs.JobHandle, dependsOn: Unity.Jobs.JobHandle): boolean; Equals(other: Unity.Jobs.JobHandle): boolean; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } namespace LowLevel { namespace Unsafe { class BatchQueryJob<CommandT = any, ResultT = any> { constructor(commands: Unity.Collections.NativeArray<CommandT>, results: Unity.Collections.NativeArray<ResultT>); Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class BatchQueryJobStruct<T = any> { static Initialize(): System.IntPtr; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class JobHandleUnsafeUtility { Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class JobRanges { TotalIterationCount: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } enum ScheduleMode { Run = 0, Batched = 1, Parallel = 1, Single = 2 } enum JobType { Single = 0, ParallelFor = 1 } class JobsUtility { static IsExecutingJob: boolean; static JobDebuggerEnabled: boolean; static JobCompilerEnabled: boolean; static JobWorkerMaximumCount: number; static JobWorkerCount: number; static ThreadIndex: number; static ThreadIndexCount: number; static MaxJobThreadCount: number; static CacheLineSize: number; static CreateJobReflectionData(type: System.Type, jobType: Unity.Jobs.LowLevel.Unsafe.JobType, managedJobFunction0: any, managedJobFunction1?: any, managedJobFunction2?: any): System.IntPtr; static CreateJobReflectionData(type: System.Type, managedJobFunction0: any, managedJobFunction1?: any, managedJobFunction2?: any): System.IntPtr; static CreateJobReflectionData(wrapperJobType: System.Type, userJobType: System.Type, jobType: Unity.Jobs.LowLevel.Unsafe.JobType, managedJobFunction0: any): System.IntPtr; static CreateJobReflectionData(wrapperJobType: System.Type, userJobType: System.Type, managedJobFunction0: any): System.IntPtr; static ResetJobWorkerCount(): void; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class JobsUtility_JobScheduleParameters { Dependency: Unity.Jobs.JobHandle; ScheduleMode: number; ReflectionData: System.IntPtr; JobDataPtr: System.IntPtr; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } } } } namespace Profiling { class ProfilerCategory { constructor(categoryName: string); constructor(categoryName: string, color: Unity.Profiling.ProfilerCategoryColor); Name: string; Color: UnityEngine.Color32; static Render: Unity.Profiling.ProfilerCategory; static Scripts: Unity.Profiling.ProfilerCategory; static Gui: Unity.Profiling.ProfilerCategory; static Physics: Unity.Profiling.ProfilerCategory; static Physics2D: Unity.Profiling.ProfilerCategory; static Animation: Unity.Profiling.ProfilerCategory; static Ai: Unity.Profiling.ProfilerCategory; static Audio: Unity.Profiling.ProfilerCategory; static Video: Unity.Profiling.ProfilerCategory; static Particles: Unity.Profiling.ProfilerCategory; static Lighting: Unity.Profiling.ProfilerCategory; static Network: Unity.Profiling.ProfilerCategory; static Loading: Unity.Profiling.ProfilerCategory; static Vr: Unity.Profiling.ProfilerCategory; static Input: Unity.Profiling.ProfilerCategory; static Memory: Unity.Profiling.ProfilerCategory; static VirtualTexturing: Unity.Profiling.ProfilerCategory; static FileIO: Unity.Profiling.ProfilerCategory; static Internal: Unity.Profiling.ProfilerCategory; ToString(): string; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; } enum ProfilerCategoryFlags { None = 0, Builtin = 1 } enum ProfilerCategoryColor { Render = 0, Scripts = 1, BurstJobs = 2, Other = 3, Physics = 4, Animation = 5, Audio = 6, AudioJob = 7, AudioUpdateJob = 8, Lighting = 9, GC = 10, VSync = 11, Memory = 12, Internal = 13, UI = 14, Build = 15, Input = 16 } class ProfilerMarker { constructor(name: string); constructor(category: Unity.Profiling.ProfilerCategory, name: string); constructor(category: Unity.Profiling.ProfilerCategory, name: string, flags: Unity.Profiling.LowLevel.MarkerFlags); Handle: System.IntPtr; Begin(): void; Begin(contextUnityObject: UnityEngine.Object): void; End(): void; Auto(): Unity.Profiling.ProfilerMarker_AutoScope; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerMarker_AutoScope { Dispose(): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } enum ProfilerFlowEventType { Begin = 0, ParallelNext = 1, End = 2, Next = 3 } enum ProfilerMarkerDataUnit { Undefined = 0, TimeNanoseconds = 1, Bytes = 2, Count = 3, Percent = 4, FrequencyHz = 5 } enum ProfilerCounterOptions { None = 0, FlushOnEndOfFrame = 2, ResetToZeroOnFlush = 4 } enum ProfilerRecorderOptions { None = 0, StartImmediately = 1, KeepAliveDuringDomainReload = 2, CollectOnlyOnCurrentThread = 4, WrapAroundWhenCapacityReached = 8, SumAllSamplesInFrame = 16, GpuRecorder = 64, Default = 24 } class ProfilerRecorderSample { Value: number; Count: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerRecorder { constructor(statName: string, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions); constructor(categoryName: string, statName: string, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions); constructor(category: Unity.Profiling.ProfilerCategory, statName: string, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions); constructor(marker: Unity.Profiling.ProfilerMarker, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions); constructor(statHandle: Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions); Valid: boolean; DataType: Unity.Profiling.LowLevel.ProfilerMarkerDataType; UnitType: Unity.Profiling.ProfilerMarkerDataUnit; CurrentValue: number; CurrentValueAsDouble: number; LastValue: number; LastValueAsDouble: number; Capacity: number; Count: number; IsRunning: boolean; WrappedAround: boolean; static StartNew(category: Unity.Profiling.ProfilerCategory, statName: string, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions): Unity.Profiling.ProfilerRecorder; static StartNew(marker: Unity.Profiling.ProfilerMarker, capacity?: number, options?: Unity.Profiling.ProfilerRecorderOptions): Unity.Profiling.ProfilerRecorder; Start(): void; Stop(): void; Reset(): void; GetSample(index: number): Unity.Profiling.ProfilerRecorderSample; CopyTo(outSamples: Unity.Profiling.ProfilerRecorderSample[], reset?: boolean): void; ToArray(): Unity.Profiling.ProfilerRecorderSample[]; Dispose(): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class DebugScreenCapture { RawImageDataReference: Unity.Collections.NativeArray<Byte>; ImageFormat: UnityEngine.TextureFormat; Width: number; Height: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } namespace LowLevel { enum MarkerFlags { Default = 0, Script = 2, ScriptInvoke = 32, ScriptDeepProfiler = 64, AvailabilityEditor = 4, AvailabilityNonDevelopment = 8, Warning = 16, Counter = 128, SampleGPU = 256 } enum ProfilerMarkerDataType { InstanceId = 1, Int32 = 2, UInt32 = 3, Int64 = 4, UInt64 = 5, Float = 6, Double = 7, String16 = 9, Blob8 = 11, GfxResourceId = 12 } namespace Unsafe { class ProfilerRecorderDescription { Category: Unity.Profiling.ProfilerCategory; Flags: Unity.Profiling.LowLevel.MarkerFlags; DataType: Unity.Profiling.LowLevel.ProfilerMarkerDataType; UnitType: Unity.Profiling.ProfilerMarkerDataUnit; NameUtf8Len: number; Name: string; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerRecorderHandle { Valid: boolean; static GetDescription(handle: Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle): Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderDescription; static GetAvailable(outRecorderHandleList: Unity.Profiling.LowLevel.Unsafe.ProfilerRecorderHandle[]): void; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerMarkerData { Type: Byte; Size: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerCategoryDescription { Name: string; Id: number; Flags: number; Color: UnityEngine.Color32; NameUtf8Len: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } class ProfilerUnsafeUtility { static Timestamp: number; static TimestampToNanosecondsConversionRatio: Unity.Profiling.LowLevel.Unsafe.ProfilerUnsafeUtility_TimestampConversionRatio; static CategoryRender: number; static CategoryScripts: number; static CategoryGUI: number; static CategoryPhysics: number; static CategoryAnimation: number; static CategoryAi: number; static CategoryAudio: number; static CategoryVideo: number; static CategoryParticles: number; static CategoryLighting: number; static CategoryLightning: number; static CategoryNetwork: number; static CategoryLoading: number; static CategoryOther: number; static CategoryVr: number; static CategoryAllocation: number; static CategoryInternal: number; static CategoryFileIO: number; static CategoryInput: number; static CategoryVirtualTexturing: number; static CategoryPhysics2D: number; static GetCategoryDescription(categoryId: number): Unity.Profiling.LowLevel.Unsafe.ProfilerCategoryDescription; static CreateMarker(name: string, categoryId: number, flags: Unity.Profiling.LowLevel.MarkerFlags, metadataCount: number): System.IntPtr; static SetMarkerMetadata(markerPtr: System.IntPtr, index: number, name: string, type: Byte, unit: Byte): void; static BeginSample(markerPtr: System.IntPtr): void; static EndSample(markerPtr: System.IntPtr): void; static CreateFlow(categoryId: number): number; static FlowEvent(flowId: number, flowEventType: Unity.Profiling.ProfilerFlowEventType): void; Equals(obj: any): boolean; GetHashCode(): number; GetType(): System.Type; ToString(): string; } class ProfilerUnsafeUtility_TimestampConversionRatio { Numerator: number; Denominator: number; Equals(obj: any): boolean; GetHashCode(): number; ToString(): string; GetType(): System.Type; } } } namespace Memory { enum CaptureFlags { ManagedObjects = 1, NativeObjects = 2, NativeAllocations = 4, NativeAllocationSites = 8, NativeStackTraces = 16 } class MemorySnapshotMetadata { constructor(); Description: string; Equals(obj: any): boolean; GetHashCode(): number;