[SlimDX] DX11 shader mess

Started by
1 comment, last by Semei 13 years, 5 months ago
I dont understand the way DX11 shaders are ment to operate, also Effect class is kindof... useless.

Should i use ShaderBytecode class to get ShaderBytecode and then use " PixelShader pixelShader = new PixelShader(Device device, ShaderBytecode shaderBytecode).."? Its weird because it(ShaderBytecode class) uses DX10 interfaces underneath, wont it provide limited functionality/break?
Advertisement
The blob interface is just a bag of bits. The interface has been typedef'd in the headers to just be ID3DBlob because it is version agnostic. So you don't have to worry about this.

Why do you find effects useless?

What is your specific confusion about DX11 shaders and how they operate. The question is vague so I'm not sure what you're asking.
Oh, if thats the case them im fine, thanks =)

This topic is closed to new replies.

Advertisement