tile - How to repeat a bitmap with allegro 5 -


i have 400x400 image need tile in allegro 5. need tile various sizes cannot create larger image. however, google search returned nothing this, nor did search on site. there way of doing (like can in directx/opengl texture wrapping, clamping , reflecting) without drawing image on , on again?

both graphic apis internally, there no "tiling" function included on allegro have implement own.

render time impact non-existing since still below millions of triangles per second current cards can draw. bonus, can use al_hold_bitmap_drawing(true) draw tiles wish same bitmap have more framerate.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -