Porting SetTransform function in DirectX 9 to DirectX 11 or 12

Balineni Rohith Sai 0 Reputation points
2024-05-22T03:54:58.4266667+00:00

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 development | Windows API - Win32
Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2024-05-22T05:41:59.2733333+00:00

    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.

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.