DirectX or Vulkan Triangle sample?

Hi everyone,

Is there an example of drawing a triangle or something simple with Xojo in Vulkan or DirectX (preferably 9.0 or higher).?

There was a really old example with a plugin in the REALbasic forums, and it doesn’t seem to work.

Thanks!