texture::data Method

Returns a CPU pointer to the raw data of this texture.

void* data() restrict(cpu);

const void* data() const restrict(cpu);

Return Value

A pointer to the raw data of the texture.

Requirements

Header: amp_graphics.h

Namespace: concurrency::graphics

See Also

Reference

texture Class