Share via


writeonly_texture_view::writeonly_texture_view Constructor

Initializes a new instance of the writeonly_texture_view class.

writeonly_texture_view(
   texture<_Value_type,
   _Rank>& _Src                     
) restrict(amp);
                     
writeonly_texture_view(
   const writeonly_texture_view<_Value_type,
   _Rank>& _Src                     
) restrict(amp,cpu);

Parameters

  • _Rank
    The rank of the texture.

  • _Value_type
    The type of the elements in the texture.

  • _Src
    The texture that is used to create the writeonly_texture_view.

Requirements

Header: amp_graphics.h

Namespace: Concurrency::graphics

See Also

Reference

writeonly_texture_view Class