Inkscape
Vector Graphics Editor
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Inkscape::UI::Widget::Program Struct Reference

#include <glgraphics.h>

Inheritance diagram for Inkscape::UI::Widget::Program:

Public Member Functions

void create (VShader const &v, FShader const &f)
 
void create (VShader const &v, const GShader &g, FShader const &f)
 
auto loc (char const *str) const
 
 ~Program ()
 

Public Attributes

GLuint id = 0
 

Detailed Description

Definition at line 36 of file glgraphics.h.

Constructor & Destructor Documentation

◆ ~Program()

Inkscape::UI::Widget::Program::~Program ( )
inline

Definition at line 42 of file glgraphics.h.

Member Function Documentation

◆ create() [1/2]

void Inkscape::UI::Widget::Program::create ( VShader const &  v,
const GShader g,
FShader const &  f 
)
inline

Definition at line 40 of file glgraphics.h.

References Inkscape::UI::Widget::Shader< type >::id.

◆ create() [2/2]

void Inkscape::UI::Widget::Program::create ( VShader const &  v,
FShader const &  f 
)
inline

◆ loc()

auto Inkscape::UI::Widget::Program::loc ( char const *  str) const
inline

Definition at line 41 of file glgraphics.h.

Member Data Documentation

◆ id

GLuint Inkscape::UI::Widget::Program::id = 0

Definition at line 38 of file glgraphics.h.


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