Skip to content

Commit 514cff9

Browse files
authored
refactor: export TextureChannel (#9349)
* refactor: export `TextureChannel` * chore(CHANGELOG): add entry for `wgpu::TextureChannel` * format: apply `cargo fmt`
1 parent e14050d commit 514cff9

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Bottom level categories:
4747
#### General
4848

4949
- Added "limit bucketing" functionality which can adjust adapter limits and features to match one of several pre-defined buckets. This is controlled by the new `apply_limit_buckets` member in `RequestAdapterOptions`, which is `false` by default. By @andyleiserson in [#9119](https://github.com/gfx-rs/wgpu/pull/9119).
50+
- Make `wgpu_types::texture::format::TextureChannel` accessible as `wgpu::TextureChannel`. By @TornaxO7 in [#9394](https://github.com/gfx-rs/wgpu/pull/9349).
5051

5152
#### Metal
5253

wgpu/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,12 @@ pub use wgt::{
147147
PrimitiveTopology, QueryType, RenderBundleDepthStencil, RequestAdapterError,
148148
SamplerBindingType, SamplerBorderColor, ShaderLocation, ShaderModel, ShaderRuntimeChecks,
149149
ShaderStages, StencilFaceState, StencilOperation, StencilState, StorageTextureAccess,
150-
SurfaceCapabilities, SurfaceStatus, TexelCopyBufferLayout, TextureAspect, TextureDimension,
151-
TextureFormat, TextureFormatFeatureFlags, TextureFormatFeatures, TextureSampleType,
152-
TextureTransition, TextureUsages, TextureUses, TextureViewDimension, Trace, VertexAttribute,
153-
VertexFormat, VertexStepMode, WasmNotSend, WasmNotSendSync, WasmNotSync, WriteOnly,
154-
WriteOnlyIter, COPY_BUFFER_ALIGNMENT, COPY_BYTES_PER_ROW_ALIGNMENT, IMMEDIATE_DATA_ALIGNMENT,
155-
MAP_ALIGNMENT, MAXIMUM_SUBGROUP_MAX_SIZE, MINIMUM_SUBGROUP_MIN_SIZE,
150+
SurfaceCapabilities, SurfaceStatus, TexelCopyBufferLayout, TextureAspect, TextureChannel,
151+
TextureDimension, TextureFormat, TextureFormatFeatureFlags, TextureFormatFeatures,
152+
TextureSampleType, TextureTransition, TextureUsages, TextureUses, TextureViewDimension, Trace,
153+
VertexAttribute, VertexFormat, VertexStepMode, WasmNotSend, WasmNotSendSync, WasmNotSync,
154+
WriteOnly, WriteOnlyIter, COPY_BUFFER_ALIGNMENT, COPY_BYTES_PER_ROW_ALIGNMENT,
155+
IMMEDIATE_DATA_ALIGNMENT, MAP_ALIGNMENT, MAXIMUM_SUBGROUP_MAX_SIZE, MINIMUM_SUBGROUP_MIN_SIZE,
156156
QUERY_RESOLVE_BUFFER_ALIGNMENT, QUERY_SET_MAX_QUERIES, QUERY_SIZE, VERTEX_ALIGNMENT,
157157
};
158158

0 commit comments

Comments
 (0)