mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
This commit contains only the result of `git add --renormalize .` `git show --ignore-space-change` can verify that this commit only changes whitespace.
23 lines
371 B
C++
23 lines
371 B
C++
#pragma once
|
|
|
|
#include "GpPixelFormat.h"
|
|
#include <stdint.h>
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class SimpleImage final
|
|
{
|
|
public:
|
|
void Destroy();
|
|
void *GetData();
|
|
const void *GetData() const;
|
|
|
|
static SimpleImage *Create(GpPixelFormat_t pixelFormat, size_t pitch, size_t dataSize);
|
|
|
|
private:
|
|
GpPixelFormat_t m_pixelFormat;
|
|
size_t m_pitch;
|
|
void *m_data;
|
|
};
|
|
}
|