Skip to content

Instantly share code, notes, and snippets.

@yorung
Created January 15, 2017 13:36
Show Gist options
  • Save yorung/df4ea757c10408aa79f6c0d697562447 to your computer and use it in GitHub Desktop.
Save yorung/df4ea757c10408aa79f6c0d697562447 to your computer and use it in GitHub Desktop.
[DX12] Define a vertex buffer and its view.
ID3D12Resource* vertexBuffer;
D3D12_VERTEX_BUFFER_VIEW vertexBufferView;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment