bevy_render/render_resource/
mod.rs1mod batched_uniform_buffer;
2mod bind_group;
3mod bind_group_entries;
4mod bind_group_layout;
5mod bind_group_layout_entries;
6mod bindless;
7mod buffer;
8mod buffer_vec;
9mod gpu_array_buffer;
10mod pipeline;
11mod pipeline_cache;
12mod pipeline_specializer;
13pub mod resource_macros;
14mod shader;
15mod storage_buffer;
16mod texture;
17mod uniform_buffer;
18
19pub use bind_group::*;
20pub use bind_group_entries::*;
21pub use bind_group_layout::*;
22pub use bind_group_layout_entries::*;
23pub use bindless::*;
24pub use buffer::*;
25pub use buffer_vec::*;
26pub use gpu_array_buffer::*;
27pub use pipeline::*;
28pub use pipeline_cache::*;
29pub use pipeline_specializer::*;
30pub use shader::*;
31pub use storage_buffer::*;
32pub use texture::*;
33pub use uniform_buffer::*;
34
35pub use wgpu::{
37 util::{
38 BufferInitDescriptor, DispatchIndirectArgs, DrawIndexedIndirectArgs, DrawIndirectArgs,
39 TextureDataOrder,
40 },
41 AdapterInfo as WgpuAdapterInfo, AddressMode, AstcBlock, AstcChannel, BindGroupDescriptor,
42 BindGroupEntry, BindGroupLayoutDescriptor, BindGroupLayoutEntry, BindingResource, BindingType,
43 BlendComponent, BlendFactor, BlendOperation, BlendState, BufferAddress, BufferAsyncError,
44 BufferBinding, BufferBindingType, BufferDescriptor, BufferSize, BufferUsages, ColorTargetState,
45 ColorWrites, CommandEncoder, CommandEncoderDescriptor, CompareFunction, ComputePass,
46 ComputePassDescriptor, ComputePipelineDescriptor as RawComputePipelineDescriptor,
47 DepthBiasState, DepthStencilState, DownlevelFlags, Extent3d, Face, Features as WgpuFeatures,
48 FilterMode, FragmentState as RawFragmentState, FrontFace, ImageSubresourceRange, IndexFormat,
49 Limits as WgpuLimits, LoadOp, Maintain, MapMode, MultisampleState, Operations, Origin3d,
50 PipelineCompilationOptions, PipelineLayout, PipelineLayoutDescriptor, PolygonMode,
51 PrimitiveState, PrimitiveTopology, PushConstantRange, RenderPassColorAttachment,
52 RenderPassDepthStencilAttachment, RenderPassDescriptor,
53 RenderPipelineDescriptor as RawRenderPipelineDescriptor, Sampler as WgpuSampler,
54 SamplerBindingType, SamplerBindingType as WgpuSamplerBindingType, SamplerDescriptor,
55 ShaderModule, ShaderModuleDescriptor, ShaderSource, ShaderStages, StencilFaceState,
56 StencilOperation, StencilState, StorageTextureAccess, StoreOp, TexelCopyBufferInfo,
57 TexelCopyBufferLayout, TexelCopyTextureInfo, TextureAspect, TextureDescriptor,
58 TextureDimension, TextureFormat, TextureFormatFeatureFlags, TextureFormatFeatures,
59 TextureSampleType, TextureUsages, TextureView as WgpuTextureView, TextureViewDescriptor,
60 TextureViewDimension, VertexAttribute, VertexBufferLayout as RawVertexBufferLayout,
61 VertexFormat, VertexState as RawVertexState, VertexStepMode, COPY_BUFFER_ALIGNMENT,
62};
63
64pub use crate::mesh::VertexBufferLayout;
65
66pub mod encase {
67 pub use bevy_encase_derive::ShaderType;
68 pub use encase::*;
69}
70
71pub use self::encase::{ShaderSize, ShaderType};
72
73pub use naga::ShaderStage;