Update docs
This commit is contained in:
parent
b7d1623e67
commit
2847a8bd39
|
@ -31,10 +31,10 @@ pub type BoxedRenderPass = Box<dyn RenderPass>;
|
||||||
pub trait RenderPass {
|
pub trait RenderPass {
|
||||||
/// This method will be called when the input [`wgpu::TextureView`] needs to be rebinded.
|
/// This method will be called when the input [`wgpu::TextureView`] needs to be rebinded.
|
||||||
///
|
///
|
||||||
/// A [`wgpu::TextureView`] is provided to the `RenderPass` constructor as an input texture
|
/// A [`wgpu::TextureView`] is provided to the `RenderPass` factory as an input texture with
|
||||||
/// with the original [`SurfaceTexture`] size. This method is called in response to resizing
|
/// the original [`SurfaceTexture`] size. This method is called in response to resizing the
|
||||||
/// the [`SurfaceTexture`], where your `RenderPass` impl can update its input texture for the
|
/// [`SurfaceTexture`], where your `RenderPass` impl can update its input texture for the new
|
||||||
/// new size.
|
/// size.
|
||||||
///
|
///
|
||||||
/// [`Pixels`]: ./struct.Pixels.html
|
/// [`Pixels`]: ./struct.Pixels.html
|
||||||
/// [`SurfaceTexture`]: ./struct.SurfaceTexture.html
|
/// [`SurfaceTexture`]: ./struct.SurfaceTexture.html
|
||||||
|
|
Loading…
Reference in a new issue