Castor3D  ..
Public Member Functions | List of all members
Castor3D::SubdivisionFrameEvent Class Reference

Threaded Subdivision Frame event. More...

+ Inheritance diagram for Castor3D::SubdivisionFrameEvent:
+ Collaboration diagram for Castor3D::SubdivisionFrameEvent:

Public Member Functions

C3D_API SubdivisionFrameEvent (SubmeshSPtr p_pSubmesh)
 Constructor. More...
 
virtual C3D_API ~SubdivisionFrameEvent ()
 Destructor. More...
 
virtual C3D_API bool Apply ()
 Applies the event : computes normals, generates buffers, initialises the renderer. More...
 
- Public Member Functions inherited from Castor3D::FrameEvent
C3D_API FrameEvent (eEVENT_TYPE p_type)
 Constructor. More...
 
C3D_API FrameEvent (FrameEvent const &p_object)
 Copy constructor. More...
 
C3D_API FrameEvent (FrameEvent &&p_object)
 Move constructor. More...
 
C3D_API FrameEventoperator= (FrameEvent const &p_object)
 Copy assignment operator. More...
 
C3D_API FrameEventoperator= (FrameEvent &&p_object)
 Move assignment operator. More...
 
virtual C3D_API ~FrameEvent ()
 Destructor. More...
 
eEVENT_TYPE GetType ()
 Retrieves the event type. More...
 

Additional Inherited Members

- Protected Attributes inherited from Castor3D::FrameEvent
eEVENT_TYPE m_type
 The event type. More...
 

Detailed Description

Threaded Subdivision Frame event.

Author
Sylvain DOREMUS
Version
0.6.1.0
Date
11/01/2011
Remarks
At the end of the subdivision, buffers of a submesh may be generated, it happens in this event

Constructor & Destructor Documentation

◆ SubdivisionFrameEvent()

C3D_API Castor3D::SubdivisionFrameEvent::SubdivisionFrameEvent ( SubmeshSPtr  p_pSubmesh)

Constructor.

Parameters
[in]p_pSubmeshThe subdivision target

◆ ~SubdivisionFrameEvent()

virtual C3D_API Castor3D::SubdivisionFrameEvent::~SubdivisionFrameEvent ( )
virtual

Destructor.

Member Function Documentation

◆ Apply()

virtual C3D_API bool Castor3D::SubdivisionFrameEvent::Apply ( )
virtual

Applies the event : computes normals, generates buffers, initialises the renderer.

Returns
true if the event was applied successfully

Implements Castor3D::FrameEvent.


The documentation for this class was generated from the following file: