Missing punctuation (#19097)
This commit is contained in:
parent
770f10bc19
commit
73cde28cf8
@ -344,10 +344,10 @@ impl ImageFormat {
|
||||
pub struct Image {
|
||||
/// Raw pixel data.
|
||||
/// If the image is being used as a storage texture which doesn't need to be initialized by the
|
||||
/// CPU, then this should be `None`
|
||||
/// Otherwise, it should always be `Some`
|
||||
/// CPU, then this should be `None`.
|
||||
/// Otherwise, it should always be `Some`.
|
||||
pub data: Option<Vec<u8>>,
|
||||
// TODO: this nesting makes accessing Image metadata verbose. Either flatten out descriptor or add accessors
|
||||
// TODO: this nesting makes accessing Image metadata verbose. Either flatten out descriptor or add accessors.
|
||||
pub texture_descriptor: TextureDescriptor<Option<&'static str>, &'static [TextureFormat]>,
|
||||
/// The [`ImageSampler`] to use during rendering.
|
||||
pub sampler: ImageSampler,
|
||||
|
Loading…
Reference in New Issue
Block a user