目录

OpenGTX_FrameRenderInfo

Overview

Describes the frame rendering information. This struct is passed by a game app after obtaining the frame properties. The camera matrix in this parameter is typically used to optimize the image quality effect for render layer load-reduction schemes.

Since: 5.0.0(12)

Related module: GraphicsAccelerate

Header file: opengtx_base.h

Summary

[h2]Member Variables

Name Description
OpenGTX_Vector3 mainCameraPosition Position of the main camera. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg
OpenGTX_Vector3 mainCameraRotate Rotation of the main camera, including yaw, pitch, and roll. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg

Struct Member Variable Description

[h2]mainCameraPosition

OpenGTX_Vector3 OpenGTX_FrameRenderInfo::mainCameraPosition

Description

Position of the main camera. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg

[h2]mainCameraRotate

OpenGTX_Vector3 OpenGTX_FrameRenderInfo::mainCameraRotate

Description

Rotation of the main camera, including yaw, pitch, and roll. The value range of x, y, and z is [-360, 360]. If the value is out of the range, it does not take effect and error code 401 is returned. Unit: deg