void FD3D11Texture2DSet::SwitchToNextElement()
{
	check(TextureSet);
	check(TextureSet->TextureCount == Textures.Num());

	TextureSet->CurrentIndex = (TextureSet->CurrentIndex + 1) % TextureSet->TextureCount;
	InitWithCurrentElement();
}
void FD3D11Texture2DSet::SwitchToNextElement(ovrSession InOvrSession)
{
	check(TextureSet);
	
	int CurrentIndex;
	ovr_GetTextureSwapChainCurrentIndex(InOvrSession, TextureSet, &CurrentIndex);

	InitWithCurrentElement(CurrentIndex);
}