Advertisement

Latest SharpDX Activity

I tried: 

RenderInitialize(){
	DirectInput InputManager = new DirectInput();
}
RenderLoop(){
	Mouse mouse = new Mouse(InputManager);
	MouseState mouseState = new MouseState
	mouse.Acquire();
	mouse.getCurrentState(ref mouseState);
	Console.WriteLine("X: " + mouseState.X + " Y: " + mouseState.Y)…
6,045 views
Advertisement

I have a bmp and I want to texture a mesh with it.I calculated the uvs for the mesh and sent them to vertex shader.I have no idea how to take the data from.bmp file and send it to pixel shader.
 

Bitmap bitmap = new Bitmap(texturePath);

The vertexShader.hlsl:

#pragma pack_matrix( row_major )
cbuff…
4,076 views

Hi, Im using Directx11 with SharpDX, i was trying to use Visual Studio's graphics debugger to improve performance on my shaders but couldn't get it to work. Whenever i start it the graphs don't move and if i try to capture a frame it just loads forever. I tried creating Device with Debug flag or us…

4,087 views

if you are 100% sure that your parameters are correct then it could be that the feature you are trying to use isn't supported by your hardware;

if your parameters are not correct, weeeell… you need to fix them, i'm not sure your post has enough info to help…

all the best ?

3,992 views
Advertisement
Advertisement