Files
WickedEngine/Editor
James Webb 4f82ed8fbd wiGraphics refactors (#359)
* Mark concrete graphics device classes as final - they should not be inherited from further.

* Apply consistent snake_cast naming (which has been used in more recent additions) across wiGraphics structs

* Make 'CommandList' type safe so that calling graphics device functions is less error-prone.

* Decouple wiProfiler from wiRenderer by passing the device instance to functions instead of using wiRenderer::GetDevice().

* Bump minor version for graphics refactors.

* Decouple wiHelper screenshot/saveTexture* functions from wiRenderer by providing the graphics device as a parameter.

* Convert wiGraphics.h enums to use enum class (except a couple of raytracing flag enums which seem best left)

* hdr fix

* Documentation updates for enum class.

* Revert "Decouple wiHelper screenshot/saveTexture* functions from wiRenderer by providing the graphics device as a parameter."

This reverts commit fd70249554.

* Revert "Decouple wiProfiler from wiRenderer by passing the device instance to functions instead of using wiRenderer::GetDevice()."

This reverts commit 69b5326cfc.

* Fix debug build

* Fix gcc build (hopefully). Move bitmask operator defs to end of file outside of wiGraphics namespace.

* Remove 'to_underlying' and replace with casts

* graphics device access decoupled from wiRenderer, now should be accessed from wiGraphics::GetDevice()

* minor refactors, comments

* dx12 assert fix

* fixes

* commandlist refactor

* commandlist initial value

* commandlist refactor

* graphicsdevice comments, GetActivePipelineCount() function

* has changed to has_flag

* just rename a thing

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2021-11-17 20:27:10 +01:00
..
2020-05-14 18:57:42 +01:00
2021-06-12 17:39:23 +02:00
2020-10-17 13:17:07 +02:00
2020-10-17 13:17:07 +02:00
2021-06-22 11:16:13 +02:00
2021-08-19 12:07:00 +02:00
2021-08-19 12:07:00 +02:00
2021-11-09 19:02:01 +01:00
2020-10-17 20:08:45 +02:00
2020-10-17 13:17:07 +02:00
2021-09-05 18:59:03 +02:00
2021-06-22 11:16:13 +02:00
2021-11-17 20:27:10 +01:00
2017-09-30 16:08:23 +01:00
2017-09-30 16:08:23 +01:00
2021-10-07 17:00:17 +02:00
2021-03-11 00:08:26 +01:00
2020-12-07 01:32:44 +01:00
2020-10-17 13:17:07 +02:00
2020-10-17 13:17:07 +02:00
2020-10-17 13:17:07 +02:00
2021-04-22 11:36:22 +02:00
2020-10-17 13:17:07 +02:00
2021-02-22 00:15:42 +01:00
2021-04-22 11:36:22 +02:00
2020-10-17 13:17:07 +02:00
2021-09-19 17:07:12 +02:00
2021-11-11 15:38:05 +01:00
2021-11-09 19:02:01 +01:00
2021-11-17 20:27:10 +01:00
2021-09-19 17:07:12 +02:00
2021-06-12 16:49:56 +02:00
2021-04-22 11:36:22 +02:00
2020-10-17 13:17:07 +02:00
2021-03-08 00:33:40 +01:00
2021-02-22 00:15:42 +01:00
2021-11-17 20:27:10 +01:00
2021-07-18 17:18:01 +02:00
2021-11-17 20:27:10 +01:00
2021-11-09 19:02:01 +01:00
2017-09-30 16:08:23 +01:00
2017-09-30 16:08:23 +01:00
2021-09-19 17:07:12 +02:00
2020-10-17 13:17:07 +02:00
2020-10-17 13:17:07 +02:00
2020-04-13 22:19:29 +01:00
2020-05-08 23:38:34 +01:00
2017-09-30 16:08:23 +01:00
2018-08-17 18:02:05 +01:00
2020-10-17 13:17:07 +02:00
2021-11-17 20:27:10 +01:00
2021-09-19 17:07:12 +02:00
2021-09-19 17:07:12 +02:00
2020-04-28 19:57:48 +01:00
2020-04-28 19:57:48 +01:00