texture.h 258 B

1234567891011
  1. #pragma once
  2. #include "render.h"
  3. #include "collection.h"
  4. #include "mempools.h"
  5. typedef struct Texture {
  6. RTexture texture;
  7. struct AVec3f avg_color;
  8. } Texture;
  9. const Texture *textureGet(const char *name, struct ICollection *collection, struct Stack *tmp);