Blender V5.3
gpu_shader_preprocessor.cc File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::TokenRange< IToken >
struct  blender::gpu::TokenPastingBuffer
struct  blender::gpu::AtomicLexer
class  blender::gpu::Line
class  blender::gpu::Directive
struct  blender::gpu::TokenStream
struct  blender::gpu::TokenStream::Space
struct  blender::gpu::TokenStream::True
struct  blender::gpu::TokenStream::False
struct  blender::gpu::TokenStream::Concatenate
struct  blender::gpu::TokenStream::Iterator
struct  blender::gpu::Preprocessor
struct  blender::gpu::Preprocessor::TokenStreamPool::Deleter

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::gpu

Typedefs

using blender::gpu::LexerBase = shader::parser::LexerBase
using blender::gpu::NullParser = shader::parser::NullParser

Type-safe identifier management.

enum class  blender::gpu::DirectiveType : char {
  blender::gpu::Define = TokenType::Define , blender::gpu::Undef = TokenType::Undef , blender::gpu::Line = TokenType::Line , blender::gpu::If = TokenType::If ,
  blender::gpu::Ifdef = TokenType::Ifdef , blender::gpu::Ifndef = TokenType::Ifndef , blender::gpu::Elif = TokenType::Elif , blender::gpu::Else = TokenType::Else ,
  blender::gpu::Endif = TokenType::Endif , blender::gpu::Pragma = TokenType::Pragma , blender::gpu::Other = TokenType::Word
}
static DirectiveType blender::gpu::increment_to_next_conditional (Directive &dir)
static Directive blender::gpu::find_next_matching_conditional (Directive dir)
PruningStream & blender::gpu::operator<< (PruningStream &dst, const TokenStream &src)
PruningStream & blender::gpu::operator<< (PruningStream &dst, const TokenRange< Token > &range)
PruningStream & blender::gpu::operator<< (PruningStream &dst, const Token &tok)