diff options
Diffstat (limited to 'Runtime/GfxDevice/opengl/ChannelsGL.h')
-rw-r--r-- | Runtime/GfxDevice/opengl/ChannelsGL.h | 17 |
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 |