// Utility methods
public static final DXGI_SWAP_CHAIN_DESC SwapChainDescription(Component comp) {
DXGI_SWAP_CHAIN_DESC desc = new DXGI_SWAP_CHAIN_DESC();
desc.BufferCount(1)
.Windowed(1)
.OutputWindow(new HWND(pointerToAddress(JAWTUtils.getNativePeerHandle(comp))))
.BufferUsage(DXGI_USAGE_RENDER_TARGET_OUTPUT)
.SwapEffect(DXGI_SWAP_EFFECT_DISCARD);
desc.BufferDesc().Width(comp.getWidth())
.Height(comp.getHeight())
.Format(DXGI_FORMAT_R8G8B8A8_UNORM)