| 51 | } |
| 52 | |
| 53 | void create_texture( |
| 54 | geode::AttributeManager& attributes, geode::TextureStorage2D& storage ) |
| 55 | { |
| 56 | geode::TextureManager2D manager{ attributes, storage }; |
| 57 | auto& texture = manager.find_or_create_texture( "texture" ); |
| 58 | for( const auto i : geode::Range{ 42 } ) |
| 59 | { |
| 60 | texture.set_texture_coordinates( |
| 61 | { i, 0 }, geode::Point2D{ { i * 2., i * 3. } } ); |
| 62 | } |
| 63 | texture.set_image( create_raster() ); |
| 64 | } |
| 65 | |
| 66 | void check_texture( |
| 67 | geode::AttributeManager& attributes, geode::TextureStorage2D& storage ) |
no test coverage detected