Blender V5.0
ShaderCreateInfo::ResourceString Struct Reference

#include <gpu_shader_create_info.hh>

Inherits blender::StringRefNull.

Public Member Functions

constexpr ResourceString ()
constexpr ResourceString (const char *str, int64_t size)
 ResourceString (std::nullptr_t)=delete
constexpr ResourceString (const char *str)
 ResourceString (const std::string &str)
 ResourceString (const StringRefNull &str)
int64_t array_offset () const
bool is_array () const
StringRef str_no_array () const
StringRef str_only_array () const
Public Member Functions inherited from blender::StringRefNull
 StringRefNull (std::nullptr_t)=delete
constexpr StringRefNull ()
constexpr StringRefNull (const char *str, int64_t size)
constexpr StringRefNull (const char *str)
 StringRefNull (const std::string &str)
constexpr char operator[] (int64_t index) const
constexpr const char * c_str () const
Public Member Functions inherited from blender::StringRefBase
void copy_utf8_truncated (char *dst, int64_t dst_size) const
void copy_bytes_truncated (char *dst, int64_t dst_size) const
constexpr int64_t size () const
constexpr bool is_empty () const
constexpr const char * data () const
constexpr operator Span< char > () const
 operator std::string () const
constexpr operator std::string_view () const
constexpr const char * begin () const
constexpr const char * end () const
constexpr IndexRange index_range () const
template<size_t N>
void copy_utf8_truncated (char(&dst)[N]) const
template<size_t N>
void copy_bytes_truncated (char(&dst)[N]) const
void copy_unsafe (char *dst) const
constexpr bool startswith (StringRef prefix) const
constexpr bool endswith (StringRef suffix) const
constexpr StringRef substr (int64_t start, int64_t size) const
constexpr const char & front () const
constexpr const char & back () const
constexpr int64_t find (char c, int64_t pos=0) const
constexpr int64_t find (StringRef str, int64_t pos=0) const
constexpr int64_t rfind (char c, int64_t pos=INT64_MAX) const
constexpr int64_t rfind (StringRef str, int64_t pos=INT64_MAX) const
constexpr int64_t find_first_of (StringRef chars, int64_t pos=0) const
constexpr int64_t find_first_of (char c, int64_t pos=0) const
constexpr int64_t find_last_of (StringRef chars, int64_t pos=INT64_MAX) const
constexpr int64_t find_last_of (char c, int64_t pos=INT64_MAX) const
constexpr int64_t find_first_not_of (StringRef chars, int64_t pos=0) const
constexpr int64_t find_first_not_of (char c, int64_t pos=0) const
constexpr int64_t find_last_not_of (StringRef chars, int64_t pos=INT64_MAX) const
constexpr int64_t find_last_not_of (char c, int64_t pos=INT64_MAX) const
constexpr StringRef trim () const
constexpr StringRef trim (StringRef characters_to_remove) const
constexpr StringRef trim (char character_to_remove) const

Additional Inherited Members

Static Public Attributes inherited from blender::StringRefBase
static constexpr int64_t not_found = -1
constexpr StringRefBase (const char *data, int64_t size)
Protected Attributes inherited from blender::StringRefBase
const char * data_
int64_t size_

Detailed Description

Definition at line 723 of file gpu_shader_create_info.hh.

Constructor & Destructor Documentation

◆ ResourceString() [1/6]

◆ ResourceString() [2/6]

Definition at line 725 of file gpu_shader_create_info.hh.

◆ ResourceString() [3/6]

◆ ResourceString() [4/6]

Definition at line 727 of file gpu_shader_create_info.hh.

◆ ResourceString() [5/6]

Definition at line 728 of file gpu_shader_create_info.hh.

◆ ResourceString() [6/6]

Member Function Documentation

◆ array_offset()

◆ is_array()

◆ str_no_array()

◆ str_only_array()


The documentation for this struct was generated from the following file: