OSVR-Core
Namespaces | Functions
AlignmentPadding.h File Reference

Header. More...

#include <stddef.h>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::common
 Handles spatial transformations.
 

Functions

size_t osvr::common::computeAlignmentPadding (size_t alignment, size_t currentSize)
 Given an alignment in bytes, and a current size of a buffer, return the number of bytes of padding required to align the next field to be added to the buffer at the desired alignment within that buffer. More...
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr