mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
77 lines
3.6 KiB
C++
77 lines
3.6 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT6_GEN_QSURFACEFORMAT_H
|
|
#define MIQT_QT6_GEN_QSURFACEFORMAT_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#include "../libmiqt/libmiqt.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
class QColorSpace;
|
|
class QSurfaceFormat;
|
|
#else
|
|
typedef struct QColorSpace QColorSpace;
|
|
typedef struct QSurfaceFormat QSurfaceFormat;
|
|
#endif
|
|
|
|
void QSurfaceFormat_new(QSurfaceFormat** outptr_QSurfaceFormat);
|
|
void QSurfaceFormat_new2(int options, QSurfaceFormat** outptr_QSurfaceFormat);
|
|
void QSurfaceFormat_new3(QSurfaceFormat* other, QSurfaceFormat** outptr_QSurfaceFormat);
|
|
void QSurfaceFormat_OperatorAssign(QSurfaceFormat* self, QSurfaceFormat* other);
|
|
void QSurfaceFormat_SetDepthBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_DepthBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetStencilBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_StencilBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetRedBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_RedBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetGreenBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_GreenBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetBlueBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_BlueBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetAlphaBufferSize(QSurfaceFormat* self, int size);
|
|
int QSurfaceFormat_AlphaBufferSize(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetSamples(QSurfaceFormat* self, int numSamples);
|
|
int QSurfaceFormat_Samples(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetSwapBehavior(QSurfaceFormat* self, int behavior);
|
|
int QSurfaceFormat_SwapBehavior(const QSurfaceFormat* self);
|
|
bool QSurfaceFormat_HasAlpha(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetProfile(QSurfaceFormat* self, int profile);
|
|
int QSurfaceFormat_Profile(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetRenderableType(QSurfaceFormat* self, int typeVal);
|
|
int QSurfaceFormat_RenderableType(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetMajorVersion(QSurfaceFormat* self, int majorVersion);
|
|
int QSurfaceFormat_MajorVersion(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetMinorVersion(QSurfaceFormat* self, int minorVersion);
|
|
int QSurfaceFormat_MinorVersion(const QSurfaceFormat* self);
|
|
struct miqt_map /* tuple of int and int */ QSurfaceFormat_Version(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetVersion(QSurfaceFormat* self, int major, int minor);
|
|
bool QSurfaceFormat_Stereo(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetStereo(QSurfaceFormat* self, bool enable);
|
|
void QSurfaceFormat_SetOptions(QSurfaceFormat* self, int options);
|
|
void QSurfaceFormat_SetOption(QSurfaceFormat* self, int option);
|
|
bool QSurfaceFormat_TestOption(const QSurfaceFormat* self, int option);
|
|
int QSurfaceFormat_Options(const QSurfaceFormat* self);
|
|
int QSurfaceFormat_SwapInterval(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetSwapInterval(QSurfaceFormat* self, int interval);
|
|
QColorSpace* QSurfaceFormat_ColorSpace(const QSurfaceFormat* self);
|
|
void QSurfaceFormat_SetColorSpace(QSurfaceFormat* self, QColorSpace* colorSpace);
|
|
void QSurfaceFormat_SetColorSpaceWithColorSpace(QSurfaceFormat* self, int colorSpace);
|
|
void QSurfaceFormat_SetDefaultFormat(QSurfaceFormat* format);
|
|
QSurfaceFormat* QSurfaceFormat_DefaultFormat();
|
|
void QSurfaceFormat_SetOption2(QSurfaceFormat* self, int option, bool on);
|
|
void QSurfaceFormat_Delete(QSurfaceFormat* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|