File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,10 +344,10 @@ impl ImageFormat {
344344pub struct Image {
345345 /// Raw pixel data.
346346 /// If the image is being used as a storage texture which doesn't need to be initialized by the
347- /// CPU, then this should be `None`
348- /// Otherwise, it should always be `Some`
347+ /// CPU, then this should be `None`.
348+ /// Otherwise, it should always be `Some`.
349349 pub data : Option < Vec < u8 > > ,
350- // TODO: this nesting makes accessing Image metadata verbose. Either flatten out descriptor or add accessors
350+ // TODO: this nesting makes accessing Image metadata verbose. Either flatten out descriptor or add accessors.
351351 pub texture_descriptor : TextureDescriptor < Option < & ' static str > , & ' static [ TextureFormat ] > ,
352352 /// The [`ImageSampler`] to use during rendering.
353353 pub sampler : ImageSampler ,
You can’t perform that action at this time.
0 commit comments