199 reputation
111
bio website danbystrom.se
location Västra Frölunda, Sweden
age 47
visits member for 2 years, 10 months
seen 33 mins ago

Passionate programmer for more than 25 years. Currently using mostly C#.

Every day I learn just how little I know about programming, life and the universe.

I have just begun a journey into SharpDx, to which I'm completely new, so I guess there are a lot of questions coming this way!


1d
comment SharpDx Null Reference Exception on SpriteBatch.End()
@RecursiveCall, see my answer to myself below. I finally found a sample showing how this must be done. The code I gave was perfectly sufficient. I didn't need debugging help, I needed documentation. Downvoting this question was really bad style.
1d
comment SharpDx Null Reference Exception on SpriteBatch.End()
Will do, but I cannot mark my own answer accepted until after two days.
1d
awarded  Teacher
2d
answered SharpDx Null Reference Exception on SpriteBatch.End()
2d
revised SharpDx Null Reference Exception on SpriteBatch.End()
added 261 characters in body
2d
comment SharpDx Null Reference Exception on SpriteBatch.End()
@RecursiveCall, I don't see how any other code could be relevant, and I'm not at all asking for debugging help at all. I'm hoping that someone will tell me that a custom shader passed to a sprite batch must be written in a specific way, or that there are restrictions on the target types, or something like that. I'm come to a grinding halt on debugging this, after hours of experimenting and googling. And if this problem can be diagnosed and documented here, it will help others walking the same path. Why do you say that that should be a no no???
2d
asked SharpDx Null Reference Exception on SpriteBatch.End()
Sep
8
comment SharpDx from Nuget
Thanks, I have upgraded. After fiddling with my exisiting projects, it actually feels much more stable, but notably, things are still missing from the SharpDx.D3DCompiler namespace while all assemblies seems to be in place!?
Sep
8
revised SharpDx from Nuget
deleted 197 characters in body
Sep
8
comment SharpDx from Nuget
Version 2.7.40911.287
Sep
5
revised SharpDx from Nuget
added 197 characters in body
Sep
5
revised SharpDx from Nuget
added 43 characters in body
Sep
5
asked SharpDx from Nuget
Aug
2
revised HLSL - can't get texture to wrap or mirror
A dotted list first made me think that I should do one of them, not both
Aug
2
accepted HLSL - can't get texture to wrap or mirror
Aug
2
suggested suggested edit on HLSL - can't get texture to wrap or mirror
Aug
2
comment HLSL - can't get texture to wrap or mirror
Thanks. That would have been hard for me to figure out by myself! Would you say that the the toolkit is a bad move? It just looked like the easiest way, coming from XNA...
Aug
1
revised HLSL - can't get texture to wrap or mirror
added 5535 characters in body
Aug
1
revised HLSL - can't get texture to wrap or mirror
edited tags
Aug
1
comment HLSL - can't get texture to wrap or mirror
I compile it by setting the BuildAction property to "ToolkitFxc" in Visual Studio. I have no idea about the debuggers you're reffering to...