Function bgfx_rs::static_lib::create_frame_buffer_from_attachment
source · pub fn create_frame_buffer_from_attachment(
num: u8,
attachment: &Attachment,
destroy_texture: bool
) -> FrameBuffer
Expand description
num
: Number of attachments.attachment
: Attachment texture info. See:bgfx::Attachment
.destroy_texture
: If true, textures will be destroyed when frame buffer is destroyed.