/usr/include/oce/InterfaceGraphic_RawBufferData.hxx is in liboce-visualization-dev 0.9.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #ifndef INTERFACEGRAPHIC_RawBufferData_H
#define INTERFACEGRAPHIC_RawBufferData_H
#include <Standard.hxx>
// Most items are from GLenum, but values not equal!
typedef enum
{
TRGB,
TBGR,
TRGBA,
TBGRA,
TDepthComponent,
TRed,
TGreen,
TBlue,
TAlpha,
} TRawBufferDataFormat;
typedef enum
{
TUByte,
TFloat,
} TRawBufferDataType;
struct TRawBufferData
{
Standard_Integer widthPx;
Standard_Integer heightPx;
Standard_Integer rowAligmentBytes;
TRawBufferDataFormat format;
TRawBufferDataType type;
Standard_Address dataPtr;
};
#endif /* INTERFACEGRAPHIC_RawBufferData_H */
|