IRecordingSubCommandBuffer::draw - dpw105f18/papago-api GitHub Wiki
Record draw call using no index buffer
IRecordingSubCommandBuffer& draw(
size_t vertexCount,
size_t instanceCount = 1,
size_t firstVertex = 0,
size_t firstInstance = 0)
Returns
Returns a reference to the IRecordingSubCommandBuffer, which the method was called on.
Parameters
| Parameter | Description |
|---|---|
| vertexCount | The amount of vertices to draw |
| instanceCount | The amount of instances to draw |
| firstVertex | The index into the vertex buffer to the first vertex to draw |
| firstInstance | The instance ID of the first instance to draw |