Share via


make_array Function

Create an array from a D3D buffer interface pointer.

template<
   typename _Value_type,
   int _Rank
>
array<_Value_type, _Rank> make_array(
   const extent<_Rank> &_Extent,
   const Concurrency::accelerator_view &_Rv,
   IUnknown *_D3D_buffer
)  ;

Parameters

  • _Value_type

  • _Rank

  • _Extent
    An extent that describes the shape of the array aggregate.

  • _Rv
    A D3D accelerator view on which the array is to be created.

  • _D3D_buffer
    IUnknown interface pointer of the D3D buffer to create the array from.

Return Value

A array created using the provided D3D buffer.

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace