Results 1 to 10 of 12

Thread: DirectX

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Quote Originally Posted by Anton View Post
    Hi Thyandyr,

    I was confronting the same situation a while ago. I don' know if you are interested in D3D11 or D3D12.

    For D3D11 you can check these few examples here - https://github.com/AntonAngeloff/DX11_Examples . I wrote them as part of a project for a basic tutorial on using Direct3D 11 with FPC/Delphi, which unfortunately I never finished. The examples are based on the CMCHTPC headers.
    Thanks. I started with OpenGL but will definitely check these as well. I don't have any ideology, I just want something that is easy to set up.

    Had a look. Looks pretty much same as OpenGL code. Unfortunately I get [dcc32 Error] renderer.pas(17: E2010 Incompatible types: 'PDXGI_SWAP_CHAIN_DESC' and 'TDXGI_SWAP_CHAIN_DESC' and I don't know what to do. Maybe the header file superseded the project files.
    Last edited by Thyandyr; 31-10-2017 at 09:10 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •