Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
9
votes
Accepted
XNA ContentManager.Load causes string allocation
Your solution to the problem is correct - hold your own references.
In my games I take it a step further with class Asset<T>. Basically:
The Asset<T> type can exist in a not-yet-loaded state (a pub …
1
vote
Accepted
Load XNA Content Type from File
I had a look at the code in ILSpy, and it's heavily generic. There isn't a private Read(Type type) method available.
Your option on the PC to keep things quick is to use Expression objects - basicall …