libwtk-sdl2
0.0.1
include
copy_command.hpp
1
#ifndef LIBWTK_SDL2_COPY_COMMAND_HPP
2
#define LIBWTK_SDL2_COPY_COMMAND_HPP
3
4
struct
SDL_Texture;
5
6
// copy textures to the screen in a batch
7
struct
copy_command
8
{
9
SDL_Texture * texture;
10
11
// The part of the texture to copy.
12
SDL_Rect source;
13
14
// The offset of the target coordinates.
15
int
x_offset;
16
int
y_offset;
17
};
18
19
#endif
20
copy_command
Definition:
copy_command.hpp:7
Generated by
1.8.14