#3345 HoloLens: Tweaks to array package format

This commit is contained in:
sigurdp
2018-09-19 09:04:09 +02:00
parent eea5efeffd
commit 1e320eeae7
2 changed files with 5 additions and 4 deletions

View File

@@ -31,8 +31,8 @@
// packetVersion: 2 bytes
// arrayId: 4 bytes ID of this array
// elementCount: 4 bytes number of elements in array
// elementType: 1 byte data type of each element in the array(float32, uint32, uint8, int8)
// imageComponentCount: 1 byte number of image components for texture image(currently always 0 or 3)
// elementType: 1 byte data type of each element in the array(float32=1, uint32=2, uint8=?, int8=?)
// imageComponentCount: 1 byte number of image components per pixel for texture image (currently always 0 or 3)
// imageWidth: 2 bytes only used for texture images, otherwise 0
// imageHeight: 2 bytes :
// arrayData: ...

View File

@@ -34,8 +34,9 @@ public:
enum ElementType
{
Unknown = 0,
Uint32 = 1,
Float32 = 2
Float32 = 1,
Uint32 = 2,
};
public: