Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 265 vs 267 for /trunk/Source Code/Hardware/Video/Buffers/FrameBuffer/Headers/FrameBuffer.h

Diff revisions: vs.
  @@ -56,8 +56,8 @@
56 56 virtual void Begin(const FrameBufferTarget& drawPolicy) = 0;
57 57 virtual void End() = 0;
58 58
59 - virtual void Bind(U8 unit = 0, TextureDescriptor::AttachmentType slot = TextureDescriptor::Color0);
60 - virtual void Unbind(U8 unit = 0) const;
59 + virtual void Bind(U8 unit = 0, TextureDescriptor::AttachmentType slot = TextureDescriptor::Color0) {}
60 +
61 61 virtual void BlitFrom(FrameBuffer* inputFB, TextureDescriptor::AttachmentType slot = TextureDescriptor::Color0, bool blitColor = true, bool blitDepth = false) = 0;
62 62 //If true, array texture and/or cubemaps are bound to a single attachment and shader based layered rendering should be used
63 63 virtual void toggleLayeredRendering(const bool state) {_layeredRendering = state;}
  @@ -88,7 +88,6 @@
88 88 virtual bool checkStatus() const = 0;
89 89
90 90 protected:
91 - mutable bool _bound;
92 91 bool _layeredRendering;
93 92 bool _clearBuffersState;
94 93 bool _useDepthBuffer;