Jump to content
  • Advertisement
Sign in to follow this  
Semei

DX11 [SlimDX] DX11 shader mess

This topic is 2806 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!