DirectX and Com

Discussion in 'Programming/Html' started by Ghosty, Aug 2, 2022.

  1. Ghosty

    Ghosty Ancient Guru

    Messages:
    8,015
    Likes Received:
    1,195
    GPU:
    RTX 3050
    Is it possible to intergrate DirectX12 and Com in the same code file?
     
  2. Alessio1989

    Alessio1989 Ancient Guru

    Messages:
    2,979
    Likes Received:
    1,256
    GPU:
    .
    Direct3D interface are actually COM C++ interfaces... And you will probably use Com pointers or C++ class wrappers for COM pointers to handle them..
     
    mbk1969 likes this.
  3. Ghosty

    Ghosty Ancient Guru

    Messages:
    8,015
    Likes Received:
    1,195
    GPU:
    RTX 3050
    Yeah, basically just pointer to a pointer, or a pointer.
     
  4. Ghosty

    Ghosty Ancient Guru

    Messages:
    8,015
    Likes Received:
    1,195
    GPU:
    RTX 3050
    Figured out COM for the most part anyway. Not easy at all. Next question is about Pipeline and the minimum requirements for rendering. I've been struggling with this for over a year now.

    HLSL ->(float, POS, COLOR), but I've never actually got Direct3D to render(SUCCEEDED); Direct2D renders ok though, UI etc.
     

Share This Page