Context information passed around during VM execution. 更多...
#include <VectorVM.h>
类 FVectorVMContext 继承关系图:Public 成员函数 | |
| FORCEINLINE EVectorVMOp | DecodeOp () |
| Decode the next operation contained in the bytecode. | |
Public 成员函数 继承自 FTlsAutoCleanup | |
| void | Register () |
| Register this instance to be auto-cleanup. | |
| virtual | ~FTlsAutoCleanup () |
| Virtual destructor. | |
Public 属性 | |
| uint8 const *RESTRICT | Code |
| Pointer to the next element in the byte code. | |
| const uint8 *const *RESTRICT | ConstantTable |
| Pointer to the constant table. | |
| TArrayView< FDataSetMeta > | DataSetMetaTable |
| Array of meta data on data sets. 更多... | |
| int32 | ExternalFunctionInstanceOffset |
| HACK: An additional instance offset to allow external functions direct access to specific instances in the buffers. | |
| const FVMExternalFunction *const *RESTRICT | ExternalFunctionTable |
| Pointer to the shared data table. | |
| int32 | NumInstances |
| Number of instances to process. | |
| int32 | NumInstancesVectorFloats |
| Number of instances to process when doing batches of VECTOR_WIDTH_FLOATS. | |
| int32 | NumTempRegisters |
| Num temp registers required by this script. | |
| TArray< int32 > | RandCounters |
| Thread local per instance random counters for use in external functions needing deterministic randoms. | |
| FRandomStream | RandStream |
| Thread local random stream for use in external functions needing non-deterministic randoms. | |
| int32 | StartInstance |
| Start instance of current chunk. | |
| void ** | UserPtrTable |
| Table of user pointers. | |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 TThreadSingleton< FVectorVMContext > | |
| static FORCEINLINE FVectorVMContext & | Get () |
| static FORCEINLINE FVectorVMContext & | Get (TFunctionRef< FTlsAutoCleanup *()> CreateInstance) |
| static FORCEINLINE FVectorVMContext * | TryGet () |
Protected 成员函数 继承自 TThreadSingleton< FVectorVMContext > | |
| TThreadSingleton () | |
| Default constructor. | |
静态 Protected 成员函数 继承自 TThreadSingleton< FVectorVMContext > | |
| static FTlsAutoCleanup * | CreateInstance () |
Protected 属性 继承自 TThreadSingleton< FVectorVMContext > | |
| const uint32 | ThreadId |
| Thread ID of this thread singleton. | |
Context information passed around during VM execution.
| TArrayView<FDataSetMeta> FVectorVMContext::DataSetMetaTable |
Array of meta data on data sets.
TODO: This struct should be removed and all features it contains be handled by more general vm ops and the compiler's knowledge of offsets etc.