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 2021-10-12 at 20:07:08 +0000

results matching ""

    No results matching ""