├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── README.tpl ├── crevice-derive ├── Cargo.toml └── src │ ├── glsl.rs │ ├── layout.rs │ └── lib.rs ├── crevice-tests ├── Cargo.toml └── src │ ├── gpu.rs │ ├── lib.rs │ └── util.rs ├── src ├── bool.rs ├── glsl.rs ├── imp.rs ├── imp │ ├── imp_cgmath.rs │ ├── imp_glam.rs │ ├── imp_mint.rs │ └── imp_nalgebra.rs ├── internal.rs ├── lib.rs ├── std140.rs ├── std140 │ ├── dynamic_uniform.rs │ ├── primitives.rs │ ├── sizer.rs │ ├── traits.rs │ └── writer.rs ├── std430.rs ├── std430 │ ├── primitives.rs │ ├── sizer.rs │ ├── traits.rs │ └── writer.rs └── util.rs └── tests ├── snapshots └── test__generate_struct_glsl.snap └── test.rs /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/README.md -------------------------------------------------------------------------------- /README.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/README.tpl -------------------------------------------------------------------------------- /crevice-derive/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-derive/Cargo.toml -------------------------------------------------------------------------------- /crevice-derive/src/glsl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-derive/src/glsl.rs -------------------------------------------------------------------------------- /crevice-derive/src/layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-derive/src/layout.rs -------------------------------------------------------------------------------- /crevice-derive/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-derive/src/lib.rs -------------------------------------------------------------------------------- /crevice-tests/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-tests/Cargo.toml -------------------------------------------------------------------------------- /crevice-tests/src/gpu.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-tests/src/gpu.rs -------------------------------------------------------------------------------- /crevice-tests/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-tests/src/lib.rs -------------------------------------------------------------------------------- /crevice-tests/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/crevice-tests/src/util.rs -------------------------------------------------------------------------------- /src/bool.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/bool.rs -------------------------------------------------------------------------------- /src/glsl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/glsl.rs -------------------------------------------------------------------------------- /src/imp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/imp.rs -------------------------------------------------------------------------------- /src/imp/imp_cgmath.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/imp/imp_cgmath.rs -------------------------------------------------------------------------------- /src/imp/imp_glam.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/imp/imp_glam.rs -------------------------------------------------------------------------------- /src/imp/imp_mint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/imp/imp_mint.rs -------------------------------------------------------------------------------- /src/imp/imp_nalgebra.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/imp/imp_nalgebra.rs -------------------------------------------------------------------------------- /src/internal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/internal.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/std140.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140.rs -------------------------------------------------------------------------------- /src/std140/dynamic_uniform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140/dynamic_uniform.rs -------------------------------------------------------------------------------- /src/std140/primitives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140/primitives.rs -------------------------------------------------------------------------------- /src/std140/sizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140/sizer.rs -------------------------------------------------------------------------------- /src/std140/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140/traits.rs -------------------------------------------------------------------------------- /src/std140/writer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std140/writer.rs -------------------------------------------------------------------------------- /src/std430.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std430.rs -------------------------------------------------------------------------------- /src/std430/primitives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std430/primitives.rs -------------------------------------------------------------------------------- /src/std430/sizer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std430/sizer.rs -------------------------------------------------------------------------------- /src/std430/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std430/traits.rs -------------------------------------------------------------------------------- /src/std430/writer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/std430/writer.rs -------------------------------------------------------------------------------- /src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/src/util.rs -------------------------------------------------------------------------------- /tests/snapshots/test__generate_struct_glsl.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/tests/snapshots/test__generate_struct_glsl.snap -------------------------------------------------------------------------------- /tests/test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LPGhatguy/crevice/HEAD/tests/test.rs --------------------------------------------------------------------------------