SRSDK  0.10.39
Loading...
Searching...
No Matches
D3D12 Interlacer

D3D12 interlacing on Leia devices. More...

Namespaces

namespace  leia
 

Functions

LEIA_NODISCARD LEIASDK_API struct leia_interlacerleia_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.
 

Detailed Description

D3D12 interlacing on Leia devices.

Function Documentation

◆ leia_interlacer_d3d12_initialize()

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 
)
related

Initialize interlacer for usage with Direct3D 12.

If your application uses Direct3D 12, use this method to initialize.

Parameters
[in]deviceDirect3D 12 device.
[in]commandQueueCommand 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]widthWidth of the render-target.
[in]heightHeight of the render-target.
[in]blendedInterlaceWhether to blend the graphics output onto the render-target.
[in]renderTargetDestination 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]resourceThe view texture.
[in]viewIndexThe view index.
[in]layerThe layer at which to set the view texture.