Simon Lübeß
805423a64e
Rendertarget inherits from texture
2022-05-04 14:53:31 +02:00
Simon Lübeß
e685b4fbba
Added DirectXTK to GlitchyEngineHelper
2022-04-13 00:00:41 +02:00
Simon Lübeß
604e34a12a
Start of ContentManager
2022-04-09 12:34:09 +02:00
Simon Lübeß
cbee9f59d8
Many ecs, component and editor changes
2022-03-02 01:59:51 +01:00
Simon Lübeß
afe36b19df
Removed unnecessary "override extern"s
2022-03-02 01:57:04 +01:00
Simon Lübeß
9197a209d6
Ecs changes
...
- BitArray has always at least sizeof(uint) bits
- Renamed Entity to EcsEntity
- Added value parameter to EcsWorld.AssignComponent
- Matched EcsWorld generic parameters
- Added Scene
- Added Entity
2022-02-28 23:34:52 +01:00
Simon Lübeß
92fd8bb572
Removed Bind from Texture
2022-02-27 12:30:09 +01:00
Simon Lübeß
be7c3d1d8b
Subtextures
2022-02-23 13:41:59 +01:00
Simon Lübeß
6f999da1b8
Fixed fallback font rendering
2022-02-22 20:18:06 +01:00
Simon Lübeß
0f0afc2a90
Renderer2D improvements + stats
2022-02-16 20:44:31 +01:00
Simon Lübeß
66dad82dc6
Added ColorHSV
2022-02-14 20:40:50 +01:00
Simon Lübeß
5b1f694bc9
SwapChain.AspectRatio fix
2022-01-22 10:44:10 +01:00
Simon Lübeß
69be98bb38
FontRenderer: Allow preparing empty strings
2022-01-22 10:42:27 +01:00
Simon Lübeß
7eb4001a1b
PrepareFont calculates total pen advance
2022-01-21 21:19:44 +01:00
Simon Lübeß
bca4552341
Added AspectRation property to SwapChain
2022-01-21 21:19:02 +01:00
Simon Lübeß
d96ec6f21b
Renderer2D: DrawQuad with Matrix + BeginScene now takes any camera
2022-01-21 21:17:43 +01:00
Simon Lübeß
44fe2c3281
Start of gamma correction
2022-01-15 17:50:52 +01:00
Simon Lübeß
a7b2515cf4
Added PNG-Loader to Texture2D
2022-01-15 14:34:46 +01:00
Simon Lübeß
ee9dfd4593
Don't use Harfbuzz for simple text rendering + Ignored warnings
2022-01-15 13:29:45 +01:00
Simon Lübeß
06469f3350
Instrumentation
2022-01-14 21:49:15 +01:00
Simon Lübeß
78faf4cb81
Simple bidirectional text
2022-01-08 02:17:35 +01:00
Simon Lübeß
e292029015
Start of font preparation
2022-01-07 18:42:43 +01:00
Simon Lübeß
5373d92297
Updated Freetype
2022-01-07 03:28:39 +01:00
Simon Lübeß
deedb62a03
Merge remote-tracking branch 'origin/main' into main
2022-01-05 15:42:57 +01:00
Simon Lübeß
6199496987
Fixed release build
2022-01-05 15:36:34 +01:00
Simon Lübeß
826ac68873
Basic Harfbuzz support and use MSDGen with Skia
2022-01-05 15:31:09 +01:00
Simon Lübeß
b2ce560bfc
Added DepthStencilState
2022-01-01 19:34:59 +01:00
Simon Lübeß
b555cc37d1
Simplified dispose function of DisposableComponents
2021-12-30 16:52:13 +01:00
Simon Lübeß
b3ab30e72a
DrawQuad with transform matrix
2021-12-30 16:18:43 +01:00
Simon Lübeß
e55b73db0f
Renamed Int-Vector and added swizzle
2021-12-08 20:58:26 +01:00
Simon Lübeß
419509ab7f
Improved Define names
2021-10-30 14:17:17 +02:00
Simon Lübeß
ffafa380ea
Added Backbuffer to Swapchain + RenderCommand API changes
2021-10-15 22:40:42 +02:00
Simon Lübeß
90e654b750
Renderer2D cleanup
2021-10-15 22:39:24 +02:00
Simon Lübeß
adaf62de62
Fixed circle instancing buffer + clip pixels
2021-10-15 12:57:32 +02:00
Simon Lübeß
dcb8424c2d
Added circle rendering to Renderer2D
2021-10-14 23:01:08 +02:00
Simon Lübeß
84df8c111b
Fixed various memory leaks + ModelLoader cleanup
2021-10-14 20:47:25 +02:00
Simon Lübeß
0cbbf94fe6
Use static D3D11 device and context
2021-10-13 22:56:22 +02:00
Simon Lübeß
84daee95e4
Replaced RefCounted with RefCounter
2021-10-13 09:52:12 +02:00
Simon Lübeß
2cd9ab3e69
Fixed memory leaks
2021-10-11 12:41:56 +02:00
Simon Lübeß
5a82b89622
Fixed memory leak in Renderer2D
2021-10-09 16:47:20 +02:00
Simon Lübeß
4dc6c916ae
Reimplemented Renderer2D
...
- Renderer2D now static
- Renderer now calls Init and Deinit of Renderer2D
- Renderer2D now calls Init and Deinit of FontRenderer
- Fixed Deinit order of Layers and renderer (e.g. Layers now deinit first)
- Sandbox2D now uses SandboxApp (only loads different layer)
2021-09-29 23:27:41 +02:00
Simon Lübeß
229d2b578e
Reworked RenderTarget2D and corresponding API
2021-09-21 16:30:34 +02:00
Simon Lübeß
4debaee7d4
SetViewport now part of RenderCommand
2021-09-21 13:15:43 +02:00
Simon Lübeß
3f1f5736b5
Improved MSDF generation and rendering
2021-09-20 15:42:10 +02:00
Simon Lübeß
2afff4ec20
Added MSDF to Font and FontRenderer
2021-09-19 21:19:00 +02:00
Simon Lübeß
2d5c408b54
Flush Renderer2D when instance buffer is full
2021-09-19 17:36:58 +02:00
Simon Lübeß
90284739c0
Added support for int shader variables
2021-09-19 14:22:37 +02:00
Simon Lübeß
8471b7d7b9
Added SamplerState for white texture
2021-09-19 13:33:48 +02:00
Simon Lübeß
9cd95ed0e4
Renderer2D can now use custom effects
2021-09-18 18:38:45 +02:00
Simon Lübeß
266d7a4651
Added RenderTarget2D
2021-09-17 12:58:33 +02:00