Blender V4.3
blender::gpu::GLSources Class Reference

#include <gl_shader.hh>

Inherits blender::Vector< GLSource >.

Public Member Functions

Sources
GLSourcesoperator= (Span< const char * > other)
 
Vector< const char * > sources_get () const
 
std::string to_string () const
 
- Public Member Functions inherited from blender::Vector< GLSource >
 Vector (GuardedAllocator allocator={}) noexcept
 
 Vector (NoExceptConstructor, GuardedAllocator allocator={}) noexcept
 
 Vector (int64_t size, GuardedAllocator allocator={})
 
 Vector (int64_t size, const GLSource &value, GuardedAllocator allocator={})
 
 Vector (Span< U > values, GuardedAllocator allocator={})
 
 Vector (MutableSpan< U > values, GuardedAllocator allocator={})
 
 Vector (const std::initializer_list< U > &values)
 
 Vector (const std::initializer_list< GLSource > &values)
 
 Vector (const std::array< U, N > &values)
 
 Vector (InputIt first, InputIt last, GuardedAllocator allocator={})
 
 Vector (const Vector &other)
 
 Vector (const Vector< GLSource, OtherInlineBufferCapacity, GuardedAllocator > &other)
 
 Vector (Vector< GLSource, OtherInlineBufferCapacity, GuardedAllocator > &&other) noexcept(is_nothrow_move_constructible())
 
 ~Vector ()
 
Vectoroperator= (const Vector &other)
 
Vectoroperator= (Vector &&other)
 
const GLSource & operator[] (int64_t index) const
 
GLSource & operator[] (int64_t index)
 
 operator Span< GLSource > () const
 
 operator MutableSpan< GLSource > ()
 
 operator Span< U > () const
 
 operator MutableSpan< U > ()
 
Span< GLSource > as_span () const
 
MutableSpan< GLSource > as_mutable_span ()
 
void reserve (const int64_t min_capacity)
 
void resize (const int64_t new_size)
 
void resize (const int64_t new_size, const GLSource &value)
 
void reinitialize (const int64_t new_size)
 
void clear ()
 
void clear_and_shrink ()
 
void append (const GLSource &value)
 
void append (GLSource &&value)
 
void append_as (ForwardValue &&...value)
 
int64_t append_and_get_index (const GLSource &value)
 
int64_t append_and_get_index (GLSource &&value)
 
int64_t append_and_get_index_as (ForwardValue &&...value)
 
void append_non_duplicates (const GLSource &value)
 
void append_unchecked (const GLSource &value)
 
void append_unchecked (GLSource &&value)
 
void append_unchecked_as (ForwardT &&...value)
 
void append_n_times (const GLSource &value, const int64_t n)
 
void increase_size_by_unchecked (const int64_t n) noexcept
 
void extend (Span< GLSource > array)
 
void extend (const GLSource *start, int64_t amount)
 
void extend (InputIt first, InputIt last)
 
void extend_non_duplicates (Span< GLSource > array)
 
void extend_unchecked (Span< GLSource > array)
 
void extend_unchecked (const GLSource *start, int64_t amount)
 
void insert (const int64_t insert_index, const GLSource &value)
 
void insert (const int64_t insert_index, GLSource &&value)
 
void insert (const int64_t insert_index, Span< GLSource > array)
 
void insert (const GLSource *insert_position, InputIt first, InputIt last)
 
void insert (const int64_t insert_index, InputIt first, InputIt last)
 
void prepend (const GLSource &value)
 
void prepend (GLSource &&value)
 
void prepend (Span< GLSource > values)
 
void prepend (InputIt first, InputIt last)
 
const GLSource & last (const int64_t n=0) const
 
GLSource & last (const int64_t n=0)
 
const GLSource & first () const
 
GLSource & first ()
 
int64_t size () const
 
bool is_empty () const
 
void remove_last ()
 
GLSource pop_last ()
 
void remove_and_reorder (const int64_t index)
 
void remove_first_occurrence_and_reorder (const GLSource &value)
 
void remove (const int64_t index)
 
void remove (const int64_t start_index, const int64_t amount)
 
int64_t remove_if (Predicate &&predicate)
 
int64_t first_index_of_try (const GLSource &value) const
 
int64_t first_index_of (const GLSource &value) const
 
bool contains (const GLSource &value) const
 
void fill (const GLSource &value) const
 
GLSource * data ()
 
const GLSource * data () const
 
GLSource * begin ()
 
const GLSource * begin () const
 
GLSource * end ()
 
const GLSource * end () const
 
std::reverse_iterator< GLSource * > rbegin ()
 
std::reverse_iterator< const GLSource * > rbegin () const
 
std::reverse_iterator< GLSource * > rend ()
 
std::reverse_iterator< const GLSource * > rend () const
 
int64_t capacity () const
 
bool is_at_capacity () const
 
IndexRange index_range () const
 
uint64_t hash () const
 
void print_stats (const char *name) const
 

Additional Inherited Members

- Public Types inherited from blender::Vector< GLSource >
using value_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using iterator
 
using const_iterator
 
using size_type
 
using allocator_type
 
- Static Public Member Functions inherited from blender::Vector< GLSource >
static uint64_t hash_as (const Span< GLSource > values)
 

Detailed Description

Definition at line 43 of file gl_shader.hh.

Member Function Documentation

◆ operator=()

GLSources & GLSources::operator= ( Span< const char * > other)

◆ sources_get()

Vector< const char * > GLSources::sources_get ( ) const

◆ to_string()

std::string GLSources::to_string ( ) const

Definition at line 1470 of file gl_shader.cc.

References result.

Referenced by blender::gpu::GLShader::get_sources().


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