renderSamples optimization

only render sample types which are used
stability remains to be tested
This commit is contained in:
tildearrow 2022-09-25 17:18:04 -05:00
parent 89ece073f6
commit 656de800cf
6 changed files with 119 additions and 96 deletions

View file

@ -248,7 +248,7 @@ struct DivSample {
/**
* initialize the rest of sample formats for this sample.
*/
void render();
void render(unsigned int formatMask=0xffffffff);
/**
* get the sample data for the current depth.