Porting SetTransform function in DirectX 9 to DirectX 11 or 12

Balineni Rohith Sai 0 Reputation points

Iam porting an existing project with DirectX 9 to DirectX 11 or 12, I am trying to port the function SetTransform from DirectX 9, there is no reference found in DirectX 11 or 12, please kindly suggest where to find the above function and how to define the above function.

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,482 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,601 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 82,491 Reputation points

    There is no replacement for IDirect3DDevice9:SetTransform : https://learn.microsoft.com/en-us/windows/uwp/gaming/feature-mapping

    For emulation of fixed-function pipeline, you can see this sample : https://github.com/walbourn/directx-sdk-samples/tree/main/FixedFuncEMUFX11

    1 person found this answer helpful.