Navigation
API > API/Runtime > API/Runtime/RHI
| Name | FRayTracingGeometrySegment |
| Type | struct |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
Syntax
struct FRayTracingGeometrySegment
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowDuplicateAnyHitShaderInvocation | bool | Any-hit shader may be invoked multiple times for the same primitive during ray traversal. | RHIResources.h | |
| bEnabled | bool | Indicates whether this section is enabled and should be taken into account during acceleration structure creation. | RHIResources.h | |
| bForceOpaque | bool | Indicates whether any-hit shader could be invoked when hitting this geometry segment. | RHIResources.h | |
| FirstPrimitive | uint32 | Primitive range for this segment. | RHIResources.h | |
| MaxVertices | uint32 | Number of vertices (positions) in VertexBuffer. | RHIResources.h | |
| NumPrimitives | uint32 | RHIResources.h | ||
| VertexBuffer | FBufferRHIRef | RHIResources.h | ||
| VertexBufferElementType | EVertexElementType | RHIResources.h | ||
| VertexBufferOffset | uint32 | Offset in bytes from the base address of the vertex buffer. | RHIResources.h | |
| VertexBufferStride | uint32 | Number of bytes between elements of the vertex buffer (sizeof VET_Float3 by default). | RHIResources.h |