pub struct DynamicUniformBuffer<B> { }
Expand description
Dynamic uniform buffer wrapper facilitating RW operations
Source§ SourceCreates a new dynamic uniform buffer wrapper with an alignment of 256 (default alignment in the WebGPU spec).
SourceCreates a new dynamic uniform buffer wrapper with a given alignment.
§Panicsalignment
is not a power of two.alignment
is less than 32 (min alignment imposed by the WebGPU spec).Converts this type into a mutable reference of the (usually inferred) input type.
Source§ Source§Converts this type into a shared reference of the (usually inferred) input type.
Source§ Source§Converts to this type from the input type.
Source§ Source§ Source§ Source§ Source§Converts to this type from the input type.
Source§ Source§Returns the argument unchanged.
Source§ Source§Calls U::from(self)
.
That is, this conversion is whatever the implementation of From<T> for U
chooses to do.
The inverse inclusion map: attempts to construct
self
from the equivalent element of its superset.
Read more Source§Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.
The type returned in the event of a conversion error.
Source§Performs the conversion.
Source§ Source§The type returned in the event of a conversion error.
Source§Performs the conversion.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4