Struct webrender::FormatDesc
source · pub struct FormatDesc {
pub internal: GLenum,
pub external: GLuint,
pub read: GLuint,
pub pixel_type: GLuint,
}
Fields§
§internal: GLenum
Format the texel data is internally stored in within a texture.
external: GLuint
Format that we expect the data to be provided when filling the texture.
read: GLuint
Format to read the texels as, so that they can be uploaded as external
later on.
pixel_type: GLuint
Associated pixel type.
Auto Trait Implementations§
impl RefUnwindSafe for FormatDesc
impl Send for FormatDesc
impl Sync for FormatDesc
impl Unpin for FormatDesc
impl UnwindSafe for FormatDesc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more