Struct NetworkCompressionModel
Syntax
public struct NetworkCompressionModel : IDisposable
Constructors
NetworkCompressionModel(Allocator)
Declaration
public NetworkCompressionModel(Allocator allocator)
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Fields
bucketOffsets
Declaration
public NativeArray<uint> bucketOffsets
Field Value
Type |
Description |
NativeArray<UInt32> |
|
bucketSizes
Declaration
public NativeArray<byte> bucketSizes
Field Value
Type |
Description |
NativeArray<Byte> |
|
decodeTable
Declaration
public NativeArray<ushort> decodeTable
Field Value
Type |
Description |
NativeArray<UInt16> |
|
encodeTable
Declaration
public NativeArray<ushort> encodeTable
Field Value
Type |
Description |
NativeArray<UInt16> |
|
Methods
CalculateBucket(UInt32)
Declaration
public int CalculateBucket(uint value)
Parameters
Type |
Name |
Description |
UInt32 |
value |
|
Returns
Dispose()
Declaration