Realm

vk · Structs · C2

16 public declarations with native signatures and source-owned contracts.

StRustExperimental

Stvk::ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV

#[repr(C)]pub struct ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV { pub _bitfield_1: u32, }
Native structure VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.

Contract

Native structure VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.

Khronos reference: VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV

Fields

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

Methods and associated items

geometry_index

Method
pub const fn geometry_index(&self) -> u32

Read native bitfield geometryIndex.

set_geometry_index

Method
pub fn set_geometry_index(&mut self, value: u32)

Set native bitfield geometryIndex, retaining its low 24 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 5 bits.

geometry_flags

Method
pub const fn geometry_flags(&self) -> u32

Read native bitfield geometryFlags.

set_geometry_flags

Method
pub fn set_geometry_flags(&mut self, value: u32)

Set native bitfield geometryFlags, retaining its low 3 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
Returns a duplicate of the value. Read more

Stvk::ClusterAccelerationStructureGetTemplateIndicesInfoNV

#[repr(C)]pub struct ClusterAccelerationStructureGetTemplateIndicesInfoNV { pub cluster_template_address: DeviceAddress, }
Native structure VkClusterAccelerationStructureGetTemplateIndicesInfoNV.

Contract

Native structure VkClusterAccelerationStructureGetTemplateIndicesInfoNV.

Khronos reference: VkClusterAccelerationStructureGetTemplateIndicesInfoNV

Fields

cluster_template_address

Field
cluster_template_address: DeviceAddress

Native field clusterTemplateAddress.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cluster_template_address

Method
pub fn set_cluster_template_address(self, value: DeviceAddress) -> Self

Set native field clusterTemplateAddress without native effects.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureGetTemplateIndicesInfoNV
Returns a duplicate of the value. Read more

Stvk::ClusterAccelerationStructureIndexFormatFlagBitsNV

Contract

Open integer representation of VkClusterAccelerationStructureIndexFormatFlagBitsNV.

Khronos reference: VkClusterAccelerationStructureIndexFormatFlagBitsNV

Fields

0

Field
0: u32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: u32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> u32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

Output

Method
type Output = ClusterAccelerationStructureIndexFormatFlagBitsNV
The resulting type after applying the & operator.

Output-1

Method
type Output = ClusterAccelerationStructureIndexFormatFlagBitsNV
The resulting type after applying the | operator.

Output-2

Method
type Output = ClusterAccelerationStructureIndexFormatFlagBitsNV
The resulting type after applying the ^ operator.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureIndexFormatFlagBitsNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureIndexFormatFlagBitsNV
Returns the “default value” for a type. Read more

Output-3

Method
type Output = ClusterAccelerationStructureIndexFormatFlagBitsNV
The resulting type after applying the ! operator.

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureIndexFormatFlagBitsNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClusterAccelerationStructureInputInfoNV

pub struct ClusterAccelerationStructureInputInfoNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub max_acceleration_structure_count: u32, pub flags: BuildAccelerationStructureFlagsKHR, pub op_type: ClusterAccelerationStructureOpTypeNV, pub op_mode: ClusterAccelerationStructureOpModeNV, pub op_input: ClusterAccelerationStructureOpInputNV<'a>, /* private fields */ }
Native structure VkClusterAccelerationStructureInputInfoNV.

Contract

Native structure VkClusterAccelerationStructureInputInfoNV.

Khronos reference: VkClusterAccelerationStructureInputInfoNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

max_acceleration_structure_count

Field
max_acceleration_structure_count: u32

Native field maxAccelerationStructureCount.

flags

Field
flags: BuildAccelerationStructureFlagsKHR

Native field flags.

op_type

Field
op_type: ClusterAccelerationStructureOpTypeNV

Native field opType.

op_mode

Field
op_mode: ClusterAccelerationStructureOpModeNV

Native field opMode.

op_input

Field
op_input: ClusterAccelerationStructureOpInputNV<'a>

Native field opInput.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_max_acceleration_structure_count

Method
pub fn set_max_acceleration_structure_count(self, value: u32) -> Self

Set native field maxAccelerationStructureCount without native effects.

set_flags

Method
pub fn set_flags(self, value: BuildAccelerationStructureFlagsKHR) -> Self

Set native field flags without native effects.

set_op_type

Method
pub fn set_op_type(self, value: ClusterAccelerationStructureOpTypeNV) -> Self

Set native field opType without native effects.

set_op_mode

Method
pub fn set_op_mode(self, value: ClusterAccelerationStructureOpModeNV) -> Self

Set native field opMode without native effects.

set_op_input

Method
pub fn set_op_input( self, value: ClusterAccelerationStructureOpInputNV<'a>, ) -> Self

Set native field opInput without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ClusterAccelerationStructureInstantiateClusterInfoNV

#[repr(C)]pub struct ClusterAccelerationStructureInstantiateClusterInfoNV { pub cluster_id_offset: u32, pub _bitfield_1: u32, pub cluster_template_address: DeviceAddress, pub vertex_buffer: StridedDeviceAddressNV, }
Native structure VkClusterAccelerationStructureInstantiateClusterInfoNV.

Contract

Native structure VkClusterAccelerationStructureInstantiateClusterInfoNV.

Khronos reference: VkClusterAccelerationStructureInstantiateClusterInfoNV

Fields

cluster_id_offset

Field
cluster_id_offset: u32

Native field clusterIdOffset.

_bitfield_1

Field
_bitfield_1: u32
No public source comment is attached to this declaration.

cluster_template_address

Field
cluster_template_address: DeviceAddress

Native field clusterTemplateAddress.

vertex_buffer

Field
vertex_buffer: StridedDeviceAddressNV

Native field vertexBuffer.

Methods and associated items

geometry_index_offset

Method
pub const fn geometry_index_offset(&self) -> u32

Read native bitfield geometryIndexOffset.

set_geometry_index_offset

Method
pub fn set_geometry_index_offset(&mut self, value: u32)

Set native bitfield geometryIndexOffset, retaining its low 24 bits.

reserved

Method
pub const fn reserved(&self) -> u32

Read native bitfield reserved.

set_reserved

Method
pub fn set_reserved(&mut self, value: u32)

Set native bitfield reserved, retaining its low 8 bits.

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_cluster_id_offset

Method
pub fn set_cluster_id_offset(self, value: u32) -> Self

Set native field clusterIdOffset without native effects.

set_cluster_template_address

Method
pub fn set_cluster_template_address(self, value: DeviceAddress) -> Self

Set native field clusterTemplateAddress without native effects.

set_vertex_buffer

Method
pub fn set_vertex_buffer(self, value: StridedDeviceAddressNV) -> Self

Set native field vertexBuffer without native effects.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureInstantiateClusterInfoNV
Returns a duplicate of the value. Read more

Stvk::ClusterAccelerationStructureMoveObjectsInfoNV

Contract

Native structure VkClusterAccelerationStructureMoveObjectsInfoNV.

Khronos reference: VkClusterAccelerationStructureMoveObjectsInfoNV

Fields

src_acceleration_structure

Field
src_acceleration_structure: DeviceAddress

Native field srcAccelerationStructure.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_src_acceleration_structure

Method
pub fn set_src_acceleration_structure(self, value: DeviceAddress) -> Self

Set native field srcAccelerationStructure without native effects.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureMoveObjectsInfoNV
Returns a duplicate of the value. Read more

Stvk::ClusterAccelerationStructureMoveObjectsInputNV

pub struct ClusterAccelerationStructureMoveObjectsInputNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub type: ClusterAccelerationStructureTypeNV, pub no_move_overlap: Bool32, pub max_moved_bytes: DeviceSize, /* private fields */ }
Native structure VkClusterAccelerationStructureMoveObjectsInputNV.

Contract

Native structure VkClusterAccelerationStructureMoveObjectsInputNV.

Khronos reference: VkClusterAccelerationStructureMoveObjectsInputNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

type

Field
type: ClusterAccelerationStructureTypeNV

Native field type.

no_move_overlap

Field
no_move_overlap: Bool32

Native field noMoveOverlap.

max_moved_bytes

Field
max_moved_bytes: DeviceSize

Native field maxMovedBytes.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_type

Method
pub fn set_type(self, value: ClusterAccelerationStructureTypeNV) -> Self

Set native field type without native effects.

set_no_move_overlap

Method
pub fn set_no_move_overlap(self, value: Bool32) -> Self

Set native field noMoveOverlap without native effects.

set_max_moved_bytes

Method
pub fn set_max_moved_bytes(self, value: DeviceSize) -> Self

Set native field maxMovedBytes without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ClusterAccelerationStructureOpModeNV

Contract

Open integer representation of VkClusterAccelerationStructureOpModeNV.

Khronos reference: VkClusterAccelerationStructureOpModeNV

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureOpModeNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureOpModeNV
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureOpModeNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClusterAccelerationStructureOpTypeNV

Contract

Open integer representation of VkClusterAccelerationStructureOpTypeNV.

Khronos reference: VkClusterAccelerationStructureOpTypeNV

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureOpTypeNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureOpTypeNV
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureOpTypeNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ClusterAccelerationStructureTriangleClusterInputNV

pub struct ClusterAccelerationStructureTriangleClusterInputNV<'a> { pub s_type: StructureType, pub p_next: *mut c_void, pub vertex_format: Format, pub max_geometry_index_value: u32, pub max_cluster_unique_geometry_count: u32, pub max_cluster_triangle_count: u32, pub max_cluster_vertex_count: u32, pub max_total_triangle_count: u32, pub max_total_vertex_count: u32, pub min_position_truncate_bit_count: u32, /* private fields */ }
Native structure VkClusterAccelerationStructureTriangleClusterInputNV.

Contract

Native structure VkClusterAccelerationStructureTriangleClusterInputNV.

Khronos reference: VkClusterAccelerationStructureTriangleClusterInputNV

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *mut c_void

Native field pNext.

vertex_format

Field
vertex_format: Format

Native field vertexFormat.

max_geometry_index_value

Field
max_geometry_index_value: u32

Native field maxGeometryIndexValue.

max_cluster_unique_geometry_count

Field
max_cluster_unique_geometry_count: u32

Native field maxClusterUniqueGeometryCount.

max_cluster_triangle_count

Field
max_cluster_triangle_count: u32

Native field maxClusterTriangleCount.

max_cluster_vertex_count

Field
max_cluster_vertex_count: u32

Native field maxClusterVertexCount.

max_total_triangle_count

Field
max_total_triangle_count: u32

Native field maxTotalTriangleCount.

max_total_vertex_count

Field
max_total_vertex_count: u32

Native field maxTotalVertexCount.

min_position_truncate_bit_count

Field
min_position_truncate_bit_count: u32

Native field minPositionTruncateBitCount.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

set_vertex_format

Method
pub fn set_vertex_format(self, value: Format) -> Self

Set native field vertexFormat without native effects.

set_max_geometry_index_value

Method
pub fn set_max_geometry_index_value(self, value: u32) -> Self

Set native field maxGeometryIndexValue without native effects.

set_max_cluster_unique_geometry_count

Method
pub fn set_max_cluster_unique_geometry_count(self, value: u32) -> Self

Set native field maxClusterUniqueGeometryCount without native effects.

set_max_cluster_triangle_count

Method
pub fn set_max_cluster_triangle_count(self, value: u32) -> Self

Set native field maxClusterTriangleCount without native effects.

set_max_cluster_vertex_count

Method
pub fn set_max_cluster_vertex_count(self, value: u32) -> Self

Set native field maxClusterVertexCount without native effects.

set_max_total_triangle_count

Method
pub fn set_max_total_triangle_count(self, value: u32) -> Self

Set native field maxTotalTriangleCount without native effects.

set_max_total_vertex_count

Method
pub fn set_max_total_vertex_count(self, value: u32) -> Self

Set native field maxTotalVertexCount without native effects.

set_min_position_truncate_bit_count

Method
pub fn set_min_position_truncate_bit_count(self, value: u32) -> Self

Set native field minPositionTruncateBitCount without native effects.

push_next

Method
pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

Errors

Returns a construction error for a changed structure tag or already-linked node.

Stvk::ClusterAccelerationStructureTypeNV

Contract

Open integer representation of VkClusterAccelerationStructureTypeNV.

Khronos reference: VkClusterAccelerationStructureTypeNV

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> ClusterAccelerationStructureTypeNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> ClusterAccelerationStructureTypeNV
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &ClusterAccelerationStructureTypeNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::CoarseSampleLocationNV

Contract

Native structure VkCoarseSampleLocationNV.

Khronos reference: VkCoarseSampleLocationNV

Fields

pixel_x

Field
pixel_x: u32

Native field pixelX.

pixel_y

Field
pixel_y: u32

Native field pixelY.

sample

Field
sample: u32

Native field sample.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_pixel_x

Method
pub fn set_pixel_x(self, value: u32) -> Self

Set native field pixelX without native effects.

set_pixel_y

Method
pub fn set_pixel_y(self, value: u32) -> Self

Set native field pixelY without native effects.

set_sample

Method
pub fn set_sample(self, value: u32) -> Self

Set native field sample without native effects.

clone

Method
fn clone(&self) -> CoarseSampleLocationNV
Returns a duplicate of the value. Read more

Stvk::CoarseSampleOrderCustomNV

pub struct CoarseSampleOrderCustomNV<'a> { pub shading_rate: ShadingRatePaletteEntryNV, pub sample_count: u32, pub sample_location_count: u32, pub p_sample_locations: *const CoarseSampleLocationNV, /* private fields */ }
Native structure VkCoarseSampleOrderCustomNV.

Contract

Native structure VkCoarseSampleOrderCustomNV.

Khronos reference: VkCoarseSampleOrderCustomNV

Fields

shading_rate

Field
shading_rate: ShadingRatePaletteEntryNV

Native field shadingRate.

sample_count

Field
sample_count: u32

Native field sampleCount.

sample_location_count

Field
sample_location_count: u32

Native field sampleLocationCount.

p_sample_locations

Field
p_sample_locations: *const CoarseSampleLocationNV

Native field pSampleLocations.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_shading_rate

Method
pub fn set_shading_rate(self, value: ShadingRatePaletteEntryNV) -> Self

Set native field shadingRate without native effects.

set_sample_count

Method
pub fn set_sample_count(self, value: u32) -> Self

Set native field sampleCount without native effects.

set_sample_location_count

Method
pub fn set_sample_location_count(self, value: u32) -> Self

Set native count sampleLocationCount directly without checking associated pointer extents. Use the borrowed array helpers to derive matching storage and counts together. Direct count edits support null-query/dynamic-state paths and remain a native-call validity obligation, including after earlier borrowed setters.

set_sample_locations

Method
pub fn set_sample_locations( self, value: &'a [CoarseSampleLocationNV], ) -> Result<Self, ConstructionError>

Borrow pSampleLocations and set checked native count sampleLocationCount. The borrow covers this storage only; nested raw pointers, format, alignment and asynchronous retention remain native-call obligations. Output storage must be initialized; returned sizes do not enlarge its capacity.

Errors

Returns a construction error if the length exceeds the native count width.

clone

Method
fn clone(&self) -> CoarseSampleOrderCustomNV<'a>
Returns a duplicate of the value. Read more

Stvk::CoarseSampleOrderTypeNV

Contract

Open integer representation of VkCoarseSampleOrderTypeNV.

Khronos reference: VkCoarseSampleOrderTypeNV

Fields

0

Field
0: i32
No public source comment is attached to this declaration.

Methods and associated items

from_raw

Method
pub const fn from_raw(value: i32) -> Self
No public source comment is attached to this declaration.

as_raw

Method
pub const fn as_raw(self) -> i32
No public source comment is attached to this declaration.

empty

Method
pub const fn empty() -> Self
No public source comment is attached to this declaration.

clone

Method
fn clone(&self) -> CoarseSampleOrderTypeNV
Returns a duplicate of the value. Read more

fmt

Method
fn fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter. Read more

default

Method
fn default() -> CoarseSampleOrderTypeNV
Returns the “default value” for a type. Read more

eq

Method
fn eq(&self, other: &CoarseSampleOrderTypeNV) -> bool
Tests for self and other values to be equal, and is used by ==.

Stvk::ColorBlendAdvancedEXT

#[repr(C)]pub struct ColorBlendAdvancedEXT { pub advanced_blend_op: BlendOp, pub src_premultiplied: Bool32, pub dst_premultiplied: Bool32, pub blend_overlap: BlendOverlapEXT, pub clamp_results: Bool32, }
Native structure VkColorBlendAdvancedEXT.

Contract

Native structure VkColorBlendAdvancedEXT.

Khronos reference: VkColorBlendAdvancedEXT

Fields

advanced_blend_op

Field
advanced_blend_op: BlendOp

Native field advancedBlendOp.

src_premultiplied

Field
src_premultiplied: Bool32

Native field srcPremultiplied.

dst_premultiplied

Field
dst_premultiplied: Bool32

Native field dstPremultiplied.

blend_overlap

Field
blend_overlap: BlendOverlapEXT

Native field blendOverlap.

clamp_results

Field
clamp_results: Bool32

Native field clampResults.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_advanced_blend_op

Method
pub fn set_advanced_blend_op(self, value: BlendOp) -> Self

Set native field advancedBlendOp without native effects.

set_src_premultiplied

Method
pub fn set_src_premultiplied(self, value: Bool32) -> Self

Set native field srcPremultiplied without native effects.

set_dst_premultiplied

Method
pub fn set_dst_premultiplied(self, value: Bool32) -> Self

Set native field dstPremultiplied without native effects.

set_blend_overlap

Method
pub fn set_blend_overlap(self, value: BlendOverlapEXT) -> Self

Set native field blendOverlap without native effects.

set_clamp_results

Method
pub fn set_clamp_results(self, value: Bool32) -> Self

Set native field clampResults without native effects.

clone

Method
fn clone(&self) -> ColorBlendAdvancedEXT
Returns a duplicate of the value. Read more

Stvk::ColorBlendEquationEXT

#[repr(C)]pub struct ColorBlendEquationEXT { pub src_color_blend_factor: BlendFactor, pub dst_color_blend_factor: BlendFactor, pub color_blend_op: BlendOp, pub src_alpha_blend_factor: BlendFactor, pub dst_alpha_blend_factor: BlendFactor, pub alpha_blend_op: BlendOp, }
Native structure VkColorBlendEquationEXT.

Contract

Native structure VkColorBlendEquationEXT.

Khronos reference: VkColorBlendEquationEXT

Fields

src_color_blend_factor

Field
src_color_blend_factor: BlendFactor

Native field srcColorBlendFactor.

dst_color_blend_factor

Field
dst_color_blend_factor: BlendFactor

Native field dstColorBlendFactor.

color_blend_op

Field
color_blend_op: BlendOp

Native field colorBlendOp.

src_alpha_blend_factor

Field
src_alpha_blend_factor: BlendFactor

Native field srcAlphaBlendFactor.

dst_alpha_blend_factor

Field
dst_alpha_blend_factor: BlendFactor

Native field dstAlphaBlendFactor.

alpha_blend_op

Field
alpha_blend_op: BlendOp

Native field alphaBlendOp.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_src_color_blend_factor

Method
pub fn set_src_color_blend_factor(self, value: BlendFactor) -> Self

Set native field srcColorBlendFactor without native effects.

set_dst_color_blend_factor

Method
pub fn set_dst_color_blend_factor(self, value: BlendFactor) -> Self

Set native field dstColorBlendFactor without native effects.

set_color_blend_op

Method
pub fn set_color_blend_op(self, value: BlendOp) -> Self

Set native field colorBlendOp without native effects.

set_src_alpha_blend_factor

Method
pub fn set_src_alpha_blend_factor(self, value: BlendFactor) -> Self

Set native field srcAlphaBlendFactor without native effects.

set_dst_alpha_blend_factor

Method
pub fn set_dst_alpha_blend_factor(self, value: BlendFactor) -> Self

Set native field dstAlphaBlendFactor without native effects.

set_alpha_blend_op

Method
pub fn set_alpha_blend_op(self, value: BlendOp) -> Self

Set native field alphaBlendOp without native effects.

clone

Method
fn clone(&self) -> ColorBlendEquationEXT
Returns a duplicate of the value. Read more