meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cwindstatemgr-in-core [2023/04/04 10:00]
steph.jorgensen
cwindstatemgr-in-core [2023/07/31 17:19] (current)
king
Line 1: Line 1:
 ====== CWindStateMgr class ====== ====== CWindStateMgr class ======
  
-As highlighted in yellow in the figure below, ''CWindStateMgr'' feeds state information into a wind-enabled vertex shader through shader constants. The state is defined by an artist in the Modeler application when the wind behavior is tuned. +The CWindStateMgr class is declared and defined in ''Include/SpeedTree/Core/SpeedTreeWind.h''As highlighted in yellow in the figure below, ''CWindStateMgr'' feeds state information into a wind-enabled vertex shader through shader constants. The state is defined by an artist in the Modeler application when the wind behavior is tuned. 
  
 {{undefined:diagram_wind_system_cwindstatemgr.jpeg?1100}} {{undefined:diagram_wind_system_cwindstatemgr.jpeg?1100}}
  
-''CWindStateMgr'' is the same class used by all versions of the Modeler (games, cinematic, and subscription) and can support all of SpeedTree's different wind modes, though the Games SDK uses the "SDK" wind mode only. The state passed by ''CWindStateMgr'' is encapsulated in ''SWindInputSdk::m_sState'', where ''m_sState'' is of type ''SWindStateSdk'' defined in ''Include/SpeedTree/Core/WindTypes.h'' but also listed below:+''CWindStateMgr'' is the same class used by all versions of the Modeler (games, cinematic, and subscription) and can support all of SpeedTree's different wind modes, though the Games SDK uses the "SDK" wind mode only. The state passed by ''CWindStateMgr'' is encapsulated in ''SWindInputSdk::m_sState'', where ''m_sState'' is of type ''SWindStateSdk'' also defined in ''Include/SpeedTree/Core/SpeedTreeWind.h'' but also listed below:
  
 <code cpp-qt> <code cpp-qt>