Struct vulkano::command_buffer::commands_raw::CmdDrawRaw [] [src]

pub struct CmdDrawRaw { /* fields omitted */ }

Command that draws non-indexed vertices.

Note: Unless you are writing a custom implementation of a command buffer, you are encouraged to ignore this struct and use a CmdDraw instead.

Methods

impl CmdDrawRaw
[src]

Builds a new command that executes a non-indexed draw command.

The command will use the vertex buffers, dynamic states, descriptor sets, push constants, and graphics pipeline currently bound.

This command corresponds to the vkCmdDraw function in Vulkan.

Safety

While building the command is always safe, care must be taken when it is added to a command buffer. A correct combination of graphics pipeline, descriptor set, push constants, vertex buffers, and dynamic state must have been bound beforehand.

There is no limit to the values of the parameters, but they must be in range of the vertex buffer.