summaryrefslogtreecommitdiff
path: root/gmod/IVRenderView.hpp
diff options
context:
space:
mode:
authorJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
committerJustSomePwner <crotchyalt@gmail.com>2018-08-30 14:01:54 +0200
commit7ccb819f867493f8ec202ea3b39c94c198c64584 (patch)
tree94622e61af0ff359e3d6689cf274d74f60b2492a /gmod/IVRenderView.hpp
parent564d979b79e8a5aaa5014eba0ecd36c61575934f (diff)
first
Diffstat (limited to 'gmod/IVRenderView.hpp')
-rw-r--r--gmod/IVRenderView.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/gmod/IVRenderView.hpp b/gmod/IVRenderView.hpp
new file mode 100644
index 0000000..fef45ae
--- /dev/null
+++ b/gmod/IVRenderView.hpp
@@ -0,0 +1,21 @@
+#pragma once
+#include "util.hpp"
+
+class IVRenderView {
+public:
+ void SetBlend( float blend ) {
+ return util::get_vfunc< 4, void >( this, blend );
+ }
+
+ float GetBlend( ) {
+ return util::get_vfunc< 5, float >( this );
+ }
+
+ void SetColorModulation( float const* blend ) {
+ return util::get_vfunc< 6, void >( this, blend );
+ }
+
+ void GetColorModulation( float* blend ) {
+ return util::get_vfunc< 7, void >( this, blend );
+ }
+}; \ No newline at end of file