Added a basic constant buffer implementation.