Window Updater

class WindowUpdater

Public Functions

~WindowUpdater()
void InitEffect(crossplatform::Effect *effect)
void CompileEffect()
void RestoreDeviceObjects(crossplatform::RenderPlatform *r)
void InvalidateDeviceObjects()
void RecompileShaders()
void BlockDensity(crossplatform::DeviceContext &deviceContext, Environment *environment, int3 blockPos, int3 blockFill, crossplatform::Texture *cloud_texture, crossplatform::Texture *light_valid, std::vector<CloudLayerState> &cloudLayers, CloudWindow &cloudWindow, crossplatform::Effect *effect)
void BlockMips(crossplatform::DeviceContext &deviceContext, int3 blockPos, int3 blockFill, crossplatform::Texture *cloud_texture, crossplatform::Texture *light_valid, std::vector<CloudLayer*> &cloudLayers, CloudWindow &cloudWindow, crossplatform::Effect *effect)
void BlockLight(crossplatform::DeviceContext &deviceContext, int3 blockPos, int3 blockFill, Environment *environment, std::vector<CloudLayer*> &cloudLayers, CloudWindow &cloudWindow, CloudRenderingOptions &cloudRenderingOptions, crossplatform::Effect *effect, crossplatform::Texture *cloud_texture, crossplatform::Texture *light_texture, crossplatform::Texture *light_valid, bool init)
void UpdateNextCloudTexture(crossplatform::DeviceContext &deviceContext, Environment *environment, std::vector<CloudLayer*> &cloudLayers, CloudWindow &cloudWindow, float progress, int cycle, CloudRenderingOptions &cloudRenderingOptions, crossplatform::Effect *effect, CloudConstants &inCloudConstants, CloudPerViewConstants &inCloudPerViewConstants, GpuCloudConstants &inGpuCloudConstants, CloudVolumeTextures *cloudVolumeTextures, crossplatform::Texture *light_valid)
void UpdateCombinedCloudTexture(crossplatform::DeviceContext &deviceContext, CloudVolumeTextures*, CloudRenderingOptions &cloudRenderingOptions, crossplatform::ConstantBuffer<CloudConstants> &cloudConstants, crossplatform::ConstantBuffer<CloudPerViewConstants> &cloudPerViewConstants, crossplatform::ConstantBuffer<GpuCloudConstants> &gpuCloudConstants)
void InitCloudLayerStates(std::vector<CloudLayer*> &cloudLayers, CloudWindow &cloudWindow)

Public Members

int stationary_target_index = 2
int block_update_index = 3