☰
wgpu_types
0.17.0
Modules
assertions
math
Macros
strict_assert
strict_assert_eq
strict_assert_ne
Structs
AdapterInfo
Backends
BindGroupLayoutEntry
BlendComponent
BlendState
BufferDescriptor
BufferUsages
Color
ColorTargetState
ColorWrites
CommandBufferDescriptor
CommandEncoderDescriptor
DepthBiasState
DepthStencilState
DeviceDescriptor
DispatchIndirectArgs
DownlevelCapabilities
DownlevelFlags
DownlevelLimits
DrawIndexedIndirectArgs
DrawIndirectArgs
Extent3d
Features
ImageCopyBuffer
ImageCopyTexture
ImageCopyTextureTagged
ImageDataLayout
ImageSubresourceRange
InstanceDescriptor
Limits
MultisampleState
Origin2d
Origin3d
PipelineStatisticsTypes
PresentationTimestamp
PrimitiveState
PushConstantRange
QuerySetDescriptor
RenderBundleDepthStencil
RenderBundleDescriptor
RequestAdapterOptions
ShaderBoundChecks
ShaderStages
StencilFaceState
StencilState
SurfaceCapabilities
SurfaceConfiguration
TextureDescriptor
TextureFormatFeatureFlags
TextureFormatFeatures
TextureUsages
VertexAttribute
Enums
AddressMode
AstcBlock
AstcChannel
Backend
BindingType
BlendFactor
BlendOperation
BufferBindingType
CompareFunction
CompositeAlphaMode
DeviceType
Dx12Compiler
Face
FilterMode
FrontFace
IndexFormat
Maintain
PolygonMode
PowerPreference
PredefinedColorSpace
PresentMode
PrimitiveTopology
QueryType
SamplerBindingType
SamplerBorderColor
ShaderModel
StencilOperation
StorageTextureAccess
SurfaceStatus
TextureAspect
TextureDimension
TextureFormat
TextureSampleType
TextureViewDimension
VertexFormat
VertexStepMode
Constants
COPY_BUFFER_ALIGNMENT
COPY_BYTES_PER_ROW_ALIGNMENT
MAP_ALIGNMENT
PUSH_CONSTANT_ALIGNMENT
QUERY_RESOLVE_BUFFER_ALIGNMENT
QUERY_SET_MAX_QUERIES
QUERY_SIZE
VERTEX_STRIDE_ALIGNMENT
Traits
WasmNotSend
WasmNotSync
Type Aliases
BufferAddress
BufferSize
DynamicOffset
ShaderLocation
?
Constant
wgpu_types
::
MAP_ALIGNMENT
source
·
[
−
]
pub const MAP_ALIGNMENT:
BufferAddress
= 8;
Expand description
Size to align mappings.