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

D3D11 interlacing on Leia devices. More...

Namespaces

namespace  leia
 

Functions

LEIA_NODISCARD LEIASDK_API struct leia_interlacerleia_interlacer_d3d11_initialize (struct leia_core *core, struct leia_interlacer_init_configuration const *config, struct ID3D11DeviceContext *context)
 Initialize interlacer for usage with Direct3D 11.
 
LEIASDK_API void leia_interlacer_d3d11_do_post_process (struct leia_interlacer *, int32_t width, int32_t height, leia_bool blendedInterlace, struct ID3D11RenderTargetView *resultTexture)
 Perform Direct3D 11 graphics rendering.
 
LEIASDK_API void leia_interlacer_d3d11_set_source_views (struct leia_interlacer *, struct ID3D11ShaderResourceView *texture, int32_t viewIndex, int layer)
 Set Direct3D 11 view texture.
 

Detailed Description

D3D11 interlacing on Leia devices.

Function Documentation

◆ leia_interlacer_d3d11_initialize()

LEIA_NODISCARD LEIASDK_API struct leia_interlacer * leia_interlacer_d3d11_initialize ( struct leia_core core,
struct leia_interlacer_init_configuration const *  config,
struct ID3D11DeviceContext *  context 
)
related

Initialize interlacer for usage with Direct3D 11.

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

Parameters
[in]contextPointer to your ID3D11DeviceContext object.

◆ leia_interlacer_d3d11_do_post_process()

LEIASDK_API void leia_interlacer_d3d11_do_post_process ( struct leia_interlacer ,
int32_t  width,
int32_t  height,
leia_bool  blendedInterlace,
struct ID3D11RenderTargetView *  resultTexture 
)

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]resultTexturePointer to destination render-target view.

◆ leia_interlacer_d3d11_set_source_views()

LEIASDK_API void leia_interlacer_d3d11_set_source_views ( struct leia_interlacer ,
struct ID3D11ShaderResourceView *  texture,
int32_t  viewIndex,
int  layer 
)

Set Direct3D 11 view texture.

This method allows you to specify the texture for a specific view index and layer.

Parameters
[in]textureThe view texture.
[in]viewIndexThe view index.
[in]layerThe layer at which to set the view texture.