doc(pack): reword doc on ShaderPresetPack

This commit is contained in:
chyyran 2024-10-01 23:12:26 -04:00 committed by Ronny Chan
parent 4ba6effc2f
commit 7c03a7e3fe

View file

@ -87,7 +87,8 @@ impl LoadableResource for TextureMeta {
/// The configuration for a single shader pass. /// The configuration for a single shader pass.
pub type ShaderPassData = ShaderPresetResource<ShaderPassMeta>; pub type ShaderPassData = ShaderPresetResource<ShaderPassMeta>;
pub type TextureData = ShaderPresetResource<TextureMeta>; pub type TextureData = ShaderPresetResource<TextureMeta>;
/// A shader preset, not reliant on disk, with all information needed.
/// A fully loaded-in-memory shader preset, with all paths resolved to data.
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct ShaderPresetPack { pub struct ShaderPresetPack {