Kohi Game Engine
ibl_probe.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include "math/math_types.h"
5 #include "strings/kname.h"
6 
7 typedef struct ibl_probe {
12 
13 KAPI b8 ibl_probe_create(kname cubemap_name, vec3 position, ibl_probe* out_probe);
15 
#define KAPI
Import/export qualifier.
Definition: defines.h:205
_Bool b8
8-bit boolean type
Definition: defines.h:58
KAPI b8 ibl_probe_load(ibl_probe *probe)
KAPI b8 ibl_probe_create(kname cubemap_name, vec3 position, ibl_probe *out_probe)
KAPI void ibl_probe_destroy(ibl_probe *probe)
KAPI void ibl_probe_unload(ibl_probe *probe)
struct ibl_probe ibl_probe
This files contains an implementation of knames.
u64 kname
A kname is a string hash made for quick comparisons versus traditional string comparisons.
Definition: kname.h:36
u16 ktexture
Represents a texture to be used for rendering purposes, stored on the GPU (VRAM)
Definition: kresource_types.h:45
Contains various math types required for the engine.
Definition: ibl_probe.h:7
kname cubemap_name
Definition: ibl_probe.h:8
vec3 position
Definition: ibl_probe.h:10
ktexture ibl_cube_texture
Definition: ibl_probe.h:9
A 3-element vector.
Definition: math_types.h:49