// Copyright Epic Games, Inc. All Rights Reserved. #include "ExponentialHeightFogStateStreamImpl.h" #include "SceneInterface.h" #include "StateStreamCreator.h" //////////////////////////////////////////////////////////////////////////////////////////////////// FExponentialHeightFogStateStreamImpl::FExponentialHeightFogStateStreamImpl(FSceneInterface& InScene) : Scene(InScene) { } void FExponentialHeightFogStateStreamImpl::Render_OnCreate(const FExponentialHeightFogStaticState& Ss, const FExponentialHeightFogDynamicState& Ds, FExponentialHeightFogSceneProxy*& UserData, bool IsDestroyedInSameFrame) { Scene.AddExponentialHeightFog(uint64(&Ss), Ds); } void FExponentialHeightFogStateStreamImpl::Render_OnUpdate(const FExponentialHeightFogStaticState& Ss, const FExponentialHeightFogDynamicState& Ds, FExponentialHeightFogSceneProxy*& UserData) { } void FExponentialHeightFogStateStreamImpl::Render_OnDestroy(const FExponentialHeightFogStaticState& Ss, const FExponentialHeightFogDynamicState& Ds, FExponentialHeightFogSceneProxy*& UserData) { Scene.RemoveExponentialHeightFog(uint64(&Ss)); } //////////////////////////////////////////////////////////////////////////////////////////////////// STATESTREAM_CREATOR_INSTANCE(FExponentialHeightFogStateStreamImpl) ////////////////////////////////////////////////////////////////////////////////////////////////////