Created
February 8, 2017 08:26
-
-
Save mellinoe/5a26b75f7d795b2826f8994e7c1e827f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VertexBuffer vb = rc.ResourceFactory.CreateVertexBuffer( | |
Cube.Vertices, | |
new VertexDescriptor(VertexPositionColor.SizeInBytes, 2), | |
isDynamic:false); | |
IndexBuffer ib = rc.ResourceFactory.CreateIndexBuffer( | |
Cube.Indices, | |
isDynamic: false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment