Skip to content

Commit

Permalink
doc(pack): reword doc on ShaderPresetPack
Browse files Browse the repository at this point in the history
  • Loading branch information
chyyran committed Oct 2, 2024
1 parent 7037aa3 commit 609f202
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion librashader-pack/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ impl LoadableResource for TextureMeta {
/// The configuration for a single shader pass.
pub type ShaderPassData = ShaderPresetResource<ShaderPassMeta>;
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)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct ShaderPresetPack {
Expand Down

0 comments on commit 609f202

Please sign in to comment.