> ## 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_GPU_VIRTUAL_ADDRESS_AND_STRIDE

> 代表 GPU 虛擬位址和索引間距。

代表 GPU 虛擬位址和索引間距。

## 語法

```cpp theme={null}
typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE
{
    D3D12_GPU_VIRTUAL_ADDRESS StartAddress;
    UINT64 StrideInBytes;
} D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE
```

### 成員

*StartAddress*\
類型：D3D12\_GPU\_VIRTUAL\_ADDRESS

虛擬位址範圍的開頭。

*StrideInBytes*\
類型：UINT64

定義索引間距，例如用於頂點。只會使用最低的 32 位元。此欄位為 64 位元，是為了讓包含此欄位之結構的對齊方式在任何地方都保持一致。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機與 XBOX One 系列


## Related topics

- [D3D12_RAYTRACING_GEOMETRY_AABBS_DESC (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_aabbs_desc_public.md)
- [D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_raytracing_geometry_triangles_desc_public.md)
- [D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE](/zh-TW/reference/graphics/d3d12/structs/d3d12_gpu_virtual_address_range_and_stride_public.md)
- [D3D12_GPU_VIRTUAL_ADDRESS_RANGE](/zh-TW/reference/graphics/d3d12/structs/d3d12_gpu_virtual_address_range_public.md)
- [D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT](/zh-TW/reference/graphics/d3d12/structs/d3d12_feature_data_gpu_virtual_address_support_public.md)
