目录

FG_DispatchDescription_GLES

Overview

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

Summary

[h2]Member Variables

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]

Struct Member Variable Description

[h2]inputColor

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.

[h2]inputDepthStencil

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.

[h2]invViewProj

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.

[h2]outputColor

uint32_t FG_DispatchDescription_GLES::outputColor

Description

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.

[h2]viewProj

FG_Mat4x4 FG_DispatchDescription_GLES::viewProj

Description

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.