INNER CODE UNIT · C++

stride

symphony-of-empires/symphony-of-empires · eng3d/eng3d/binary_image.cpp:81

    int stride = channel_count * width;
    stbi_write_png(std::string(filename).c_str(), width, height, channel_count, buffer.get(), stride);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…