MCPcopy Index your code
hub / github.com/ad-si/LuaCAD / Resize

Method Resize

OpenCSG/src/frameBufferObject.cpp:127–135  ·  view source on GitHub ↗

If new requested size differs, regenerate FBO texture objects

Source from the content-addressed store, hash-verified

125
126 // If new requested size differs, regenerate FBO texture objects
127 bool FrameBufferObject::Resize(Dimensions dims)
128 {
129 if (dimensions == dims) {
130 return true;
131 }
132
133 Reset();
134 return Initialize(dims);
135 }
136
137 // Binds the created frame buffer texture such we can render into it.
138 bool FrameBufferObject::BeginCapture()

Callers 1

initMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected