#[repr(C)]pub struct SDL_GPUColorTargetDescription {
pub format: SDL_GPUTextureFormat,
pub blend_state: SDL_GPUColorTargetBlendState,
}Expand description
A structure specifying the parameters of color targets used in a graphics pipeline.
Available Since: This struct is available since SDL 3.2.0.
See Also: SDL_GPUGraphicsPipelineTargetInfo
Fields§
§format: SDL_GPUTextureFormat< The pixel format of the texture to be used as a color target.
blend_state: SDL_GPUColorTargetBlendState< The blend state to be used for the color target.
Trait Implementations§
Source§impl Clone for SDL_GPUColorTargetDescription
impl Clone for SDL_GPUColorTargetDescription
Source§fn clone(&self) -> SDL_GPUColorTargetDescription
fn clone(&self) -> SDL_GPUColorTargetDescription
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for SDL_GPUColorTargetDescription
impl Hash for SDL_GPUColorTargetDescription
impl Copy for SDL_GPUColorTargetDescription
Auto Trait Implementations§
impl Freeze for SDL_GPUColorTargetDescription
impl RefUnwindSafe for SDL_GPUColorTargetDescription
impl Send for SDL_GPUColorTargetDescription
impl Sync for SDL_GPUColorTargetDescription
impl Unpin for SDL_GPUColorTargetDescription
impl UnsafeUnpin for SDL_GPUColorTargetDescription
impl UnwindSafe for SDL_GPUColorTargetDescription
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