> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_VERTEX_BUFFER_VIEW

> Describes a vertex buffer view.

Describes a vertex buffer view.

## Syntax

```cpp theme={null}
typedef struct D3D12_VERTEX_BUFFER_VIEW
{
    D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
    UINT SizeInBytes;
    UINT StrideInBytes;
} D3D12_VERTEX_BUFFER_VIEW
```

### Members

*BufferLocation*\
Type: D3D12\_GPU\_VIRTUAL\_ADDRESS

Specifies a D3D12\_GPU\_VIRTUAL\_ADDRESS that identifies the address of the buffer.

*SizeInBytes*\
Type: UINT

Specifies the size in bytes of the buffer.

*StrideInBytes*\
Type: UINT

Specifies the size in bytes of each vertex entry.

## Remarks

Use this structure with the [IASetVertexBuffers](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetvertexbuffers_public) method.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [IASetVertexBuffers](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetvertexbuffers_public.md)
- [D3D12_RENDER_TARGET_VIEW_DESC](/reference/graphics/d3d12/structs/d3d12_render_target_view_desc_public.md)
- [D3D12_INDEX_BUFFER_VIEW](/reference/graphics/d3d12/structs/d3d12_index_buffer_view_public.md)
- [D3D12_BUFFER_UAV](/reference/graphics/d3d12/structs/d3d12_buffer_uav_public.md)
- [D3D12_BUFFER_SRV](/reference/graphics/d3d12/structs/d3d12_buffer_srv_public.md)
