mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-17 23:00:26 +02:00
47 lines
821 B
C
47 lines
821 B
C
/*
|
|
TEXTURE_CACHE.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __TEXTURE_CACHE_H
|
|
#define __TEXTURE_CACHE_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct bitmap_data;
|
|
|
|
/* ---------- prototypes/TEXTURE_CACHE.C */
|
|
|
|
void *_texture_cache_bitmap_get_hardware_format(
|
|
struct bitmap_data *bitmap,
|
|
boolean block,
|
|
boolean load);
|
|
void *texture_cache_bitmap_load(
|
|
struct bitmap_data *bitmap);
|
|
void texture_cache_bitmap_delete(
|
|
struct bitmap_data *bitmap);
|
|
void texture_cache_new(
|
|
void);
|
|
void texture_cache_delete(
|
|
void);
|
|
void texture_cache_idle(
|
|
void);
|
|
void texture_cache_return_memory(
|
|
void);
|
|
void *texture_cache_steal_memory(
|
|
long size);
|
|
void texture_cache_debug_render(
|
|
void);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __TEXTURE_CACHE_H
|