Go to the source code of this file.
|
DIMENCOSR_API_C void | SetGlobalParameters (struct FLOAT3 userPos) |
| Set global shader parameters needed for weaving. More...
|
|
DIMENCOSR_API_C void | SetGlobalParametersFromConfig (const char *configPath, struct FLOAT3 userPos) |
| Set global shader parameters needed for weaving, using a different .ini file. More...
|
|
DIMENCOSR_API_C enum WeaverErrorCode | LoadTexture (enum WeaverTextureType type, unsigned char **out_pTexture, int *out_width, int *out_height, int *out_channels, int *out_bitsPerPixel) |
| Fill the vertex attributes needed for weaving. More...
|
|
DIMENCOSR_API_C void | UnLoadCorrectionTexture (unsigned char **in_pTexture) |
| Unloads a texture. More...
|
|
DIMENCOSR_API_C void | FillInterpolators (struct FLOAT2 TextureRes, struct FLOAT4 *phases_offset, struct FLOAT4 *phases_scale_x, struct FLOAT4 *phases_scale_y, struct FLOAT4 *dxy_offset, struct FLOAT4 *dxy_scale_x, struct FLOAT4 *dxy_scale_y, struct FLOAT2 *ScreenPos_scale, struct FLOAT2 *ScreenPos_offset_x, struct FLOAT2 *ScreenPos_scale_y, struct FLOAT2 *WeaverVars_offset, struct FLOAT2 *WeaverVars_scale_x, struct FLOAT2 *WeaverVars_scale_y) |
|
DIMENCOSR_API_C float | GetXTalkFactor () |
|
DIMENCOSR_API_C float | GetViewfilterSlope () |
|
DIMENCOSR_API_C float | GetPattern () |
|
DIMENCOSR_API_C float | GetSlant () |
| Returns slant as a coëfficiënt. More...
|
|
DIMENCOSR_API_C float | GetPx () |
| Returns pitch in x direction in pixels. More...
|
|
DIMENCOSR_API_C float | GetN () |
| Returns the refractive index N. More...
|
|
DIMENCOSR_API_C float | GetDoN () |
| Returns D over N in millimeters. More...
|
|
◆ DIMENCOSR_API_C
Copyright (C) 2022 Dimenco
This software has been provided under the Dimenco EULA. (End User License Agreement) You can find the agreement at https://www.dimenco.eu/eula
This source code is considered Protected Code under the definitions of the EULA.
◆ FillInterpolators()
DIMENCOSR_API_C void FillInterpolators |
( |
struct FLOAT2 |
TextureRes, |
|
|
struct FLOAT4 * |
phases_offset, |
|
|
struct FLOAT4 * |
phases_scale_x, |
|
|
struct FLOAT4 * |
phases_scale_y, |
|
|
struct FLOAT4 * |
dxy_offset, |
|
|
struct FLOAT4 * |
dxy_scale_x, |
|
|
struct FLOAT4 * |
dxy_scale_y, |
|
|
struct FLOAT2 * |
ScreenPos_scale, |
|
|
struct FLOAT2 * |
ScreenPos_offset_x, |
|
|
struct FLOAT2 * |
ScreenPos_scale_y, |
|
|
struct FLOAT2 * |
WeaverVars_offset, |
|
|
struct FLOAT2 * |
WeaverVars_scale_x, |
|
|
struct FLOAT2 * |
WeaverVars_scale_y |
|
) |
| |
◆ GetDoN()
Returns D over N in millimeters.
◆ GetN()
Returns the refractive index N.
◆ GetPattern()
◆ GetPx()
Returns pitch in x direction in pixels.
◆ GetSlant()
Returns slant as a coëfficiënt.
◆ GetViewfilterSlope()
◆ GetXTalkFactor()
◆ LoadTexture()
Fill the vertex attributes needed for weaving.
- Parameters
-
[in] | TextureRes | Size of the back buffer. |
[in] | Position | Vertex position. |
[out] | phases | |
[out] | dxy | |
[out] | ScreenPos | |
[out] | WeaverVars | |
◆ SetGlobalParameters()
Set global shader parameters needed for weaving.
- Parameters
-
userPos | Centered location between the left-and right eye. |
◆ SetGlobalParametersFromConfig()
Set global shader parameters needed for weaving, using a different .ini file.
- Parameters
-
configPath | Custom path for loading shader parameters. |
userPos | Centered location between the left-and right eye. |
◆ UnLoadCorrectionTexture()
DIMENCOSR_API_C void UnLoadCorrectionTexture |
( |
unsigned char ** |
in_pTexture | ) |
|
Unloads a texture.
- Parameters
-
in_pTexture | Pointer to a texture. |