Blender V4.3
blender::draw::detail::SubPassVector< T, block_size > Class Template Reference

#include <draw_pass.hh>

Public Member Functions

void clear ()
 
int64_t append_and_get_index (T &&elem)
 
Toperator[] (int64_t index)
 
const Toperator[] (int64_t index) const
 

Detailed Description

template<typename T, int64_t block_size = 16>
class blender::draw::detail::SubPassVector< T, block_size >

Special container that never moves allocated items and has fast indexing.

Definition at line 86 of file draw_pass.hh.

Member Function Documentation

◆ append_and_get_index()

◆ clear()

template<typename T , int64_t block_size = 16>
void blender::draw::detail::SubPassVector< T, block_size >::clear ( )
inline

◆ operator[]() [1/2]

template<typename T , int64_t block_size = 16>
T & blender::draw::detail::SubPassVector< T, block_size >::operator[] ( int64_t index)
inline

Definition at line 106 of file draw_pass.hh.

◆ operator[]() [2/2]

template<typename T , int64_t block_size = 16>
const T & blender::draw::detail::SubPassVector< T, block_size >::operator[] ( int64_t index) const
inline

Definition at line 111 of file draw_pass.hh.


The documentation for this class was generated from the following files: