Test suite for MoonWorks graphics
 
 
Go to file
Caleb Cornett 1a8de15875 update README for GetBufferData 2022-11-11 22:57:38 -05:00
BasicTriangle add some initial tests 2022-11-09 14:54:42 -05:00
ClearScreen add some initial tests 2022-11-09 14:54:42 -05:00
ClearScreen_MultiWindow add some initial tests 2022-11-09 14:54:42 -05:00
CullFace add some initial tests 2022-11-09 14:54:42 -05:00
GetBufferData minor tweak for consistency 2022-11-11 22:55:49 -05:00
MSAA add some initial tests 2022-11-09 14:54:42 -05:00
MoonWorks.Test.Common add GetBufferData test and include MoonWorks in the solution 2022-11-11 22:51:31 -05:00
TexturedAnimatedQuad add some initial tests 2022-11-09 14:54:42 -05:00
TexturedQuad add some initial tests 2022-11-09 14:54:42 -05:00
TriangleVertexBuffer add some initial tests 2022-11-09 14:54:42 -05:00
.gitignore add some initial tests 2022-11-09 14:54:42 -05:00
MoonWorksGraphicsTests.sln add GetBufferData test and include MoonWorks in the solution 2022-11-11 22:51:31 -05:00
README.md update README for GetBufferData 2022-11-11 22:57:38 -05:00

README.md

Tests include:

ClearScreen

Clears the screen to CornflowerBlue. Mostly useful as a smoke test to make sure basic device init and render passes are working as intended.

ClearScreen_MultiWindow

Similar to above, but with two windows. Useful for testing window claim/unclaim logic and presenting to multiple swapchains.

BasicTriangle

Sets up a graphics pipeline and draws a triangle without vertex buffers. (The vertices are manually positioned in the vertex shader.) Also tests some basic rasterizer state with custom viewports, scissor rects, and fill/wireframe modes.

TriangleVertexBuffer

Similar to above, but using a MoonWorks vertex buffer and custom vertex structs.

TexturedQuad

Draws a textured quad to the screen. Tests texture binding, index buffers, and sampler states.

AnimatedTexturedQuad

Similar to above, but with rotating and color-blending animations. Tests vertex and fragment uniforms.

MSAA

Draws a basic triangle with varying MSAA sample counts.

CullMode

Draws several triangles with various culling modes and winding orders.

GetBufferData

Sets buffer data, gets the data back from the GPU, and prints the results to the console.