mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
move mesh and texture to asset mod
This commit is contained in:
parent
c867c021c9
commit
32f196c7c2
16 changed files with 14 additions and 15 deletions
|
@ -8,6 +8,7 @@
|
|||
* Consider reworking current RenderGraph to be more graph-like
|
||||
* Macro to produce vertex buffer attributes (and maybe descriptors) from structs
|
||||
* Dynamic / user defined shaders
|
||||
* consider using shaderc-rs. but this introduces compile complexity and requires other C++ build systems
|
||||
* Physics
|
||||
* High level physics data types
|
||||
* Integrate with nphysics
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use bevy::{
|
||||
asset::{Asset, AssetStorage, Handle},
|
||||
asset::*,
|
||||
math::{Mat4, Vec3},
|
||||
render::*,
|
||||
Schedulable, *,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use bevy::{
|
||||
asset::{Asset, AssetStorage},
|
||||
asset::*,
|
||||
math::{Mat4, Quat, Vec3},
|
||||
render::*,
|
||||
Parent, Schedulable, *,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use bevy::{
|
||||
asset::{Asset, AssetStorage},
|
||||
asset::*,
|
||||
math::{Mat4, Vec3},
|
||||
render::*,
|
||||
*,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use bevy::{
|
||||
asset::{Asset, AssetStorage},
|
||||
asset::*,
|
||||
math::{Mat4, Vec3},
|
||||
render::*,
|
||||
*,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use bevy::{
|
||||
asset::{Asset, AssetStorage},
|
||||
asset::*,
|
||||
math::{Mat4, Vec3},
|
||||
render::*,
|
||||
ui::*,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
asset::AssetStorage,
|
||||
asset::*,
|
||||
legion::{
|
||||
prelude::{Schedule, World},
|
||||
schedule::Builder,
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
mod gltf;
|
||||
mod mesh;
|
||||
mod texture;
|
||||
|
||||
pub use self::gltf::load_gltf;
|
||||
pub use mesh::*;
|
||||
pub use texture::*;
|
||||
|
||||
use std::{collections::HashMap, marker::PhantomData};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{asset::Handle, math, render::Texture};
|
||||
use crate::{asset::{Handle, Texture}, math};
|
||||
use zerocopy::{AsBytes, FromBytes};
|
||||
|
||||
pub enum Albedo {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
pub mod camera;
|
||||
pub mod instancing;
|
||||
pub mod mesh;
|
||||
pub mod texture;
|
||||
pub mod passes;
|
||||
pub mod render_resources;
|
||||
pub mod shader;
|
||||
|
@ -14,8 +12,6 @@ mod vertex;
|
|||
pub use camera::*;
|
||||
pub use light::*;
|
||||
pub use material::*;
|
||||
pub use mesh::*;
|
||||
pub use texture::*;
|
||||
pub use render_graph::*;
|
||||
pub use shader::*;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{asset::*, render::mesh::*, render::*};
|
||||
use crate::{asset::*, render::*};
|
||||
use legion::prelude::*;
|
||||
use wgpu::SwapChainOutput;
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
use crate::{
|
||||
asset::*,
|
||||
render::mesh::*,
|
||||
render::{instancing::InstanceBufferInfo, *},
|
||||
LocalToWorld,
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::{asset::*, render::mesh::*, render::passes::shadow, render::*};
|
||||
use crate::{asset::*, render::passes::shadow, render::*};
|
||||
use legion::prelude::*;
|
||||
use wgpu::SwapChainOutput;
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use crate::{
|
||||
asset::*,
|
||||
ecs, math,
|
||||
render::mesh::*,
|
||||
render::{instancing::InstanceBufferInfo, *},
|
||||
ui::Node,
|
||||
Parent,
|
||||
|
|
Loading…
Add table
Reference in a new issue