Blender V5.0
blender::gpu::GLSourcesBaked Struct Reference

#include <gl_shader.hh>

Inherits blender::NonCopyable.

Public Member Functions

Sources
size_t size ()
Public Member Functions inherited from blender::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
NonCopyableoperator= (const NonCopyable &other)=delete
 NonCopyable ()=default
 NonCopyable (NonCopyable &&other)=default
NonCopyableoperator= (NonCopyable &&other)=default

Public Attributes

std::string comp
std::string vert
std::string geom
std::string frag

Detailed Description

The full sources for each shader stage, baked into a single string from their respective GLSources. (Can be retrieved from GLShader::get_sources())

Definition at line 56 of file gl_shader.hh.

Member Function Documentation

◆ size()

size_t GLSourcesBaked::size ( )

Definition at line 1551 of file gl_shader.cc.

References comp, frag, geom, result, and vert.

Member Data Documentation

◆ comp

std::string blender::gpu::GLSourcesBaked::comp

Definition at line 57 of file gl_shader.hh.

Referenced by size().

◆ frag

std::string blender::gpu::GLSourcesBaked::frag

Definition at line 60 of file gl_shader.hh.

Referenced by size().

◆ geom

std::string blender::gpu::GLSourcesBaked::geom

Definition at line 59 of file gl_shader.hh.

Referenced by size().

◆ vert

std::string blender::gpu::GLSourcesBaked::vert

Definition at line 58 of file gl_shader.hh.

Referenced by size().


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