mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed doc comment
This commit is contained in:
parent
a634da2d07
commit
2d9e800422
@ -1409,6 +1409,8 @@ impl Renderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new dynamic texture with the specified dimensions.
|
/// Create a new dynamic texture with the specified dimensions.
|
||||||
|
///
|
||||||
|
/// Currently only supports Rgba8Srgb.
|
||||||
pub fn create_dynamic_texture(&mut self, dims: Vec2<u32>) -> Texture {
|
pub fn create_dynamic_texture(&mut self, dims: Vec2<u32>) -> Texture {
|
||||||
Texture::new_dynamic(&self.device, &self.queue, dims.x, dims.y)
|
Texture::new_dynamic(&self.device, &self.queue, dims.x, dims.y)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user