Skip to content

FaberSanZ/DX11-Samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectX 11 Samples 🎮

📝 Overview

This is designed for the DirectX 11 learning process, I mainly use it to experiment with graphical or computing techniques and should not be used as a cerium product as it may have memory leaks and faulty or poorly optimized implementations.

Examples

Example Details
Clear Screen
This example shows how to configure the device and clear the color.
Pipeline
We will start drawing geometry onto the screen in this tutorial. We will learn more about Pipeline
VertexBuffer
Let's get some color in our scene. In this tutorial we will add color to our vertices to color our triangle. This involves updating the vertex shader to pass the color to the pixel shader, the pixel shader to output the color passed to it, the vertex structure to add a color attribute, and the input layout to include a color input element.
IndexBuffer
In this tutorial we will learn how to use indices to define our triangles. This is useful because we can remove duplicate vertices, as many times the same vertex is used in multiple triangles.
DepthTests
We will create a depth/stencil buffer, then create a depth/stencil view which we bind to the OM stage of the pipeline.
ConstantBuffersCamera
In this sample, we will learn about matrices, transformations, world/view/projection space matrices, and constant buffers.

About

DirectX 11 Samples

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published