From 7ccb819f867493f8ec202ea3b39c94c198c64584 Mon Sep 17 00:00:00 2001 From: JustSomePwner Date: Thu, 30 Aug 2018 14:01:54 +0200 Subject: first --- gmod/IVRenderView.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gmod/IVRenderView.hpp (limited to 'gmod/IVRenderView.hpp') 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 -- cgit v1.2.3