共用方式為


writeonly_texture_view Class

Provides writeonly access to a texture.

template <
   typename _Value_type,
   int _Rank
>
class writeonly_texture_view;

template <
   typename _Value_type,
   int _Rank
>
class writeonly_texture_view<_Value_type, _Rank> : public details::_Texture_base<_Value_type, _Rank>;

Parameters

  • _Value_type
    The type of the elements in the texture.

  • _Rank
    The rank of the texture.

Members

Public Typedefs

Name

Description

scalar_type

value_type

The type of the elements in the texture.

Public Constructors

Name

Description

writeonly_texture_view::writeonly_texture_view Constructor

Initializes a new instance of the writeonly_texture_view class.

writeonly_texture_view::~writeonly_texture_view Destructor

Destroys the writeonly_texture_view object.

Public Methods

Name

Description

writeonly_texture_view::set Method

Sets the value of the element at the specified index.

Public Operators

Name

Description

writeonly_texture_view::operator= Operator

Copies the specified writeonly_texture_view object to this one.

Public Constants

Name

Description

writeonly_texture_view::rank Constant

Gets the rank of the writeonly_texture_view object.

Inheritance Hierarchy

_Texture_base

writeonly_texture_view

Requirements

Header: amp_graphics.h

Namespace: Concurrency::graphics

See Also

Reference

Concurrency::graphics Namespace