API_Specification » APISpec_Drawing_Commands module

Chapter 20: Specification

Contents

Classes

struct VV::V1::Pipeline::InputAssemblyState::CreateInfo
Specification
struct VV::V1::Pipeline::InputAssemblyState
Each draw is made up of zero or more vertices and zero or more instances, which are processed by the device and result in the assembly of primitives. Primitives are assembled according to the InputAssemblyState member.

Enums

enum class EIndexType: ui32 { uInt16 = VK_INDEX_TYPE_UINT16, uInt32 = VK_INDEX_TYPE_UINT32, None_KHR = VK_INDEX_TYPE_NONE_KHR, uInt8 = VK_INDEX_TYPE_UINT8_EXT, None_NV = VK_INDEX_TYPE_NONE_NV }
Specification
enum class EPrimitiveTopology: ui32 { PointList = VK_PRIMITIVE_TOPOLOGY_POINT_LIST, LineList = VK_PRIMITIVE_TOPOLOGY_LINE_LIST, LineStrip = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP, TriangleList = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, TriangleStrip = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP, TriangleFan = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN, LineList_WithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY, LineStrip_WithAdjacency = VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY, TriangleList_WithAdjaceny = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY, TriangleStrip_WithAdjacency = VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, PatchList = VK_PRIMITIVE_TOPOLOGY_PATCH_LIST }
Specification

Functions

static void BindIndexBuffer(Handle _commandBuffer, Buffer::Handle _buffer, DeviceSize _offset, EIndexType _indexType)
Specification
static void Draw(Handle _commandBuffer, ui32 _firstVertex, ui32 _vertexCount, ui32 _firstInstance, ui32 _instanceCount)
Specification
static void DrawIndexed(Handle _commandBuffer, ui32 _indexCount, ui32 _instanceCount, ui32 _firstIndex, si32 _vertexOffset, ui32 _firstInstance)
Specification

Enum documentation

Function documentation

static void BindIndexBuffer(Handle _commandBuffer, Buffer::Handle _buffer, DeviceSize _offset, EIndexType _indexType)

Specification

static void Draw(Handle _commandBuffer, ui32 _firstVertex, ui32 _vertexCount, ui32 _firstInstance, ui32 _instanceCount)

Specification

static void DrawIndexed(Handle _commandBuffer, ui32 _indexCount, ui32 _instanceCount, ui32 _firstIndex, si32 _vertexOffset, ui32 _firstInstance)

Specification