Language:
Discover
By Skill Level
By Category

DrawIndexedPrimitiveUP

Choose your OS:

Syntax

void DrawIndexedPrimitiveUP
(
    FRHICommandList & RHICmdList,
    uint32 PrimitiveType,
    uint32 MinVertexIndex,
    uint32 NumVertices,
    uint32 NumPrimitives,
    const void * IndexData,
    uint32 IndexDataStride,
    const void * VertexData,
    uint32 VertexDataStride
)

Remarks

Draw a primitive using the vertices passed in as described the passed in indices.

Parameters

Parameter

Description

PrimitiveType

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

MinVertexIndex

The lowest vertex index used by the index buffer

NumVertices

The number of vertices in the vertex buffer

NumPrimitives

THe number of primitives described by the index buffer

IndexData

The memory preallocated in RHIBeginDrawIndexedPrimitiveUP

IndexDataStride

The size of one index

VertexData

The memory preallocate in RHIBeginDrawIndexedPrimitiveUP

VertexDataStride

The size of one vertex

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h