Esempio n. 1
0
        public static VertexBuffer Create(VertexBufferCreateInfo info)
        {
            ulong resourceID = VertexBuffer_Create_Native(ref info);

            VertexBuffer buffer = new VertexBuffer
            {
                ID = resourceID
            };

            return(buffer);
        }
Esempio n. 2
0
 private static extern ulong VertexBuffer_Create_Native(ref VertexBufferCreateInfo info);