extract OGL::FramebufferManager::BindLayeredTexture

This commit is contained in:
Michael Maltese
2017-03-09 14:55:31 -08:00
parent 69cedf4144
commit 56fe938366
2 changed files with 18 additions and 25 deletions

View File

@ -104,6 +104,7 @@ public:
private:
GLuint CreateTexture(GLenum texture_type, GLenum internal_format, GLenum pixel_format,
GLenum data_type);
void BindLayeredTexture(GLuint texture, const std::vector<GLuint>& framebuffers, GLenum attachment, GLenum texture_type);
std::unique_ptr<XFBSourceBase> CreateXFBSource(unsigned int target_width,
unsigned int target_height,
unsigned int layers) override;