LibGL+LibSoftGPU: Support generation of multiple texture coordinates

This commit is contained in:
Stephan Unverwerth 2022-01-15 21:08:57 +01:00 committed by Andreas Kling
commit 12f63df329
Notes: sideshowbarker 2024-07-17 20:38:53 +09:00
4 changed files with 101 additions and 93 deletions

View file

@ -70,8 +70,8 @@ struct RasterizerOptions {
WindingOrder front_face { WindingOrder::CounterClockwise };
bool cull_back { true };
bool cull_front { false };
u8 texcoord_generation_enabled_coordinates { TexCoordGenerationCoordinate::None };
Array<TexCoordGenerationConfig, 4> texcoord_generation_config {};
Array<u8, NUM_SAMPLERS> texcoord_generation_enabled_coordinates {};
Array<Array<TexCoordGenerationConfig, 4>, NUM_SAMPLERS> texcoord_generation_config {};
Gfx::IntRect viewport;
bool lighting_enabled { false };
bool color_material_enabled { false };