15 years, 9 months ago
Highlights
15 years, 9 months ago
Quote:Original post by _fastcallQuote:Arrays are good for cache locality (if I'm thinking correctly), but what should I be using for these two types of lists:A variable-sized li…
15 years, 9 months ago
1) I assume that I am correct in thinking that if I am instantiating a class within a scope that will exit before I'm done using that instance, I need to "new" it. Is it okay/be…
15 years, 9 months ago
This should be easily answered by anyone familiar with using HLSL.Quick version: How do I pass an array into the shader if it's an array of classes?Less-quick version (i.e. what…
16 years ago
I want to seed this variable in my shader file with an array out of my application:in app:Light lights[NUM_LIGHTS];in effect file:Light gLight[NUM_LIGHTS];I know that to do so w…
16 years ago
Latest Activity
See all in DiscussionsQuote:Original post by _fastcallQuote:Arrays are good for cache locality (if I'm thinking correctly), but what should I be using for …
15 years, 9 months ago
Quote:Original post by Buckeye1) Yes. However, better is:Thing foo; // do this - create a single instance// NOTThing foo = …
15 years, 9 months ago
1) I assume that I am correct in thinking that if I am instantiating a class within a scope that …
15 years, 9 months ago