diff --git a/libraries/gpu/src/gpu/GLBackend.h b/libraries/gpu/src/gpu/GLBackend.h index 05afb28bf1..6d7a5f2545 100644 --- a/libraries/gpu/src/gpu/GLBackend.h +++ b/libraries/gpu/src/gpu/GLBackend.h @@ -151,6 +151,15 @@ public: // very specific for now static void syncSampler(const Sampler& sampler, Texture::Type type, const GLTexture* object); + class GLInputFormat : public GPUObject { + public: + + + GLInputFormat(); + ~GLInputFormat(); + }; + GLInputFormat* syncGPUObject(const Stream::Format& inputFormat); + class GLShader : public GPUObject { public: enum Version { diff --git a/libraries/gpu/src/gpu/Stream.h b/libraries/gpu/src/gpu/Stream.h index c8d9335bf7..950a713cf0 100644 --- a/libraries/gpu/src/gpu/Stream.h +++ b/libraries/gpu/src/gpu/Stream.h @@ -106,6 +106,7 @@ public: bool hasAttribute(Slot slot) const { return (_attributes.find(slot) != _attributes.end()); } + const GPUObjectPointer gpuObject{}; protected: AttributeMap _attributes; ChannelMap _channels;