|
Blender V5.3
|
#include <utils.hh>
Public Member Functions | |
| T & | operator[] (const int64_t index) |
| const T & | operator[] (const int64_t index) const |
| T * | data () |
| uint64_t | size () const |
| T | back () const |
| T * | begin () |
| T * | end () |
| const T * | begin () const |
| const T * | end () const |
| void | shrink (int64_t new_size) |
Public Attributes | |
| T * | data_ |
| uint64_t | size_ |
Poor man's MutableSpan.
Definition at line 69 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 92 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 97 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 106 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 82 of file gpu/shader_tool/utils.hh.
Referenced by blender::gpu::tests::build_vertices().
|
inline |
Definition at line 101 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 110 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 73 of file gpu/shader_tool/utils.hh.
|
inline |
Definition at line 77 of file gpu/shader_tool/utils.hh.
|
inline |
Set span size to a smaller size, this invokes undefined behavior when n is negative or bigger than the current span.
Definition at line 119 of file gpu/shader_tool/utils.hh.
References size_.
|
inline |
Definition at line 87 of file gpu/shader_tool/utils.hh.
References size_.
| T* blender::gpu::shader::parser::MutableSpan< T >::data_ |
Definition at line 70 of file gpu/shader_tool/utils.hh.
Referenced by begin(), begin(), data(), end(), end(), operator[](), and operator[]().
| uint64_t blender::gpu::shader::parser::MutableSpan< T >::size_ |