M Misu Guest Mar 29, 2017 #1 Im new to buffers and was wondering how images are saved into buffers. Im pretty sure it is possible but I dont find any info on such.
Im new to buffers and was wondering how images are saved into buffers. Im pretty sure it is possible but I dont find any info on such.
CMAllen Member Mar 29, 2017 #2 buffer_get_surface will write the RGBA information of a surface to the designated buffer for you. Draw what you want to said buffer and there you go.
buffer_get_surface will write the RGBA information of a surface to the designated buffer for you. Draw what you want to said buffer and there you go.
H Hieran_Del8 Guest Mar 29, 2017 #3 If you want a sprite texture, I learned recently you can first draw a sprite to a surface, which enables you to get sprite data following CMAllen's suggestion.
If you want a sprite texture, I learned recently you can first draw a sprite to a surface, which enables you to get sprite data following CMAllen's suggestion.