Sleeping Wombat Graphic API  1.010
swGraphicAPI
Public Attributes | List of all members
DrawCommand Struct Reference

Main draw command. More...

#include <RenderCommands.h>

Inheritance diagram for DrawCommand:
RendererCommand DrawInstancedCommand

Public Attributes

BufferObjectVertexBuffer
 
BufferObjectIndexBufer
 
ShaderInputLayoutLayout
 
uint32 BufferOffset
 
uint32 NumVertices
 
int32 BaseVertex
 
PrimitiveTopology Topology
 
bool ExtendedIndex
 Use 4 Index32 instead of Index16.
 

Detailed Description

Main draw command.

If mesh doesn't have index buffer, set IndexBuffer field to nullptr.


The documentation for this struct was generated from the following file: