gKit2 light
Loading...
Searching...
No Matches
tuto_storage_texture.cpp File Reference

exemple direct d'utilisation d'une storage texture / image. le fragment shader compte combien de fragments sont calcules par pixel. More...

#include "app_time.h"
#include "app_camera.h"
#include "vec.h"
#include "mat.h"
#include "draw.h"
#include "program.h"
#include "uniforms.h"
#include "texture.h"
#include "mesh.h"
#include "wavefront.h"
#include "orbiter.h"

Go to the source code of this file.

Classes

class  StorageImage

Functions

int main (int argc, char **argv)

Detailed Description

exemple direct d'utilisation d'une storage texture / image. le fragment shader compte combien de fragments sont calcules par pixel.

Definition in file tuto_storage_texture.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 204 of file tuto_storage_texture.cpp.

205{
206 const char *filename= "data/bigguy.obj";
207 if(argc > 1)
208 filename= argv[1];
209
210 //~ window_msaa(8);
211 window_resize(false);
212
213 StorageImage app( filename );
214 app.run();
215
216 return 0;
217}
bool window_resize()
renvoie vrai si la fenetre peut etre redimensionnee.
Definition window.cpp:37