example-1.cpp

This is an example This is detailed docummentation ```cpp

include

include

include "Engine.hpp"

// A dummy example int main() { // Create pixels buffer const auto pixels = std::make_unique(new uint8_t[102410243]); fillData(*pixels, "path/to/texture.png");

// Create a texture out of the pixels
Engine::Graphics::Texture2D texture(1024, 1024, *data);

// Done
return 0;

} ```

Filename: example-1.cpp


Updated on 2022-10-19 at 22:22:05 +0000

results matching ""

    No results matching ""