summaryrefslogtreecommitdiff
path: root/gmod/IVRenderView.hpp
diff options
context:
space:
mode:
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