Sleeping Wombat GUI  0.100
swGUI
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. More...
 

Detailed Description

Main draw command.

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

Member Data Documentation

int32 DrawCommand::BaseVertex
uint32 DrawCommand::BufferOffset
bool DrawCommand::ExtendedIndex

Use 4 Index32 instead of Index16.

BufferObject* DrawCommand::IndexBufer
ShaderInputLayout* DrawCommand::Layout
uint32 DrawCommand::NumVertices
PrimitiveTopology DrawCommand::Topology
BufferObject* DrawCommand::VertexBuffer

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