mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-01 10:26:12 +03:00
37 lines
603 B
C++
37 lines
603 B
C++
#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 */
|