Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

writeonly_texture_view Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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.

Public Typedefs

NameDescription
scalar_type
value_typeThe type of the elements in the texture.

Public Constructors

NameDescription
writeonly_texture_view::writeonly_texture_view ConstructorInitializes a new instance of the writeonly_texture_view class.
writeonly_texture_view::~writeonly_texture_view DestructorDestroys the writeonly_texture_view object.

Public Methods

NameDescription
writeonly_texture_view::set MethodSets the value of the element at the specified index.

Public Operators

NameDescription
writeonly_texture_view::operator= OperatorCopies the specified writeonly_texture_view object to this one.

Public Constants

NameDescription
writeonly_texture_view::rank ConstantGets the rank of the writeonly_texture_view object.

_Texture_base

writeonly_texture_view

Header: amp_graphics.h

Namespace: Concurrency::graphics

Destroys the writeonly_texture_view object.

~writeonly_texture_view() restrict(amp,cpu);

Copies the specified writeonly_texture_view object to this one.

writeonly_texture_view<value_type, _Rank>& operator= (
    const writeonly_texture_view<value_type, _Rank>& _Other) restrict(amp,cpu);

Parameters

_Other
writeonly_texture_view object to copy from.

Return Value

A reference to this writeonly_texture_view object.

Gets the rank of the writeonly_texture_view object.

static const int rank = _Rank;  

Sets the value of the element at the specified index.

void set(
    const index<_Rank>& _Index,  
    const value_type& value) const restrict(amp);

Parameters

_Index
The index of the element.

value
The new value of the element.

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.

Concurrency::graphics Namespace

Show:
© 2017 Microsoft