Path: blob/main/crates/bevy_render/src/render_resource/mod.rs
9334 views
mod batched_uniform_buffer;1mod bind_group;2mod bind_group_entries;3mod bind_group_layout;4mod bindless;5mod buffer;6mod buffer_vec;7mod gpu_array_buffer;8mod pipeline;9mod pipeline_cache;10mod pipeline_specializer;11mod specializer;12mod storage_buffer;13mod texture;14mod uniform_buffer;1516pub use bind_group::*;17pub use bind_group_entries::*;18pub use bind_group_layout::*;19pub use bindless::*;20pub use buffer::*;21pub use buffer_vec::*;22pub use gpu_array_buffer::*;23pub use pipeline::*;24pub use pipeline_cache::*;25pub use pipeline_specializer::*;26pub use specializer::*;27pub use storage_buffer::*;28pub use texture::*;29pub use uniform_buffer::*;3031// TODO: decide where re-exports should go32pub use wgpu::{33util::{34BufferInitDescriptor, DispatchIndirectArgs, DrawIndexedIndirectArgs, DrawIndirectArgs,35TextureDataOrder,36},37AccelerationStructureFlags, AccelerationStructureGeometryFlags,38AccelerationStructureUpdateMode, AdapterInfo as WgpuAdapterInfo, AddressMode, AstcBlock,39AstcChannel, BindGroupDescriptor, BindGroupEntry, BindGroupLayoutEntry, BindingResource,40BindingType, Blas, BlasBuildEntry, BlasGeometries, BlasGeometrySizeDescriptors,41BlasTriangleGeometry, BlasTriangleGeometrySizeDescriptor, BlendComponent, BlendFactor,42BlendOperation, BlendState, BufferAddress, BufferAsyncError, BufferBinding, BufferBindingType,43BufferDescriptor, BufferSize, BufferUsages, ColorTargetState, ColorWrites, CommandEncoder,44CommandEncoderDescriptor, CompareFunction, ComputePass, ComputePassDescriptor,45ComputePipelineDescriptor as RawComputePipelineDescriptor, CreateBlasDescriptor,46CreateTlasDescriptor, DepthBiasState, DepthStencilState, DownlevelFlags, Extent3d, Face,47Features as WgpuFeatures, FilterMode, FragmentState as RawFragmentState, FrontFace,48ImageSubresourceRange, IndexFormat, Limits as WgpuLimits, LoadOp, MapMode, MipmapFilterMode,49MultisampleState, Operations, Origin3d, PipelineCompilationOptions, PipelineLayout,50PipelineLayoutDescriptor, PollType, PolygonMode, PrimitiveState, PrimitiveTopology,51RenderPassColorAttachment, RenderPassDepthStencilAttachment, RenderPassDescriptor,52RenderPipelineDescriptor as RawRenderPipelineDescriptor, Sampler as WgpuSampler,53SamplerBindingType, SamplerDescriptor, ShaderModule, ShaderModuleDescriptor, ShaderSource,54ShaderStages, StencilFaceState, StencilOperation, StencilState, StorageTextureAccess, StoreOp,55TexelCopyBufferInfo, TexelCopyBufferLayout, TexelCopyTextureInfo, TextureAspect,56TextureDescriptor, TextureDimension, TextureFormat, TextureFormatFeatureFlags,57TextureFormatFeatures, TextureSampleType, TextureUsages, TextureView as WgpuTextureView,58TextureViewDescriptor, TextureViewDimension, Tlas, TlasInstance, VertexAttribute,59VertexBufferLayout as RawVertexBufferLayout, VertexFormat, VertexState as RawVertexState,60VertexStepMode, COPY_BUFFER_ALIGNMENT,61};6263pub mod encase {64pub use bevy_encase_derive::ShaderType;65pub use encase::*;66}6768pub use self::encase::{ShaderSize, ShaderType};6970pub use naga::ShaderStage;7172pub use bevy_material::{73bind_group_layout_entries::{74binding_types, BindGroupLayoutEntries, BindGroupLayoutEntryBuilder,75DynamicBindGroupLayoutEntries, IntoBindGroupLayoutEntryBuilder,76IntoBindGroupLayoutEntryBuilderArray, IntoIndexedBindGroupLayoutEntryBuilderArray,77},78descriptor::{79BindGroupLayoutDescriptor, CachedComputePipelineId, CachedRenderPipelineId,80ComputePipelineDescriptor, FragmentState, PipelineDescriptor, RenderPipelineDescriptor,81VertexState,82},83specialize::SpecializedMeshPipelineError,84};858687