summaryrefslogtreecommitdiffstats
path: root/sdk/rwsdk/include/d3d8/rpmipkl.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-08-02 18:36:50 +0200
commita786dd45a4ebc6b91936b5e46d0ef0a9befc05af (patch)
treeced50966eaaf373f8733547046baf2bdc558662d /sdk/rwsdk/include/d3d8/rpmipkl.h
parentMerge branch 'master' of https://github.com/GTAmodding/re3 into erorcun (diff)
downloadre3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.gz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.bz2
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.lz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.xz
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.tar.zst
re3-a786dd45a4ebc6b91936b5e46d0ef0a9befc05af.zip
Diffstat (limited to 'sdk/rwsdk/include/d3d8/rpmipkl.h')
-rw-r--r--sdk/rwsdk/include/d3d8/rpmipkl.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/sdk/rwsdk/include/d3d8/rpmipkl.h b/sdk/rwsdk/include/d3d8/rpmipkl.h
new file mode 100644
index 00000000..5b8f7e51
--- /dev/null
+++ b/sdk/rwsdk/include/d3d8/rpmipkl.h
@@ -0,0 +1,38 @@
+/**
+ * PS2 Mipmap K&L plugin for Renderware.
+ */
+
+#ifndef RPMIPMAPKLPLUGIN_H
+#define RPMIPMAPKLPLUGIN_H
+
+/**
+ * \defgroup rpmipkl RpMipmapKL
+ * \ingroup rpplugin
+ *
+ * PS2/MipMap KL Value Plugin for RenderWare Graphics.
+ */
+
+#include <rwcore.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+extern RwReal RpMipmapKLTextureSetDefaultK(RwReal val);
+extern RwUInt32 RpMipmapKLTextureSetDefaultL(RwUInt32 val);
+extern RwReal RpMipmapKLTextureGetDefaultK(void);
+extern RwUInt32 RpMipmapKLTextureGetDefaultL(void);
+
+extern RwTexture *RpMipmapKLTextureSetK(RwTexture *tex, RwReal val);
+extern RwTexture *RpMipmapKLTextureSetL(RwTexture *tex, RwUInt32 val);
+extern RwReal RpMipmapKLTextureGetK(RwTexture *tex);
+extern RwUInt32 RpMipmapKLTextureGetL(RwTexture *tex);
+
+extern RwBool RpMipmapKLPluginAttach(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* RPMIPMAPKLPLUGIN_H */