Commit Graph
105 Commits
Author SHA1 Message Date
Simon Lübeß 5a8499ac43 Moved ImplBind implementation from Texture2D to Texture 2021-04-09 19:31:49 +02:00
Simon Lübeß 2ad45edef5 Improved Windows keyboard input
- added handling of syskey-messages (alt-Key now generates Key events)
- right and left variants of keys now generate seperate events (e.g. left shift and right shift are seperate keys now instead of simply being "shift")
- added method to get the localized name of a Key
2021-03-14 17:59:13 +01:00
Simon Lübeß cfff2cb738 Added window (de-)activate events 2021-03-13 17:50:58 +01:00
Simon Lübeß 9ae376f572 Added Vectors and Vector component swizzling 2021-02-20 13:38:05 +01:00
Simon Lübeß 1ce94b6a6c VertexLayout cleanup 2021-02-09 17:24:21 +01:00
Simon Lübeß abe4f66724 Added BlendState 2021-02-09 13:37:26 +01:00
Simon Lübeß 9219ccf9d8 Textures can now hold SamplerStates 2021-02-08 15:48:00 +01:00
Simon Lübeß ea140f0532 Added SamplerState 2021-02-08 15:36:47 +01:00
Simon Lübeß 11bc63fb04 Reference counting fixes 2021-02-08 15:25:46 +01:00
Simon Lübeß 2adb138f72 Added Textures 2021-02-08 12:37:30 +01:00
Simon Lübeß 54f2c0fcec RefCounted GraphicsContext 2021-02-07 13:04:18 +01:00
Simon Lübeß 9ea56d6786 Added RefCounting, added ConstantBuffers 2021-02-06 19:37:07 +01:00
Simon Lübeß 4054a9b0c2 Added Camera, Renderer, ... and moved example to sandbox 2021-01-09 12:05:05 +01:00
Simon Lübeß 1fe678103e Added Context, Bind and Unbind to GeometryBinding 2021-01-06 19:29:27 +01:00
Simon Lübeß 9eb4a19df1 Added GeometryBinding 2021-01-06 19:22:43 +01:00
Simon Lübeß 523da5536b (Breaking) Made VertexLayout initialization sexy 2021-01-02 16:32:08 +01:00
Simon Lübeß fc5d654d01 Removed NotImplemented call 2020-12-30 19:34:42 +01:00
Simon Lübeß 5736f02dbf cbuffers now initialized with default values from shader 2020-12-30 19:33:51 +01:00
Simon Lübeß 56183c1896 Added reflection and constant buffers to vertex shaders 2020-12-30 18:52:32 +01:00
Simon Lübeß a02b781347 WindowsWindow now calls DestroyWindow 2020-12-30 14:48:37 +01:00
Simon Lübeß 9a010f7c4a Added Buffers to Shaders 2020-12-30 14:47:29 +01:00
Simon Lübeß 23d2572941 Fixed crash when closing window 2020-12-29 17:34:09 +01:00
Simon Lübeß 567ef97ffb Moved pixel-/vertex shader to own files 2020-12-27 13:55:38 +01:00
Simon Lübeß 3a599fd21a Added vertex shader 2020-12-24 23:53:56 +01:00
Simon Lübeß 9964a1f5ad Added generic Buffer 2020-12-06 00:08:55 +01:00
Simon Lübeß 242d9e728c Added Shader base and PixelShader 2020-12-04 19:02:42 +01:00
Simon Lübeß b12baf695a Added SetPrimitiveTopology 2020-12-01 20:06:29 +01:00
Simon Lübeß 1c58d0986e Added (dirty) VertexLayout 2020-12-01 19:57:59 +01:00
Simon Lübeß e7464118d6 Now using interpolation strings 2020-12-01 19:29:14 +01:00
Simon Lübeß 0d4bab5dba Added SetViewport to GraphicsContext, removed Dx11Cheater, cleanup 2020-11-25 21:23:05 +01:00
Simon Lübeß 684669321a Updated DirectX 2020-11-25 20:50:36 +01:00
Simon Lübeß ff16f6a895 Added RasterizerState 2020-11-25 20:04:51 +01:00
Simon Lübeß 5954fbc411 Render basic geometry
Added GraphicsContext, SwapChain, Buffer, VertexBuffer, IndexBuffer and a basic DX11 implementation.
2020-11-25 13:03:40 +01:00
Simon Lübeß 0237e0b38d ImGui fixed
- Disabled DpiAwareness
- Now using ImGui implementation  WndProcHandler
- Fixed horizontal scrolling
2020-11-17 17:53:48 +01:00
Simon Lübeß 8d39da3d3d Added ID3D11Debug 2020-11-17 14:56:39 +01:00
Simon Lübeß dbecf7cdb1 Fixed com interface releasing and nullification 2020-11-17 12:56:13 +01:00
Simon Lübeß 6211655041 Fixed double ImGuiLayer 2020-11-17 11:58:46 +01:00
Simon Lübeß 7b81339889 Window platform implementation now via extension 2020-11-16 21:44:53 +01:00
Simon Lübeß ebd56e54b1 Fixed ImGui being distorted after window resize or move 2020-11-16 21:17:04 +01:00
Simon Lübeß 6bfeffa49d Fixed ImGui and added docking and viewport support 2020-11-16 21:16:19 +01:00
Simon Lübeß c699741682 Refactored and completed WindowsInput implementation 2020-11-16 18:04:59 +01:00
Simon Lübeß 696961e46c Started making Input framebased and added KeyCodes 2020-11-14 15:09:59 +01:00
Simon Lübeß 356011119b Implemented basic input polling 2020-11-13 19:45:23 +01:00
Simon Lübeß 5697f606d5 Added Position- and Size-properties to Windpw 2020-11-13 19:44:45 +01:00
Simon Lübeß 001bd346a9 Added NativeWindow-property to Window 2020-11-13 19:44:16 +01:00
Simon Lübeß 6b97fdaccb Changed Application.Get to function 2020-11-13 19:43:21 +01:00
Simon Lübeß 1e5420f42a Replaced sketchy manual linking with not so sketchy override via extension 2020-11-13 13:50:01 +01:00
Simon Lübeß 4401d80948 Fixed backbuffer resolution on startup and after maximizing 2020-11-13 13:47:47 +01:00
Simon Lübeß 40c05d22a9 Inverted hscrolling 2020-11-13 13:47:13 +01:00
Simon Lübeß ac63a0f1b3 Added trace messages to UpdateSwapchain 2020-11-13 13:45:20 +01:00