@@ -3,30 +3,37 @@ title: "`bevy_material`"
33pull_requests : [21543]
44---
55
6- TODO: This is just a commit log, need to clean up
7-
8- The following have moved:
9-
10- - initial bevy_material
11- - Opaque move
12- - Move ShaderLabel, DrawFunctionLabel, wgpu exports from render_resource, bind_group_layout_entries
13- - Move DrawFunctionId
14- - Move SpecializedMeshPipelineError
15- - Move BindGroupLayoutDescriptor, RenderPipelineDescriptor, NoFragmentStateError, VertexState, FragmentState, ComputePipelineDescriptor
16- - Move MESH_PIPELINE_VIEW_LAYOUT_SAFE_MAX_TEXTURES, MeshPipelineKey
17- - Move MATERIAL_BIND_GROUP_INDEX, ErasedMaterialPipelineKey, ErasedMaterialKey, ErasedMaterialKeyVTable, RenderPhaseType
18- - Convert MeshPipelineViewLayouts and MeshPipeline to RenderStartup system
19- - mesh_pipeline_view_layout_key_from_msaa and mesh_pipeline_view_layout_key_from_view_prepass_textures
20- - Move MeshPipelineViewLayout, MeshPipelineViewLayoutKey, MeshPipelineViewLayouts
21- - Make impl MeshLayouts a trait
22- - Move MeshLayouts
23- - Deprecate get_image_texture for MeshPipeline and Mesh2dPipeline, change dummy to Image in MeshPipeline
24- - Move most of lightmap to bevy_render
25- - Move MaterialBindingId, MaterialBindGroupIndex, MaterialBindGroupSlot to bevy_render
26- - Move MeshTransforms, MeshUniform, MeshInputUniform, MeshFlags, RenderMeshInstanceFlags, RenderMeshInstanceCpu, RenderMeshInstanceGpu, PreviousGlobalTransform, RenderMeshInstanceShared, remove_mesh_input_uniform to bevy_render
27- - Move MAX_JOINTS, MAX_TOTAL_JOINTS, JOINTS_PER_ALLOCATION_UNIT, JOINT_EXTRACTION_THRESHOLD_FACTOR, SkinByteOffset, SkinUniforms, SkinUniformInfo to bevy_render
28- - Move util consts
29- - Move RenderMeshInstances, RenderMeshInstancesCpu, RenderMeshInstancesGpu, RenderMeshQueueData to bevy_render
30- - Move MeshPipeline to bevy_material, and its render impls to bevy_render
31- - Move MaterialProperties and MaterialPipeline to bevy_material
32- - Insert DummyImage resource
6+ Materials can now be defined without a renderer, with the new ` bevy_material ` crate.
7+
8+ As such, the following moves have occurred:
9+
10+ Move from ` bevy_render ` to ` bevy_material ` :
11+
12+ - ` AlphaMode `
13+ - ` ShaderLabel ` , ` DrawFunctionLabel ` , wgpu exports from ` render_resource ` , ` bind_group_layout_entries `
14+ - ` DrawFunctionId `
15+ - ` SpecializedMeshPipelineError `
16+ - ` BindGroupLayoutDescriptor ` , ` RenderPipelineDescriptor ` , ` NoFragmentStateError ` , ` VertexState ` , ` FragmentState ` , ` ComputePipelineDescriptor `
17+
18+ Move from ` bevy_pbr ` to ` bevy_material ` :
19+
20+ - ` Opaque `
21+ - ` MESH_PIPELINE_VIEW_LAYOUT_SAFE_MAX_TEXTURES ` , ` MeshPipelineKey `
22+ - ` MeshPipeline `
23+ - ` MATERIAL_BIND_GROUP_INDEX ` , ` ErasedMaterialPipelineKey ` , ` ErasedMaterialKey ` , ` ErasedMaterialKeyVTable ` , ` RenderPhaseType `
24+ - ` MeshPipelineViewLayout ` , ` MeshPipelineViewLayoutKey ` , ` MeshPipelineViewLayouts `
25+ - ` MeshLayouts `
26+ - ` MaterialProperties ` and ` MaterialPipeline `
27+
28+ Move from ` bevy_pbr ` to ` bevy_render ` :
29+
30+ - ` LIGHTMAPS_PER_SLAB ` , ` Lightmap ` , ` RenderLightmap ` , ` RenderLightmaps ` , ` LightmapSlab ` , ` AllocatedLightmap ` , ` LightmapSlabIndex ` , ` LightmapSlotIndex `
31+ - ` MaterialBindingId ` , ` MaterialBindGroupIndex ` , ` MaterialBindGroupSlot `
32+ - ` MeshTransforms ` , ` MeshUniform ` , ` MeshInputUniform ` , ` MeshFlags ` , ` RenderMeshInstanceFlags ` , ` RenderMeshInstanceCpu ` , ` RenderMeshInstanceGpu ` , ` PreviousGlobalTransform ` , ` RenderMeshInstanceShared ` , ` remove_mesh_input_uniform `
33+ - ` MAX_JOINTS ` , ` MAX_TOTAL_JOINTS ` , ` JOINTS_PER_ALLOCATION_UNIT ` , ` JOINT_EXTRACTION_THRESHOLD_FACTOR ` , ` SkinByteOffset ` , ` SkinUniforms ` , ` SkinUniformInfo `
34+ - ` RenderMeshInstances ` , ` RenderMeshInstancesCpu ` , ` RenderMeshInstancesGpu ` , ` RenderMeshQueueData `
35+ - ` TONEMAPPING_LUT_TEXTURE_BINDING_INDEX ` , ` TONEMAPPING_LUT_SAMPLER_BINDING_INDEX ` , ` IRRADIANCE_VOLUMES_ARE_USABLE `
36+
37+ ` CORE_3D_DEPTH_FORMAT ` from ` bevy_core_pipeline ` to ` bevy_render `
38+
39+ ` Into<MeshPipelineView_LayoutKey> ` has been removed, use ` mesh_pipeline_view_layout_key_from_msaa() ` (for ` Msaa ` ) and ` mesh_pipeline_view_layout_key_from_view_prepass_textures() ` (for ` ViewPrepassTextures ` ) instead
0 commit comments