Hi, as i understand, the way a scrollable window work is that it will render all available contents, then you can adjust origin of the view (the window itself) to change where are you looking at.
But, i wonder, is it possible to only draw contents those will lie within the view and not draw those which lie outside?
Assume i have to draw 1000 images on this scene, it will take very long time to draw all of them. But then since the view (window) can be drag around, i won't be able to know which one will be visible (sometime, only part of the image will get into the view) to draw.
So, how do you render content of a scrollable window?
But, i wonder, is it possible to only draw contents those will lie within the view and not draw those which lie outside?
Assume i have to draw 1000 images on this scene, it will take very long time to draw all of them. But then since the view (window) can be drag around, i won't be able to know which one will be visible (sometime, only part of the image will get into the view) to draw.
So, how do you render content of a scrollable window?