Information about a memory region storing state.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
public struct InputStateBlock
Fields
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
Type identifier for the memory layout used by the state.
Declaration
Field Value
Declaration
public const uint kAutomaticOffset = 4294967294U
Field Value
Type |
Description |
System.UInt32 |
|
Declaration
public const uint kInvalidOffset = 4294967295U
Field Value
Type |
Description |
System.UInt32 |
|
Declaration
public static FourCC kTypeBit
Field Value
Declaration
public static FourCC kTypeByte
Field Value
Declaration
public static FourCC kTypeDouble
Field Value
Declaration
public static FourCC kTypeFloat
Field Value
Declaration
public static FourCC kTypeInt
Field Value
Declaration
public static FourCC kTypeLong
Field Value
Declaration
public static FourCC kTypeQuaternion
Field Value
Declaration
public static FourCC kTypeSBit
Field Value
Declaration
public static FourCC kTypeSByte
Field Value
Declaration
public static FourCC kTypeShort
Field Value
Declaration
public static FourCC kTypeUInt
Field Value
Declaration
public static FourCC kTypeULong
Field Value
Declaration
public static FourCC kTypeUShort
Field Value
Declaration
public static FourCC kTypeVector2
Field Value
Declaration
public static FourCC kTypeVector2Byte
Field Value
Declaration
public static FourCC kTypeVector2Short
Field Value
Declaration
public static FourCC kTypeVector3
Field Value
Declaration
public static FourCC kTypeVector3Byte
Field Value
Declaration
public static FourCC kTypeVector3Short
Field Value
Declaration
Field Value
Type |
Description |
System.UInt32 |
|
Methods
Declaration
public void CopyToFrom(void *toStatePtr, void *fromStatePtr)
Parameters
Type |
Name |
Description |
System.Void* |
toStatePtr |
|
System.Void* |
fromStatePtr |
|
Declaration
public static FourCC GetPrimitiveFormatFromType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Declaration
public static int GetSizeOfPrimitiveFormatInBits(FourCC type)
Parameters
Type |
Name |
Description |
FourCC |
type |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public PrimitiveValue Read(void *statePtr)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
Returns
Type |
Description |
PrimitiveValue |
|
Declaration
public float ReadFloat(void *statePtr)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public int ReadInt(void *statePtr)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
public void Write(void *statePtr, PrimitiveValue value)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
PrimitiveValue |
value |
|
Declaration
public void WriteFloat(void *statePtr, float value)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
System.Single |
value |
|
Declaration
public void WriteInt(void *statePtr, int value)
Parameters
Type |
Name |
Description |
System.Void* |
statePtr |
|
System.Int32 |
value |
|