DirectX. Triangle. Framework. Part 1.