Commit Graph
42 Commits
Author SHA1 Message Date
Simon Lübeß 266d7a4651 Added RenderTarget2D 2021-09-17 12:58:33 +02:00
Simon Lübeß 099763e1e3 Added Vertexcount to GeometryBinding and made Indexbuffer optional 2021-08-25 22:39:11 +02:00
Simon Lübeß 8ab740fa2e Added basic support for arrays in BufferVariables 2021-08-25 22:27:04 +02:00
Simon Lübeß 9e06d4d51f Refactored SetVertexShader and SetPixelShader 2021-08-15 14:19:24 +02:00
Simon Lübeß 344accea60 Implemented Materials
- Shaders get Textureslots via reflection
- added Textureslots to Effect
2021-08-09 18:03:47 +02:00
Simon Lübeß 5c0ee3bae0 VertexBuffer, VertexLayout and GeometryBinding improvements
- VertexBuffer: Added constructor that takes stride instead of type
- VertexLayout: Added Refcounting to VertexLayout and ownership parameters for VertexElements
- Fixed: GeometryBinding using stride and offset from buffer instead of buffer binding
2021-08-05 18:32:21 +02:00
Simon Lübeß ce163db30b Unified texture loading, updated DirectX-beef 2021-07-22 18:57:35 +02:00
Simon Lübeß 819476a3ec Added constructor and SetData to Texture2D
obviously this has to be done for the other texture types as well at some point
2021-06-23 19:11:37 +02:00
Simon Lübeß 1f1b32e101 Moved CPUAccessFlags and Usage to seperate file 2021-06-23 19:10:04 +02:00
Simon Lübeß dc088dcb0a Added pixelformat parameter to DepthStencilTarget-constructor 2021-06-02 16:51:25 +02:00
Simon Lübeß bf94f10a64 Added rudimentary DepthStencilTarget 2021-05-30 19:49:10 +02:00
Simon Lübeß 64579f9603 Constantbuffer now supports single bools 2021-05-30 19:38:08 +02:00
Simon Lübeß ae290936b9 Added basic support for instanced rendering 2021-05-30 19:37:23 +02:00
Simon Lübeß 1f687f9b96 Added TextureCube 2021-04-09 19:35:13 +02:00
Simon Lübeß 92a3eaa426 Added protected function to create Texture2D from raw data 2021-04-09 19:32:24 +02:00
Simon Lübeß 5a8499ac43 Moved ImplBind implementation from Texture2D to Texture 2021-04-09 19:31:49 +02: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ß 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ß 9a010f7c4a Added Buffers to Shaders 2020-12-30 14:47:29 +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