Struct vulkano::sync::AccessFlagBits
[−]
[src]
pub struct AccessFlagBits { pub indirect_command_read: bool, pub index_read: bool, pub vertex_attribute_read: bool, pub uniform_read: bool, pub input_attachment_read: bool, pub shader_read: bool, pub shader_write: bool, pub color_attachment_read: bool, pub color_attachment_write: bool, pub depth_stencil_attachment_read: bool, pub depth_stencil_attachment_write: bool, pub transfer_read: bool, pub transfer_write: bool, pub host_read: bool, pub host_write: bool, pub memory_read: bool, pub memory_write: bool, }
Fields
indirect_command_read: bool
index_read: bool
vertex_attribute_read: bool
uniform_read: bool
input_attachment_read: bool
shader_read: bool
shader_write: bool
color_attachment_read: bool
color_attachment_write: bool
depth_stencil_attachment_read: bool
depth_stencil_attachment_write: bool
transfer_read: bool
transfer_write: bool
host_read: bool
host_write: bool
memory_read: bool
memory_write: bool
Methods
impl AccessFlagBits
[src]
fn all() -> AccessFlagBits
[src]
Builds an AccessFlagBits
struct with all bits set.
fn none() -> AccessFlagBits
[src]
Builds an AccessFlagBits
struct with none of the bits set.
impl AccessFlagBits
[src]
fn is_compatible_with(&self, stages: &PipelineStages) -> bool
[src]
Returns true if the access flags can be used with the given pipeline stages.
Corresponds to Table 4. Supported access types
in section 6.1.3. Access Types
of the
Vulkan specs.
Trait Implementations
impl Debug for AccessFlagBits
[src]
impl Copy for AccessFlagBits
[src]
impl Clone for AccessFlagBits
[src]
fn clone(&self) -> AccessFlagBits
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BitOr for AccessFlagBits
[src]
type Output = AccessFlagBits
The resulting type after applying the |
operator.
fn bitor(self, rhs: AccessFlagBits) -> AccessFlagBits
[src]
Performs the |
operation.
impl BitOrAssign for AccessFlagBits
[src]
fn bitor_assign(&mut self, rhs: AccessFlagBits)
[src]
Performs the |=
operation.