95 double Render(
double p_und);
129 double m_previousRenderTime;
156 return m_pViewManager;
164 return m_pPointOfView;
[AI] Represents a 3D view for rendering and managing LEGO game objects in a 3D scene.
BOOL Create(const CreateStruct &rCreateStruct, Tgl::Renderer *pRenderer)
[AI] Initializes the 3D view with the specified surface creation parameters and renderer interface.
ViewROI * GetPointOfView()
[AI] Returns the current point-of-view object (the ViewROI the camera is following).
BOOL Add(ViewROI &rROI)
[AI] Adds a ViewROI (renderable object instance) to the scene.
BOOL SetPointOfView(ViewROI &rROI)
[AI] Sets the current point of view to the specified ViewROI and updates the camera transformation.
void Destroy() override
[AI] Cleans up resources allocated by the view, including the ViewManager, unset the point of view,...
~Lego3DView() override
[AI] Destroys the Lego3DView instance and all associated resources via Destroy().
BOOL Moved(ViewROI &rROI)
[AI] Notifies the view that a ViewROI has moved.
ViewManager * GetViewManager()
[AI] Returns the ViewManager responsible for managing scene objects and transformations.
Lego3DView()
[AI] Constructs a new Lego3DView instance.
ViewROI * Pick(unsigned long x, unsigned long y)
[AI] Picks (selects) a ViewROI in the scene by screen-space coordinates.
BOOL Remove(ViewROI &rROI)
[AI] Removes a ViewROI from the scene.
[AI] 3D view that supports advanced lighting for scene rendering.
virtual double Render()
[AI] Renders a single frame and returns the render time for that frame.
[AI] Main interface/factory for rendering resources and scene graphs.
[AI] Manages all ViewROI objects that are rendered in a given scene, handles frustum culling,...
[AI] ViewROI objects represent viewable and placeable objects in the scene, each holding their own tr...
[AI] Contains initialization parameters for creating a TglSurface and its underlying DDraw/D3D resour...