Struct VertexInputAttribute

Struct Documentation

struct VertexInputAttribute

Graphics API agnostic information for vertex buffer attributes.

Public Members

uint32_t binding = {0}

This VertexInputAttribute's binding.

uint32_t location = {0}

This VertexInputAttribute's shader location.

Format format = {GPA_FORMAT_UNKNOWN}

This VertexInputAttribute's Format.

uint32_t offset = {0}

This VertexInputAttribute's byte offset relative to the start of an element in the VertexInputBinding.