|
| InterlacerOpenGL (Core &core, InterlacerInitConfiguration const &config, void *context) |
|
| InterlacerOpenGL (InterlacerOpenGL const &)=delete |
|
InterlacerOpenGL & | operator= (InterlacerOpenGL const &)=delete |
|
| InterlacerOpenGL (InterlacerOpenGL &&)=default |
|
InterlacerOpenGL & | operator= (InterlacerOpenGL &&)=default |
|
void | DoPostProcess (int32_t width, int32_t height, bool blendedInterlace) |
|
void | SetOutputRenderTarget (uint32_t renderTarget) |
|
void | SetSourceViews (uint32_t glTextureId, uint32_t glTextureTarget, int32_t viewIndex, int layer) |
| Set the OpenGL view texture.
|
|
| InterlacerOpenGL (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 OpenGL leia_interlacer.