15#define READENTIREFILE(x) bool x(const char* name, void* buffer, size_t size)
19#define GETFILESIZE(x) bool x(const char* name, size_t &size)
26 struct PikaFramebuffer{
27 SDL_Texture* texture = {};
45 SDL_Window* wind = {};
46 SDL_Renderer* renderer = {};
61 std::ifstream f(name, std::ios::binary);
69 f.read((
char*)buffer, size);
88 std::ifstream f(name, std::ifstream::ate | std::ifstream::binary);
134 if (
this == &other) {
return true; }
148 return !(*
this == other);
#define READENTIREFILE(x)
static constexpr size_t MaxAllocatorsCount
void setGlobalAllocator(samurai::memory::CustomAllocator *allocator)
void setGlobalAllocatorToStandard()
virtual bool create(RequestedContainerInfo &requestedInfo, samurai::StaticString< 256 > commandLineArgument)=0
virtual bool update(samurai::Input input, samurai::WindowState windowState, RequestedContainerInfo &requestedInfo)=0
static ContainerStaticInfo containerInfo()
bool _internalNotImplemented
size_t defaultHeapMemorySize
bool operator==(const ContainerStaticInfo &other)
bool operator!=(const ContainerStaticInfo &other)
samurai::StaticVector< samurai::StaticString< 16 >, 16 > extensionsSuported
samurai::StaticVector< size_t, MaxAllocatorsCount > bonusAllocators
unsigned int requestImguiIds
bool readEntireFileBinary(const char *name, void *buffer, size_t size)
samurai::StaticVector< samurai::memory::CustomAllocator, MaxAllocatorsCount > * bonusAllocators
bool getFileSizeBinary(const char *name, size_t &size)
int imguiTotalRequestedIds
samurai::memory::CustomAllocator * mainAllocator
samurai::GL::PikaFramebuffer requestedFBO