目录

XEG_RTReflectionCreateInfo

Overview

Describes the information about creating an XEG_RTReflection object. When the information in the struct changes, a new XEG_RTReflection object needs to be created.

Since: 6.0.0(20)

Related module: XEngine

Header file: xeg_vulkan_rt_reflection.h

Summary

[h2]Member Variables

Name Description
XEG_StructureType sType Identifies the XEG_StructureType value of this structure, which must be XEG_STRUCTURE_TYPE_RT_REFLECTION_CREATE_INFO.
const void * pNext Pointer to the extension structure.
VkExtent2D renderSize Size of the input image.
bool enableFastTrace Indicates whether to enable the fast intersection mode. Compared with the normal intersection mode, the fast intersection mode has better performance. The value true indicates that the fast intersection mode is enabled, and false indicates that the normal intersection mode is used. The default value is false.

Struct Member Variable Description

[h2]enableFastTrace

bool XEG_RTReflectionCreateInfo::enableFastTrace

Description

Indicates whether to enable the fast intersection mode. Compared with the normal intersection mode, the fast intersection mode has better performance. The value true indicates that the fast intersection mode is enabled, and false indicates that the normal intersection mode is used. The default value is false.

[h2]pNext

const void* XEG_RTReflectionCreateInfo::pNext

Description

Pointer to the extension structure.

[h2]renderSize

VkExtent2D XEG_RTReflectionCreateInfo::renderSize

Description

Size of the input image.

[h2]sType

XEG_StructureType XEG_RTReflectionCreateInfo::sType

Description

Identifies the XEG_StructureType value of this structure, which must be XEG_STRUCTURE_TYPE_RT_REFLECTION_CREATE_INFO.