|
Tatooine
|
#include <linked_list_texture.h>
Public Member Functions | |
| linked_list_texture (size_t w, size_t h, size_t num_nodes, const Node &initial) | |
| linked_list_texture (const linked_list_texture &other)=default | |
| linked_list_texture (linked_list_texture &&other)=default | |
| void | resize (size_t w, size_t h, size_t num_nodes) |
| void | bind (unsigned int at_slot=0, unsigned int hi_slot=0, unsigned int length_slot=1, unsigned int ll_slot=0) const |
| void | clear () |
| void | resize_buffer (size_t size) |
| auto | width () const |
| auto | height () const |
| auto | buffer_size () const |
| const auto & | buffer () const |
| auto & | counter () |
| const auto & | counter () const |
Private Attributes | |
| size_t | m_w |
| size_t | m_h |
| size_t | m_num_nodes |
| atomiccounterbuffer | m_atomic_counter |
| shaderstoragebuffer< Node > | m_linked_list |
| tex2r32ui | m_head_index_tex |
| tex2r32ui | m_list_length_tex |
| pixelunpackbuffer< unsigned int > | m_head_index_clear_buffer |
| pixelunpackbuffer< unsigned int > | m_list_length_clear_buffer |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |