mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
Reexport wgpu::Maintain
(#10461)
# Objective Calling `RenderDevice::poll` requires an instance of `wgpu::Maintain`, but the type was not reexported by bevy. Working around it requires adding a dependency on `wgpu`, since bevy does not reexport the `wgpu` crate as a whole anywhere. ## Solution Reexport `wgpu::Maintain` in `render_resource`, where the other wgpu types are reexported.
This commit is contained in:
parent
003765a878
commit
f91f69e88f
1 changed files with 3 additions and 3 deletions
|
@ -38,9 +38,9 @@ pub use wgpu::{
|
|||
ComputePipelineDescriptor as RawComputePipelineDescriptor, DepthBiasState, DepthStencilState,
|
||||
Extent3d, Face, Features as WgpuFeatures, FilterMode, FragmentState as RawFragmentState,
|
||||
FrontFace, ImageCopyBuffer, ImageCopyBufferBase, ImageCopyTexture, ImageCopyTextureBase,
|
||||
ImageDataLayout, ImageSubresourceRange, IndexFormat, Limits as WgpuLimits, LoadOp, MapMode,
|
||||
MultisampleState, Operations, Origin3d, PipelineLayout, PipelineLayoutDescriptor, PolygonMode,
|
||||
PrimitiveState, PrimitiveTopology, PushConstantRange, RenderPassColorAttachment,
|
||||
ImageDataLayout, ImageSubresourceRange, IndexFormat, Limits as WgpuLimits, LoadOp, Maintain,
|
||||
MapMode, MultisampleState, Operations, Origin3d, PipelineLayout, PipelineLayoutDescriptor,
|
||||
PolygonMode, PrimitiveState, PrimitiveTopology, PushConstantRange, RenderPassColorAttachment,
|
||||
RenderPassDepthStencilAttachment, RenderPassDescriptor,
|
||||
RenderPipelineDescriptor as RawRenderPipelineDescriptor, SamplerBindingType, SamplerDescriptor,
|
||||
ShaderModule, ShaderModuleDescriptor, ShaderSource, ShaderStages, StencilFaceState,
|
||||
|
|
Loading…
Add table
Reference in a new issue