Path: blob/main/crates/bevy_render/src/render_resource/mod.rs
6596 views
mod batched_uniform_buffer;1mod bind_group;2mod bind_group_entries;3mod bind_group_layout;4mod bind_group_layout_entries;5mod bindless;6mod buffer;7mod buffer_vec;8mod gpu_array_buffer;9mod pipeline;10mod pipeline_cache;11mod pipeline_specializer;12pub mod resource_macros;13mod specializer;14mod storage_buffer;15mod texture;16mod uniform_buffer;1718pub use bind_group::*;19pub use bind_group_entries::*;20pub use bind_group_layout::*;21pub use bind_group_layout_entries::*;22pub use bindless::*;23pub use buffer::*;24pub use buffer_vec::*;25pub use gpu_array_buffer::*;26pub use pipeline::*;27pub use pipeline_cache::*;28pub use pipeline_specializer::*;29pub use specializer::*;30pub use storage_buffer::*;31pub use texture::*;32pub use uniform_buffer::*;3334// TODO: decide where re-exports should go35pub use wgpu::{36util::{37BufferInitDescriptor, DispatchIndirectArgs, DrawIndexedIndirectArgs, DrawIndirectArgs,38TextureDataOrder,39},40AccelerationStructureFlags, AccelerationStructureGeometryFlags,41AccelerationStructureUpdateMode, AdapterInfo as WgpuAdapterInfo, AddressMode, AstcBlock,42AstcChannel, BindGroupDescriptor, BindGroupEntry, BindGroupLayoutDescriptor,43BindGroupLayoutEntry, BindingResource, BindingType, Blas, BlasBuildEntry, BlasGeometries,44BlasGeometrySizeDescriptors, BlasTriangleGeometry, BlasTriangleGeometrySizeDescriptor,45BlendComponent, BlendFactor, BlendOperation, BlendState, BufferAddress, BufferAsyncError,46BufferBinding, BufferBindingType, BufferDescriptor, BufferSize, BufferUsages, ColorTargetState,47ColorWrites, CommandEncoder, CommandEncoderDescriptor, CompareFunction, ComputePass,48ComputePassDescriptor, ComputePipelineDescriptor as RawComputePipelineDescriptor,49CreateBlasDescriptor, CreateTlasDescriptor, DepthBiasState, DepthStencilState, DownlevelFlags,50Extent3d, Face, Features as WgpuFeatures, FilterMode, FragmentState as RawFragmentState,51FrontFace, ImageSubresourceRange, IndexFormat, Limits as WgpuLimits, LoadOp, MapMode,52MultisampleState, Operations, Origin3d, PipelineCompilationOptions, PipelineLayout,53PipelineLayoutDescriptor, PollType, PolygonMode, PrimitiveState, PrimitiveTopology,54PushConstantRange, RenderPassColorAttachment, RenderPassDepthStencilAttachment,55RenderPassDescriptor, RenderPipelineDescriptor as RawRenderPipelineDescriptor,56Sampler as WgpuSampler, SamplerBindingType, SamplerBindingType as WgpuSamplerBindingType,57SamplerDescriptor, ShaderModule, ShaderModuleDescriptor, ShaderSource, ShaderStages,58StencilFaceState, StencilOperation, StencilState, StorageTextureAccess, StoreOp,59TexelCopyBufferInfo, TexelCopyBufferLayout, TexelCopyTextureInfo, TextureAspect,60TextureDescriptor, TextureDimension, TextureFormat, TextureFormatFeatureFlags,61TextureFormatFeatures, TextureSampleType, TextureUsages, TextureView as WgpuTextureView,62TextureViewDescriptor, TextureViewDimension, Tlas, TlasInstance, VertexAttribute,63VertexBufferLayout as RawVertexBufferLayout, VertexFormat, VertexState as RawVertexState,64VertexStepMode, COPY_BUFFER_ALIGNMENT,65};6667pub mod encase {68pub use bevy_encase_derive::ShaderType;69pub use encase::*;70}7172pub use self::encase::{ShaderSize, ShaderType};7374pub use naga::ShaderStage;757677