Subversion Repository Public Repository

Divide-Framework

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

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

Diff revisions: vs.
  @@ -37,7 +37,8 @@
37 37 bool _colorOnly;
38 38 U32 _numColorChannels;
39 39 bool _clearBuffersOnBind;
40 - FrameBufferTarget() : _depthOnly(false), _colorOnly(false), _clearBuffersOnBind(true), _numColorChannels(1)
40 + bool _changeViewport;
41 + FrameBufferTarget() : _depthOnly(false), _colorOnly(false), _clearBuffersOnBind(true), _changeViewport(true), _numColorChannels(1)
41 42 {
42 43 }
43 44 };
  @@ -53,6 +54,9 @@
53 54 DrawToLayer(slot, nFace, includeDepth);
54 55 }
55 56
57 + virtual void SetMipLevel(U8 mipLevel, TextureDescriptor::AttachmentType slot) = 0;
58 + virtual void ResetMipLevel(TextureDescriptor::AttachmentType slot) = 0;
59 +
56 60 virtual void Begin(const FrameBufferTarget& drawPolicy) = 0;
57 61 virtual void End() = 0;
58 62