Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
texture.h
Go to the documentation of this file.
1#ifndef INCLUDE_GAME_SDL_TEXTURE_H
2#define INCLUDE_GAME_SDL_TEXTURE_H
3
4#include <SDL3/SDL_render.h>
5#include <cstddef>
6#include <cstdint>
7#include <vector>
8
9namespace game::sdl {
10
11 auto extract_pixel_data(SDL_Renderer* renderer,
12 SDL_Texture* texture,
13 std::size_t width,
14 std::size_t height,
15 std::size_t bytes_per_pixel) -> std::vector<std::uint8_t>;
16
17} // namespace game::sdl
18
19#endif
Definition color.h:6
auto extract_pixel_data(SDL_Renderer *renderer, SDL_Texture *texture, std::size_t width, std::size_t height, std::size_t bytes_per_pixel) -> std::vector< std::uint8_t >
Definition texture.cpp:14