mosra on line-rendering
es3 builds! (compare)
mosra on line-rendering
MeshTools: minor cleanup in a t… MeshTools: fix generateIndices(… MeshTools: check minimal vertex… and 11 more (compare)
pixels<T>()[i]
pixels<T>().transposed<0, 2>()[i]
, where the transpose turns it from XYZ order to ZYX
image->pixels<Color4ub>().prefix<2>(1)
but there doesn't seem to be such an overload
prefix<2>
it discards the last dimension, taking just the first slice out of it
1, 27
, yeah
prefix<n>()
takes dimensions off the end, [i]
off the start, so you need the []
here
static void Magnum::GL::AbstractFramebuffer::blit(AbstractFramebuffer& source,
AbstractFramebuffer& destination,
const Range2Di& sourceRectangle,
const Range2Di& destinationRectangle,
FramebufferBlitMask mask,
FramebufferBlitFilter filter)
There's no assert or anything
it'd give an OpenGL error (which is not checked by Magnum by default because it'd be too slow), you only see it if you run with --magnum-gpu-validation on
passed on the command line or if you check GL::Renderer::error()
... and the error seems to be this, according to the spec:
GL_INVALID_OPERATION is generated if the value of GL_SAMPLE_BUFFERS for both read and draw buffers is greater than zero and the dimensions of the source and destination rectangles is not identical.
Utility::TweakableParser: 0x9F00A5FF has an unexpected suffix, expected u
Utility::Tweakable::update(): change of CORRADE_TWEAKABLE(0x9F00A5FF) in ../../../src/SaveTool/SaveTool_MassViewer.cpp:645 requested a recompile
0x9F00A5FFu
ImU32
, to be accurate.
openMemory()
(which only adds a guarantee that the memory doesn't go out of scope so the importer doesn't need to make a copy), then the physical memory usage could be just 370 kB also for the glb
case
doOpenData()
doOpenData()
based on what's passed in