Kohi Game Engine
water_plane.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "defines.h"
4 #include "math/math_types.h"
6 
7 struct texture_map;
8 
9 typedef struct water_plane_vertex {
12 
13 typedef struct water_plane {
19 
20  // Instance of water material.
22 
24 
27 
31 
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_Bool b8
8-bit boolean type
Definition: defines.h:58
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
The material system is responsible for managing materials in the engine, including reference counting...
Contains various math types required for the engine.
A material instance, which contains handles to both the base material as well as the instance itself....
Definition: core_render_types.h:395
Definition: water_plane.h:9
vec4 position
Definition: water_plane.h:10
Definition: water_plane.h:13
mat4 model
Definition: water_plane.h:14
material_instance material
Definition: water_plane.h:21
water_plane_vertex vertices[4]
Definition: water_plane.h:15
u64 vertex_buffer_offset
Definition: water_plane.h:18
u32 indices[6]
Definition: water_plane.h:16
u64 index_buffer_offset
Definition: water_plane.h:17
a 4x4 matrix, typically used to represent object transformations.
Definition: math_types.h:195
A 4-element vector.
Definition: math_types.h:89
KAPI b8 water_plane_update(water_plane *plane)
KAPI b8 water_plane_initialize(water_plane *plane)
KAPI void water_plane_destroy(water_plane *plane)
KAPI b8 water_plane_load(water_plane *plane)
KAPI b8 water_plane_create(water_plane *out_plane)
KAPI b8 water_plane_unload(water_plane *plane)
struct water_plane water_plane
struct water_plane_vertex water_plane_vertex