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]
impl AccessFlagBits
pub fn all() -> AccessFlagBits
[src]
pub fn all() -> AccessFlagBits
Builds an AccessFlagBits
struct with all bits set.
pub fn none() -> AccessFlagBits
[src]
pub fn none() -> AccessFlagBits
Builds an AccessFlagBits
struct with none of the bits set.
impl AccessFlagBits
[src]
impl AccessFlagBits
pub fn is_compatible_with(&self, stages: &PipelineStages) -> bool
[src]
pub fn is_compatible_with(&self, stages: &PipelineStages) -> bool
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 Debug for AccessFlagBits
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for AccessFlagBits
[src]
impl Copy for AccessFlagBits
impl Clone for AccessFlagBits
[src]
impl Clone for AccessFlagBits
fn clone(&self) -> AccessFlagBits
[src]
fn clone(&self) -> AccessFlagBits
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl BitOr for AccessFlagBits
[src]
impl BitOr for AccessFlagBits
type Output = AccessFlagBits
The resulting type after applying the |
operator.
fn bitor(self, rhs: AccessFlagBits) -> AccessFlagBits
[src]
fn bitor(self, rhs: AccessFlagBits) -> AccessFlagBits
Performs the |
operation.
impl BitOrAssign for AccessFlagBits
[src]
impl BitOrAssign for AccessFlagBits
fn bitor_assign(&mut self, rhs: AccessFlagBits)
[src]
fn bitor_assign(&mut self, rhs: AccessFlagBits)
Performs the |=
operation.
Auto Trait Implementations
impl Send for AccessFlagBits
impl Send for AccessFlagBits
impl Sync for AccessFlagBits
impl Sync for AccessFlagBits