GetVertexCountForPrimitiveCount

Syntax

uint32 GetVertexCountForPrimitiveCount
(
    uint32 NumPrimitives,
    uint32 PrimitiveType
)

Remarks

Computes the vertex count for a given number of primitives of the specified type.

Returns

The number of vertices.

Parameters

Parameter

Description

NumPrimitives

The number of primitives.

PrimitiveType

The type of primitives.

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h