Struct CopyInputToBufferJob<TInputComponentData, TInputHelper>
Internal job (don't use directly) used to copy the input data for struct implementing the IInputComponentData to the underlying InputBufferData<T> command data buffer. The job is also responsible to increment the InputEvent counters, in case the input component contains input events.
Implements
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[BurstCompile]
public struct CopyInputToBufferJob<TInputComponentData, TInputHelper> : IJobChunk where TInputComponentData : unmanaged, IInputComponentData where TInputHelper : unmanaged, IInputEventHelper<TInputComponentData>
Type Parameters
Name | Description |
---|---|
TInputComponentData | |
TInputHelper |
Methods
Name | Description |
---|---|
Execute(in ArchetypeChunk, int, bool, in v128) | Copy the input component for current server tick to the command buffer. |