|
Tatooine
|
Returned by buffer::operator[] for reading and writing single elements. More...
#include <buffer.h>
Public Types | |
| using | buffer_type = buffer< array_type, T > |
| using | read_map_type = rbuffer_map< array_type, T > |
Public Member Functions | |
| rwbuffer_map_element (const buffer_type *buffer, std::size_t idx) | |
| rwbuffer_map_element (const rwbuffer_map_element &other)=default | |
| rwbuffer_map_element (rwbuffer_map_element &&other) noexcept=default | |
| auto | operator= (const rwbuffer_map_element &other) -> rwbuffer_map_element &=default |
| auto | operator= (rwbuffer_map_element &&other) noexcept -> rwbuffer_map_element &=default |
| ~rwbuffer_map_element ()=default | |
| auto | operator= (T const &data) -> auto & |
| for assigning single gpu data element. More... | |
| operator T () const | |
| for accessing single gpu data element. More... | |
| auto | download () const |
| auto | operator== (const T &t) const -> bool |
| auto | operator!= (const T &t) const -> bool |
| auto | operator> (const T &t) const -> bool |
| auto | operator>= (const T &t) const -> bool |
| auto | operator< (const T &t) const -> bool |
| auto | operator<= (const T &t) const -> bool |
Private Attributes | |
| const buffer_type * | m_buffer |
| std::size_t | m_idx |
Returned by buffer::operator[] for reading and writing single elements.
| using tatooine::gl::rwbuffer_map_element< array_type, T >::buffer_type = buffer<array_type, T> |
| using tatooine::gl::rwbuffer_map_element< array_type, T >::read_map_type = rbuffer_map<array_type, T> |
|
inline |
|
default |
|
defaultnoexcept |
|
default |
|
inline |
|
inlineexplicit |
for accessing single gpu data element.
|
inline |
|
inline |
|
inline |
|
default |
|
defaultnoexcept |
|
inline |
for assigning single gpu data element.
|
inline |
|
inline |
|
inline |
|
private |
|
private |