17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 12:49:13 +01:00

Walk the shadow passes and the culled model groups on worker threads in the Vulkan renderer

This commit is contained in:
2026-10-27 20:56:11 +01:00
parent c44b243698
commit 1447dcf075
55 changed files with 4114 additions and 427 deletions

View File

@@ -122,6 +122,10 @@ public:
// legacy method, updates geometry for pieces in the animation list
void
RaAnimate( unsigned int const Framestamp );
// whether RaAnimate() has anything to update in the frame
bool
animation_pending( unsigned int const Framestamp ) const {
return ( tTrackAnim != nullptr ) && ( Framestamp != m_framestamp ); }
// sends content of the class to provided stream
void
serialize( std::ostream &Output ) const;
@@ -405,6 +409,10 @@ public:
// generates renderable version of held non-instanced geometry
void
create_geometry();
// whether create_geometry() has anything to make or to load
bool
geometry_pending() const {
return ( false == m_terrain.empty() ) || ( false == m_geometrycreated ); }
// loads geometry of the section kept in binary terrain files, if any is waiting
void
load_terrain();