class VulkanRendererTest_RenderTest_Test

Defined at line 740 of file ../../src/ui/scenic/lib/flatland/renderer/tests/renderer_unittest.cc

This test actually renders a rectangle using the VKRenderer. We create a single rectangle,

with a half-red, half-green texture, and translate it. The render target is 16x8

and the rectangle is 4x2. So in the end the result should look like this:

----------------

----------------

----------------

------RRGG------

------RRGG------

----------------

----------------

----------------

It then renders the renderable a second time, this time with modified UVs so that only

the green portion of the texture covers the rect, resulting in a fully green view despite

the texture also having red pixels:

----------------

----------------

----------------

------GGGG------

------GGGG------

----------------

----------------

----------------

Public Methods

void VulkanRendererTest_RenderTest_Test ()

Defined at line 740 of file ../../src/ui/scenic/lib/flatland/renderer/tests/renderer_unittest.cc

void VulkanRendererTest_RenderTest_Test (const VulkanRendererTest_RenderTest_Test & )

Defined at line 740 of file ../../src/ui/scenic/lib/flatland/renderer/tests/renderer_unittest.cc

VulkanRendererTest_RenderTest_Test & operator= (const VulkanRendererTest_RenderTest_Test & )

Defined at line 740 of file ../../src/ui/scenic/lib/flatland/renderer/tests/renderer_unittest.cc