public static final DXGI_SWAP_CHAIN_DESC SwapChainDescription(Component comp, ValuedEnum<DXGI_FORMAT> format) {
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(format)