Language:
Discover
By Skill Level
By Category

DrawPrimitiveUP

Choose your OS:

Syntax

void DrawPrimitiveUP
(
    FRHICommandList & RHICmdList,
    uint32 PrimitiveType,
    uint32 NumPrimitives,
    const void * VertexData,
    uint32 VertexDataStride
)

Remarks

Draw a primitive using the vertices passed in.

Parameters

Parameter

Description

PrimitiveType

The type (triangles, lineloop, etc) of primitive to draw

NumPrimitives

The number of primitives in the VertexData buffer

VertexData

A reference to memory preallocate in RHIBeginDrawPrimitiveUP

VertexDataStride

Size of each vertex

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h