MCPcopy Create free account
hub / github.com/crosire/reshade / bind_vertex_buffer

Method bind_vertex_buffer

include/reshade_api_device.hpp:816–816  ·  view source on GitHub ↗

Binds a single vertex buffer to the input-assembler stage. Input slot for binding. Vertex buffer resource. This resources must have been created with the usage. Offset (in bytes) from the start of the vertex buffer to the first vertex element to use.</param

Source from the content-addressed store, hash-verified

814 /// <param name="offset">Offset (in bytes) from the start of the vertex buffer to the first vertex element to use.</param>
815 /// <param name="stride">Size (in bytes) of the vertex element that will be used from the vertex buffer (is added to an element offset to advance to the next).</param>
816 void bind_vertex_buffer(uint32_t index, resource buffer, uint64_t offset, uint32_t stride) { bind_vertex_buffers(index, 1, &buffer, &offset, &stride); }
817 /// <summary>
818 /// Binds an array of vertex buffers to the input-assembler stage.
819 /// </summary>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected