24 lines
366 B
C
24 lines
366 B
C
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
// Licensed under the MIT License.
|
||
|
|
||
|
#ifndef K4APIXEL_H
|
||
|
#define K4APIXEL_H
|
||
|
|
||
|
// Helper structs/typedefs to cast buffers to
|
||
|
//
|
||
|
namespace k4aviewer
|
||
|
{
|
||
|
|
||
|
struct BgraPixel
|
||
|
{
|
||
|
uint8_t Blue;
|
||
|
uint8_t Green;
|
||
|
uint8_t Red;
|
||
|
uint8_t Alpha;
|
||
|
};
|
||
|
|
||
|
using DepthPixel = uint16_t;
|
||
|
} // namespace k4aviewer
|
||
|
|
||
|
#endif
|