bufferDesc.CPUAccessFlags(D3D11_CPU_ACCESS_WRITE);
bufferDesc.ByteWidth((int) sizeOf(D3DXMATRIX.class));
final ID3D11Buffer constBuffer = device.CreateBuffer(bufferDesc, null);
final AtomicInteger angle = new AtomicInteger(0);
final D3DXMATRIX mat = new D3DXMATRIX();
D3DXMatrixIdentity(pointerTo(mat));
JNIEnv env = JAWTUtils.getJNIEnv();
JAWT jawt = JAWTUtils.getJAWT(env);
while(frame.isEnabled()) {