Announcement

Collapse
No announcement yet.

Clootie Headers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Clootie Headers

    Hello

    Do you know if the Delphi 12 currently support DirectX natively?

    Are the files ported by Clootie for DirectX no longer used in Afterwarp Framework v3.5.1 - SDK (April 15, 2025)?

    How Afterwarp Framework v3.5.1 - SDK (April 15, 2025) work internally with DirectX and OpenGL?

    Thanks​

  • #2
    The core of Afterwarp Framework is written in C++ using custom template and runtime framework (portions of which are open-sourced). It loads Direct3D dynamically manually when such backend is requested. OpenGL is also loaded dynamically using custom OpenGL loader, which is produced using an automated tool. Framework's C headers (Afterwarp.h) are translated to Pascal (PXT.Headers.pas) and C# headers (Afterwarp.API.cs) using another automated tool. All tools are made in-house, there are no external dependencies whatsoever.

    Regarding Delphi and DirectX headers: as far as I recall, starting around Delphi XE4 and later, Delphi already comes with DirectX headers. However, to enable compatibility with FreePascal, previously I've used my own HeaderParser tool (now archived, as it has been internally replaced by a similar but more advanced tool rewritten in C++) to convert many headers, including DirectX. I haven't used Clootie headers since Asphyre Sphinx.

    Comment


    • #3
      Originally posted by lifepower View Post
      The core of Afterwarp Framework is written in C++ using custom template and runtime framework (portions of which are open-sourced). It loads Direct3D dynamically manually when such backend is requested. OpenGL is also loaded dynamically using custom OpenGL loader, which is produced using an automated tool. Framework's C headers (Afterwarp.h) are translated to Pascal (PXT.Headers.pas) and C# headers (Afterwarp.API.cs) using another automated tool. All tools are made in-house, there are no external dependencies whatsoever.

      Regarding Delphi and DirectX headers: as far as I recall, starting around Delphi XE4 and later, Delphi already comes with DirectX headers. However, to enable compatibility with FreePascal, previously I've used my own HeaderParser tool (now archived, as it has been internally replaced by a similar but more advanced tool rewritten in C++) to convert many headers, including DirectX. I haven't used Clootie headers since Asphyre Sphinx.
      Very interesting, thank you my friend!

      Comment

      Working...
      X