Tatooine
|
Returned by buffer::operator[] const for reading 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 | |
rbuffer_map_element (const buffer_type *buffer, std::size_t idx) | |
rbuffer_map_element (const rbuffer_map_element &other)=default | |
rbuffer_map_element (rbuffer_map_element &&other) noexcept=default | |
auto | operator= (const rbuffer_map_element &other) -> rbuffer_map_element &=default |
auto | operator= (rbuffer_map_element &&other) noexcept -> rbuffer_map_element &=default |
~rbuffer_map_element ()=default | |
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[] const for reading single elements.
using tatooine::gl::rbuffer_map_element< array_type, T >::buffer_type = buffer<array_type, T> |
using tatooine::gl::rbuffer_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 |
|
inline |
|
inline |
|
private |
|
private |