Module env
wgpu_
types
24.0.0
Module env
Module Items
Functions
In crate wgpu_
types
Modules
assertions
counters
env
features
instance
math
Macros
strict_assert
strict_assert_eq
strict_assert_ne
Structs
AccelerationStructureFlags
AccelerationStructureGeometryFlags
AdapterInfo
AllocationReport
AllocatorReport
Backends
BindGroupLayoutEntry
BlasTriangleGeometrySizeDescriptor
BlendComponent
BlendState
BufferDescriptor
BufferTransition
BufferUsages
BufferUses
Color
ColorTargetState
ColorWrites
CommandBufferDescriptor
CommandEncoderDescriptor
CopyExternalImageDestInfo
CoreCounters
CreateBlasDescriptor
CreateTlasDescriptor
DepthBiasState
DepthStencilState
DeviceDescriptor
DispatchIndirectArgs
DownlevelCapabilities
DownlevelFlags
DownlevelLimits
DrawIndexedIndirectArgs
DrawIndirectArgs
Extent3d
FeatureBits
Features
FeaturesWGPU
FeaturesWebGPU
HalCounters
ImageSubresourceRange
InternalCounter
InternalCounters
Limits
MemoryBlockReport
MultisampleState
Operations
Origin2d
Origin3d
PipelineStatisticsTypes
PresentationTimestamp
PrimitiveState
PushConstantRange
QuerySetDescriptor
RenderBundleDepthStencil
RenderBundleDescriptor
RequestAdapterOptions
SamplerDescriptor
ShaderRuntimeChecks
ShaderStages
StencilFaceState
StencilState
SurfaceCapabilities
SurfaceConfiguration
TexelCopyBufferInfo
TexelCopyBufferLayout
TexelCopyTextureInfo
TextureDescriptor
TextureFormatFeatureFlags
TextureFormatFeatures
TextureSelector
TextureTransition
TextureUsages
TextureUses
TextureViewDescriptor
VertexAttribute
Enums
AccelerationStructureCopy
AccelerationStructureType
AccelerationStructureUpdateMode
AddressMode
AstcBlock
AstcChannel
Backend
BindingType
BlasGeometrySizeDescriptors
BlendFactor
BlendOperation
BufferBindingType
CompareFunction
CompositeAlphaMode
DeviceLostReason
DeviceType
Face
FilterMode
FrontFace
IndexFormat
LoadOp
MemoryHints
PollError
PollStatus
PollType
PolygonMode
PowerPreference
PredefinedColorSpace
PresentMode
PrimitiveTopology
QueryType
SamplerBindingType
SamplerBorderColor
ShaderModel
StencilOperation
StorageTextureAccess
StoreOp
SurfaceStatus
TextureAspect
TextureDataOrder
TextureDimension
TextureFormat
TextureSampleType
TextureViewDimension
VertexFormat
VertexStepMode
Constants
COPY_BUFFER_ALIGNMENT
COPY_BYTES_PER_ROW_ALIGNMENT
INSTANCE_BUFFER_ALIGNMENT
MAP_ALIGNMENT
PUSH_CONSTANT_ALIGNMENT
QUERY_RESOLVE_BUFFER_ALIGNMENT
QUERY_SET_MAX_QUERIES
QUERY_SIZE
TRANSFORM_BUFFER_ALIGNMENT
VERTEX_STRIDE_ALIGNMENT
Traits
WasmNotSend
WasmNotSendSync
WasmNotSync
Functions
default_depth
Type Aliases
BufferAddress
BufferSize
DynamicOffset
ImageCopyBuffer
ImageCopyTexture
ImageCopyTextureTagged
ImageDataLayout
ShaderLocation
wgpu_types
Module
env
Copy item path
Settings
Help
Summary
source
Functions
§
var
No-std friendly version of
std::env::var
. Returns
None
if the environment variable is not set or we are in a no-std context.