29 lines
892 B
C
29 lines
892 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
unsigned int compile(char const * vertex_source,
|
|
int vertex_source_size,
|
|
char const * geometry_source,
|
|
int geometry_source_size,
|
|
char const * fragment_source,
|
|
int fragment_source_size);
|
|
|
|
unsigned int compile_from_files(char const * vertex_path,
|
|
char const * geometry_path,
|
|
char const * fragment_path);
|
|
|
|
unsigned int compile_compute(char const * compute_source,
|
|
int compute_source_size);
|
|
|
|
unsigned int compile_compute_from_files(char const * compute_path);
|
|
|
|
unsigned int load_uniform_buffer(char const * const path, int * out_size);
|
|
|
|
void load_dds_texture_2D(char const * const path);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|