Closed MatthewChrobak closed 4 years ago
Just commenting with a question to make sure I understand the change though: the goal of BatchTextureContext
is to generate randomized pixels for a scene texture?
Just commenting with a question to make sure I understand the change though: the goal of
BatchTextureContext
is to generate randomized pixels for a scene texture?
This BatchTextureContext
will let you draw the same texture in different locations, different sizes, and different color tints, in a single Draw call. This feature will be useful for your #4 task where you'll need to render a star texture hundreds of times in different locations in a scene.
Implements and closes #8
Benchmark
Benchmark code for BatchTextureContext
Benchmark Texture
Benchmark Scene
Observed View