Vertex = Location and properties of an point in 3D space. Location defines with 3 numerical coordinate values.
Input Layout = Data containing the location and properties of a vertex.
The vertex buffers for rendering was copied from System Memory into Video Memory by DirectX COM object.
- http://www.directxtutorial.com/LessonList.aspx?listid=11
- https://alain.xyz/blog/raw-directx12
- https://www.3dgep.com/learning-directx-12-1/
- Tell the GPU that we want render a triangle (shader program) Rendering pipeline holds the flow of rendering with the help of Shader to customize how the render would work. a. Load and compile the Shader file b. Change the Shader file into Shader object c. Set the Shader to active
- Create the triangle vertices
- Stores the vertices to the video card memory
- Tell GPU to read those values
- Render the triangle
Steps To Render http://www.directxtutorial.com/Lesson.aspx?lessonid=11-4-5
- Create shader : tell the GPU that we want to render an image
- Create vertex buffer : hold informations about the "image" that we want to render (position, color, etc)
- Create input layout : combine the shader & vertex buffer in order to be able to render
- DRAW!