mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3345 HoloLens: Tweaks to array package format
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -34,8 +34,9 @@ public:
|
||||
enum ElementType
|
||||
{
|
||||
Unknown = 0,
|
||||
Uint32 = 1,
|
||||
Float32 = 2
|
||||
Float32 = 1,
|
||||
Uint32 = 2,
|
||||
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user