Lines Matching refs:BufferView
59 pub struct BufferView<B> struct
63 view: ash::vk::BufferView, argument
68 impl<B> BufferView<B> argument
74 pub fn new<Px>(buffer: B, format: Format) -> Result<BufferView<B>, BufferViewCreationError> in new()
79 unsafe { BufferView::unchecked(buffer, format) } in new()
86 ) -> Result<BufferView<B>, BufferViewCreationError> in unchecked()
168 Ok(BufferView { in unchecked()
202 unsafe impl<B> VulkanObject for BufferView<B> implementation
206 type Object = ash::vk::BufferView;
209 fn internal_object(&self) -> ash::vk::BufferView { in internal_object() argument
214 unsafe impl<B> DeviceOwned for BufferView<B> implementation
224 impl<B> fmt::Debug for BufferView<B> implementation
236 impl<B> Drop for BufferView<B> implementation
256 fn view(&self) -> &BufferView<Self::BufferAccess>; in view()
259 unsafe impl<B> BufferViewRef for BufferView<B> implementation
266 fn view(&self) -> &BufferView<B> { in view()
273 T: SafeDeref<Target = BufferView<B>>,
279 fn view(&self) -> &BufferView<B> { in view()
360 use crate::buffer::BufferView;
376 let view = BufferView::new(buffer, Format::R8G8B8A8Unorm).unwrap(); in create_uniform()
394 let view = BufferView::new(buffer, Format::R8G8B8A8Unorm).unwrap(); in create_storage()
411 let view = BufferView::new(buffer, Format::R32Uint).unwrap(); in create_storage_atomic()
429 match BufferView::new(buffer, Format::R8G8B8A8Unorm) { in wrong_usage()
453 match BufferView::new(buffer, Format::R64G64B64A64Sfloat) { in unsupported_format()