get_buffer Function

Get the D3D buffer interface underlying an array.

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

Parameters

  • _Value_type

  • _Rank

  • _Array
    A array on a D3D accelerator_view for which the underlying D3D buffer interface is returned.

Return Value

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

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace