void FReflectionEnvironmentCubemapArray::UpdateMaxCubemaps(uint32 InMaxCubemaps)
{
	MaxCubemaps = InMaxCubemaps;

	// Reallocate the cubemap array
	if (IsInitialized())
	{
		UpdateRHI();
	}
	else
	{
		InitResource();
	}
}
void FMeshParticleVertexFactory::SetData(const DataType& InData)
{
	check(IsInRenderingThread());
	Data = InData;
	UpdateRHI();
}