Function gfx_device_gl::create_main_targets [] [src]

pub fn create_main_targets<Tc, Td>(dim: Dimensions) -> (RenderTargetView<Resources, Tc>, DepthStencilView<Resources, Td>) where Tc: RenderFormat, Td: DepthFormat

Create the proxy target views (RTV and DSV) for the attachments of the main framebuffer. These have GL names equal to 0.