summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengl/ChannelsGL.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/GfxDevice/opengl/ChannelsGL.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/GfxDevice/opengl/ChannelsGL.h')
-rw-r--r--Runtime/GfxDevice/opengl/ChannelsGL.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Runtime/GfxDevice/opengl/ChannelsGL.h b/Runtime/GfxDevice/opengl/ChannelsGL.h
new file mode 100644
index 0000000..43e7cad
--- /dev/null
+++ b/Runtime/GfxDevice/opengl/ChannelsGL.h
@@ -0,0 +1,17 @@
+#ifndef __CHANNELS_GL_H__
+#define __CHANNELS_GL_H__
+
+#include "Runtime/GfxDevice/GfxDeviceTypes.h"
+#include "Runtime/GfxDevice/ChannelAssigns.h"
+#include "Runtime/Filters/Mesh/VertexData.h"
+
+void ClearActiveChannelsGL();
+void SetChannelDataGL( const ChannelInfo& source, const StreamInfoArray streams, VertexComponent target, const UInt8* buffer = NULL );
+void SetChannelDataGL( ShaderChannel source, VertexComponent target, const void *pointer, int stride );
+#if UNITY_EDITOR
+void SetChannelDataGL( ShaderChannel source, const ChannelAssigns& channels, const void *pointer, int stride );
+#endif
+void ActivateChannelsGL();
+void InvalidateChannelStateGL();
+
+#endif