Expand description
A Shadertoy rip-off.
There are examples in the repository.
Re-exports§
Macros§
- pipeline
- Define the format of the data you’re passing to the shader.
Structs§
- Global
- Global (uniform) constant component. Describes a free-standing value passed into the shader, which is not enclosed into any constant buffer.
- Texture
Sampler - A convenience type for a texture paired with a sampler. It only makes sense for DX9 class hardware, where every texture by default is bundled with a sampler, hence they are represented by the same name. In DX10 and higher samplers are totally separated from the textures.
- Window
- A window that you can draw on.
Enums§
- Error
- Crate error type.
Traits§
- Game
- A game, which is hopefully what you’re making.
Type Aliases§
- Depth
Stencil View - A depth-stencil buffer handle.
- Depth
Target - A link type for the depth buffer.
- R
- The
gfx-rsresource used in this crate. - Render
Target - A link type for the color buffer.
- Render
Target View - A color buffer handle.
- Result
- Crate result type.
- Shader
- A compiled shader.
- Shader
Resource View - A texture handle.
- Texture
- A loaded texture.