|
| InterlacerD3D11 (Core &core, InterlacerInitConfiguration const &config, ID3D11DeviceContext *context) |
|
| InterlacerD3D11 (InterlacerD3D11 const &)=delete |
|
InterlacerD3D11 & | operator= (InterlacerD3D11 const &)=delete |
|
| InterlacerD3D11 (InterlacerD3D11 &&)=default |
|
InterlacerD3D11 & | operator= (InterlacerD3D11 &&)=default |
|
void | DoPostProcess (int width, int height, bool blendedInterlace, ID3D11RenderTargetView *resultTexture) |
|
void | SetSourceViews (ID3D11ShaderResourceView *texture, int viewIndex=0, int layer=0) |
| Set Direct3D 11 view texture.
|
|
| InterlacerD3D11 (leia_interlacer *nonOwningInterlacer) |
|
| Interlacer () |
|
| ~Interlacer () |
|
| Interlacer (Interlacer const &)=delete |
|
Interlacer & | operator= (Interlacer const &)=delete |
|
| Interlacer (Interlacer &&other) |
|
Interlacer & | operator= (Interlacer &&other) |
|
| operator bool () const |
|
void | SetLayerCount (int layerCount) |
| Sets the number of layers to interlace.
|
|
LEIA_NODISCARD int | GetLayerCount () const |
| Gets the current number of layers.
|
|
void | SetNumTiles (int32_t tx, int32_t ty) |
|
void | GetNumTiles (int32_t *tx, int32_t *ty) const |
|
void | SetTileLayout (TileLayout tileLayout) |
|
void | SetOutputAsTiles (bool enable) |
|
void | SetBaselineScaling (float baseline) |
|
LEIA_NODISCARD float | GetBaselineScaling () |
|
LEIA_NODISCARD float | GetConvergenceDistance () |
|
void | SetConvergenceDistance (float distance) |
|
float | GetPhc () |
|
void | SetPhc (float phase) |
|
void | GetConvergedOrthographicViewInfo (int32_t viewIndex, LEIA_CONST_FLOAT_SLICE(3) cameraPos, LEIA_CONST_FLOAT_SLICE(3) cameraDir, LEIA_CONST_FLOAT_SLICE(3) cameraUp, float width, float height, float nearPlane, float farPlane, LEIA_FLOAT_SLICE(3) viewPos, LEIA_FLOAT_SLICE(16) viewProjectionMatrix, float *viewShearX, float *viewShearY) |
|
void | GetConvergedPerspectiveViewInfo (int32_t viewIndex, LEIA_CONST_FLOAT_SLICE(3) cameraPos, LEIA_CONST_FLOAT_SLICE(3) cameraDir, LEIA_CONST_FLOAT_SLICE(3) cameraUp, float fieldOfView, float aspectRatio, float nearPlane, float farPlane, LEIA_FLOAT_SLICE(3) viewPos, LEIA_FLOAT_SLICE(16) viewProjectionMatrix, float *viewFieldOfView, float *viewShearX, float *viewShearY) |
|
void | SetFitMode (FitMode mode) |
|
LEIA_NODISCARD FitMode | GetFitMode () |
|
void | GetRectMatrix (LEIA_FLOAT_SLICE(16) transformMatrix) |
|
void | SetLocalMatrix (LEIA_CONST_FLOAT_SLICE(16) transformMatrix) |
|
void | SetCustomTextureMatrix (LEIA_CONST_FLOAT_SLICE(16) textureTransform) |
|
void | EnableUserMatrix (bool enabled) |
|
void | GetUserMatrix (LEIA_FLOAT_SLICE(16) transformMatrix) |
|
void | SetUserMatrix (LEIA_CONST_FLOAT_SLICE(16) transformMatrix) |
|
void | SetAlpha (float alpha) |
|
void | SetFlipInputUvVertical (bool flip) |
|
void | SetSingleViewMode (bool setSingleView, int32_t singleViewIndex) |
|
void | SetSingleViewModeListener (InterlacerSingleViewModeListener const *listener) |
|
void | SetSourceViewsSize (int32_t sourceWidth, int32_t sourceHeight, bool isHorizontalViews) |
|
void | GetSourceViewsSize (int32_t *sourceWidth, int32_t *sourceHeight, bool *isHorizontalViews) |
|
void | SetSourceMediaIsVideo (bool isVideo) |
|
void | SetSourceMediaScale (float scaleX, float scaleY) |
|
void | SetSourceViewsSRGB (bool isSRGB) |
|
void | SetInShaderSRGBConversion (bool sRGBRead, bool sRGBWrite) |
|
void | SetViewportScreenPosition (int32_t posX, int32_t posY) |
|
void | SetViewport (int32_t posX, int32_t posY, int32_t width, int32_t height) |
|
void | EnableReconvergence (bool enable) |
|
LEIA_NODISCARD bool | IsReconvergenceEnabled () |
|
LEIA_NODISCARD float | GetReconvergence (int layer=0) |
| Get the reconvergence amount.
|
|
void | SetReconvergence (float value, int layer=0) |
| Set the reconvergence amount.
|
|
void | SetReconvergenceZoom (bool zoomX, bool zoomXY, int layer=0) |
| Set what directions reconvergence is calculated for.
|
|
void | SetUseAtlasForViews (bool useAtlasForViews) |
|
LEIA_NODISCARD bool | GetUseAtlasForViews () |
|
void | GetViewOffset (int32_t view, LEIA_FLOAT_SLICE(3) offset) |
|
void | SetInvertScreenTextureCoordinates (bool invert) |
|
LEIA_NODISCARD GraphicsAPI | GetGraphicsAPI () |
|
LEIA_NODISCARD leia_interlacer * | GetHandle () const |
|
C++ wrapper for D3D11 leia_interlacer.