How do I reset transformations to initial state?

JWG 146 Reputation points
2023-08-30T03:20:23.8266667+00:00

I would like to make transformation in a render, and then do another render, with all previous transformations removed.

Is there a way I can store the default state, and restore that after each render?

This doesn't do what I want, and I am using bitmaps.

I found HRESULT Reset(), but don't get any results.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,576 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,675 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.