Skip to main content
13 events
when toggle format what by license comment
Nov 7, 2016 at 2:16 comment added 王凯越 Kaiyue Wang I have, but my reputation is less than 15 currently, so it may not be displayed
Nov 7, 2016 at 2:15 vote accept 王凯越 Kaiyue Wang
Nov 7, 2016 at 0:54 comment added 王凯越 Kaiyue Wang Ok, you've offered great help! Thank you very much.
Nov 7, 2016 at 0:49 history edited Justin William Stanley Bryant CC BY-SA 3.0
added 29 characters in body
Nov 7, 2016 at 0:48 comment added Justin William Stanley Bryant You can use the subresource index to access mip maps in textures or individual textures in texturearrays and stuff like that , if you are using a buffer then it is set to 0 because there are no subresources.
Nov 7, 2016 at 0:44 comment added 王凯越 Kaiyue Wang Right, that's what I intend to do. About the second parameter in the method, that index number of subresource, what does it represent exactly and why is it zero?
Nov 6, 2016 at 23:09 history edited Justin William Stanley Bryant CC BY-SA 3.0
added 1299 characters in body
Nov 6, 2016 at 22:42 comment added Justin William Stanley Bryant Utilities.WriteAndPosition is a sharpDX function, look in sharpDX.Utilities. I never keep values around I just resend them all to the GPU at once every time. Ill update my answer with a bit more info, have a look in 10-15mins
Nov 6, 2016 at 13:51 comment added 王凯越 Kaiyue Wang And, also, do you know what the equivalence is for Utilities.WriteAndPosition in C#. I didn't even know that SharpDX can work in VB before
Nov 6, 2016 at 11:46 comment added 王凯越 Kaiyue Wang I am expecting to make a scatter plot. I keep the original ones while adding new points on it
Nov 6, 2016 at 8:51 comment added Justin William Stanley Bryant Mapping is fast, I do it for all my instance\particle\any other buffer and its very fast. Why do you want to keep the old data? what data are you adding? More info because maybe in can update my answer.
Nov 6, 2016 at 8:44 comment added 王凯越 Kaiyue Wang Thank you, but I don't think I should use MapMode.WriteDiscard if I want to keep the original data in the buffer, right? Does mapping take a lot of time if I want to update many times in a frame?
Nov 6, 2016 at 8:02 history answered Justin William Stanley Bryant CC BY-SA 3.0