Type Alias bgfx_sys::bgfx_attachment_t
source · pub type bgfx_attachment_t = bgfx_attachment_s;
Expand description
Frame buffer texture attachment info.
Aliased Type§
struct bgfx_attachment_t {
pub access: u32,
pub handle: bgfx_texture_handle_s,
pub mip: u16,
pub layer: u16,
pub numLayers: u16,
pub resolve: u8,
}
Fields§
§access: u32
§handle: bgfx_texture_handle_s
Attachment access. See Access::Enum
.
mip: u16
Render target texture handle.
layer: u16
Mip level.
numLayers: u16
Cubemap side or depth layer/slice to use.
resolve: u8
Number of texture layer/slice(s) in array to use.