get_buffer Function

Get the Direct3D buffer interface underlying the specified array.

template<
   typename _Value_type,
   int _Rank
>
IUnknown *get_buffer(
   const array<_Value_type, _Rank> &_Array
)  ;

Parameters

  • _Value_type
    The type of elements in the array.

  • _Rank
    The rank of the array.

  • _Array
    An array on a Direct3D accelerator_view for which the underlying Direct3D buffer interface is returned.

Return Value

The IUnknown interface pointer corresponding to the Direct3D buffer underlying the array.

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace