Describes the parameter information required by HMS_FG_Dispatch_GLES. The parameter information needs to be updated for each frame. This API applies only to the OpenGL ES graphics API.
Since: 5.0.0(12)
Related module: GraphicsAccelerate
Header file: frame_generation_gles.h
| Name | Description |
|---|---|
| uint32_t inputColor | Color buffer index of real frames. The color buffer supports the GL_RGBA8, GL_R11F_G11F_B10F, and GL_RGBA16F formats. Value range: [0, 2^32 - 1] |
| uint32_t inputDepthStencil | Depth stencil buffer index of real frames. The depth stencil buffer supports the GL_DEPTH24_STENCIL8 and GL_DEPTH32F_STENCIL8 formats. Value range: [0, 2^32 - 1] |
| FG_Mat4x4 viewProj | View projection matrix of real frames, that is, the matrix used for coordinate system conversion from the world space to the camera clip space. The matrix must be a 4x4 matrix in column-major order. |
| FG_Mat4x4 invViewProj | Inverse view projection matrix of real frames, that is, the matrix used for coordinate system conversion from the camera clip space to the world space. The matrix must be a 4x4 matrix in column-major order. |
| uint32_t outputColor | Predicted frame buffer index. The predicted frame buffer supports the GL_RGBA8, GL_R11F_G11F_B10F, and GL_RGBA16F formats. This predicted frame buffer needs to be created and input by you. Value range: [0, 2^32 - 1] |
uint32_t FG_DispatchDescription_GLES::inputColor
Description
Color buffer index of real frames. The color buffer supports the GL_RGBA8, GL_R11F_G11F_B10F, and GL_RGBA16F formats.
uint32_t FG_DispatchDescription_GLES::inputDepthStencil
Description
Depth stencil buffer index of real frames. The depth stencil buffer supports the GL_DEPTH24_STENCIL8 and GL_DEPTH32F_STENCIL8 formats.
FG_Mat4x4 FG_DispatchDescription_GLES::invViewProj
Description
Inverse view projection matrix of real frames, that is, the matrix used for coordinate system conversion from the camera clip space to the world space. The matrix must be a 4x4 matrix in column-major order.