1
내 코드에서 여러 개의 SDL_Texture
또는 배열을 하나의 SDL_Texture
에 연결 (또는 조합)하고 싶습니다. 각 이미지는 다른 이미지 아래에 놓입니다.SDL2에서 여러 텍스처를 연결하는 방법은 무엇입니까?
그냥이
SDL_Texture* t1 = SDL_CreateTextureFromSurface(my_renderer, someSurface);
SDL_Texture* t2 = SDL_CreateTextureFromSurface(my_renderer, someOtherSurface);
//Some SDL code manipulations to make one SDL_Texture wich contains t1 and t2
어떤 제안처럼 보일 수 있습니다?
C 또는 C++? 둘 다 될 수는 없습니다. –