MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / PrepareMeshTL

Method PrepareMeshTL

engine/Poseidon/Graphics/Core/Engine.hpp:486–487  ·  view source on GitHub ↗

re-upload only viewProj matrix (for clip range changes without affecting fog)

Source from the content-addressed store, hash-verified

484 } // re-upload frame UBO with current GScene camera (needed when camera changes mid-frame)
485 virtual void UpdateProjection() {} // re-upload only viewProj matrix (for clip range changes without affecting fog)
486 virtual void PrepareMeshTL(const LightList& lights, const Matrix4& modelToWorld, const render::LegacySpec& spec) {
487 } // prepare internal variables
488 virtual void BeginMeshTL(const Shape& sMesh, int spec, bool dynamic = false) {} // convert all mesh vertices
489 virtual void EndMeshTL(const Shape& sMesh) {} // forget mesh
490 virtual void DrawSectionTL(const Shape& sMesh, int beg, int end) {}

Callers 2

DrawShadowMethod · 0.45
DrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected