2025-01-29 10:55:49 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
namespace Kore {
|
|
|
|
|
namespace Graphics3 {
|
|
|
|
|
class IndexBuffer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class IndexBufferImpl {
|
|
|
|
|
protected:
|
|
|
|
|
public:
|
|
|
|
|
IndexBufferImpl(int count);
|
|
|
|
|
void unset();
|
|
|
|
|
|
2026-06-09 12:45:01 -07:00
|
|
|
#if defined(KINC_ANDROID) || defined(KINC_RASPBERRY_PI)
|
2025-01-29 10:55:49 +01:00
|
|
|
u16 *shortData;
|
|
|
|
|
#endif
|
|
|
|
|
int *data;
|
|
|
|
|
int myCount;
|
|
|
|
|
uint bufferId;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
static Graphics3::IndexBuffer *current;
|
|
|
|
|
};
|
|
|
|
|
}
|