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