D3D12 interlacing on Leia devices.
More...
|
LEIA_NODISCARD LEIASDK_API struct leia_interlacer * | leia_interlacer_d3d12_initialize (struct leia_core *core, struct leia_interlacer_init_configuration const *config, struct ID3D12Device *device, struct ID3D12CommandQueue *commandQueue) |
| Initialize interlacer for usage with Direct3D 12.
|
|
LEIASDK_API void | leia_interlacer_d3d12_do_post_process (struct leia_interlacer *, int32_t width, int32_t height, leia_bool blendedInterlace, struct ID3D12Resource *renderTarget) |
| Perform Direct3D 11 graphics rendering.
|
|
LEIASDK_API void | leia_interlacer_d3d12_set_source_views (struct leia_interlacer *, struct ID3D12Resource *resource, int viewIndex, int layer) |
| Set Direct3D 12 view texture.
|
|
D3D12 interlacing on Leia devices.
◆ leia_interlacer_d3d12_initialize()
Initialize interlacer for usage with Direct3D 12.
If your application uses Direct3D 12, use this method to initialize.
- Parameters
-
[in] | device | Direct3D 12 device. |
[in] | commandQueue | Command queue to use. |
◆ leia_interlacer_d3d12_do_post_process()
LEIASDK_API void leia_interlacer_d3d12_do_post_process |
( |
struct leia_interlacer * |
, |
|
|
int32_t |
width, |
|
|
int32_t |
height, |
|
|
leia_bool |
blendedInterlace, |
|
|
struct ID3D12Resource * |
renderTarget |
|
) |
| |
Perform Direct3D 11 graphics rendering.
Use this method to perform all graphics rendering - interlacing, ACT, and GUI display.
- Parameters
-
[in] | width | Width of the render-target. |
[in] | height | Height of the render-target. |
[in] | blendedInterlace | Whether to blend the graphics output onto the render-target. |
[in] | renderTarget | Destination render-target for interlaced output. |
◆ leia_interlacer_d3d12_set_source_views()
LEIASDK_API void leia_interlacer_d3d12_set_source_views |
( |
struct leia_interlacer * |
, |
|
|
struct ID3D12Resource * |
resource, |
|
|
int |
viewIndex, |
|
|
int |
layer |
|
) |
| |
Set Direct3D 12 view texture.
This method allows you to specify the texture for a specific view index and layer.
- Parameters
-
[in] | resource | The view texture. |
[in] | viewIndex | The view index. |
[in] | layer | The layer at which to set the view texture. |