Expand description
Runtime HLSL compilation for the Windows sprite renderer.
WARNING: This proof of concept (PoC) is not shader-injection-proof. Only use shaders from sources you trust. Use untrusted shaders at your own risk.
Re-exports§
pub use crate::shader_library::BuiltinShader;pub use crate::shader_library::GLITCH;pub use crate::shader_library::IDENTITY;pub use crate::shader_library::PARTICLE_VORTEX;
Structs§
Functions§
- compile
- Compile a complete trusted shader program from a descriptor or pixel-only HLSL. No filesystem includes or GPU resources are accessed by this operation.