gthreeprogram

gthreeprogram

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GthreeProgram

Includes

#include <gthree/gthree.h>

Description

Functions

gthree_program_new ()

GthreeProgram *
gthree_program_new (GthreeShader *shader,
                    GthreeProgramParameters *parameters,
                    GthreeRenderer *renderer);

gthree_program_use ()

void
gthree_program_use (GthreeProgram *program);

gthree_program_get_attribute_locations ()

GHashTable *
gthree_program_get_attribute_locations
                               (GthreeProgram *program);

gthree_program_lookup_attribute_location ()

gint
gthree_program_lookup_attribute_location
                               (GthreeProgram *program,
                                GQuark attribute);

gthree_program_lookup_attribute_location_from_string ()

gint
gthree_program_lookup_attribute_location_from_string
                               (GthreeProgram *program,
                                const char *attribute);

gthree_program_lookup_uniform_location ()

gint
gthree_program_lookup_uniform_location
                               (GthreeProgram *program,
                                GQuark uniform);

gthree_program_lookup_uniform_location_from_string ()

gint
gthree_program_lookup_uniform_location_from_string
                               (GthreeProgram *program,
                                const char *uniform);

gthree_program_cache_new ()

GthreeProgramCache *
gthree_program_cache_new (void);

gthree_program_cache_free ()

void
gthree_program_cache_free (GthreeProgramCache *cache);

gthree_program_cache_get ()

GthreeProgram *
gthree_program_cache_get (GthreeProgramCache *cache,
                          GthreeShader *shader,
                          GthreeProgramParameters *parameters,
                          GthreeRenderer *renderer);

Types and Values

GthreeProgram

typedef struct _GthreeProgram GthreeProgram;

GthreeProgramClass

typedef struct {
  GObjectClass parent_class;
} GthreeProgramClass;

GthreeProgramCache

typedef struct _GthreeProgramCache GthreeProgramCache;

GthreeProgramParameters

typedef struct _GthreeProgramParameters GthreeProgramParameters;