Realm

vk · Structs · D6

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

StRustExperimental

Stvk::DescriptorGetInfoEXT

pub struct DescriptorGetInfoEXT<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub type: DescriptorType, pub data: DescriptorDataEXT<'a>, /* private fields */ }
Native structure VkDescriptorGetInfoEXT.

Contract

Native structure VkDescriptorGetInfoEXT.

Khronos reference: VkDescriptorGetInfoEXT

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

type

Field
type: DescriptorType

Native field type.

data

Field
data: DescriptorDataEXT<'a>

Native field data.

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: DescriptorType) -> Self

Set native field type without native effects.

set_data

Method
pub fn set_data(self, value: DescriptorDataEXT<'a>) -> Self

Set native field data 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::DescriptorGetTensorInfoARM

pub struct DescriptorGetTensorInfoARM<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub tensor_view: TensorViewARM, /* private fields */ }
Native structure VkDescriptorGetTensorInfoARM.

Contract

Native structure VkDescriptorGetTensorInfoARM.

Khronos reference: VkDescriptorGetTensorInfoARM

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

tensor_view

Field
tensor_view: TensorViewARM

Native field tensorView.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_tensor_view

Method
pub fn set_tensor_view(self, value: TensorViewARM) -> Self

Set native field tensorView 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::DescriptorImageInfo

Contract

Native structure VkDescriptorImageInfo.

Khronos reference: VkDescriptorImageInfo

Fields

sampler

Field
sampler: Sampler

Native field sampler.

image_view

Field
image_view: ImageView

Native field imageView.

image_layout

Field
image_layout: ImageLayout

Native field imageLayout.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_sampler

Method
pub fn set_sampler(self, value: Sampler) -> Self

Set native field sampler without native effects.

set_image_view

Method
pub fn set_image_view(self, value: ImageView) -> Self

Set native field imageView without native effects.

set_image_layout

Method
pub fn set_image_layout(self, value: ImageLayout) -> Self

Set native field imageLayout without native effects.

Stvk::DescriptorMappingSourceConstantOffsetEXT

pub struct DescriptorMappingSourceConstantOffsetEXT<'a> { pub heap_offset: u32, pub heap_array_stride: u32, pub p_embedded_sampler: *const SamplerCreateInfo<'a>, pub sampler_heap_offset: u32, pub sampler_heap_array_stride: u32, /* private fields */ }
Native structure VkDescriptorMappingSourceConstantOffsetEXT.

Contract

Native structure VkDescriptorMappingSourceConstantOffsetEXT.

Khronos reference: VkDescriptorMappingSourceConstantOffsetEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

heap_array_stride

Field
heap_array_stride: u32

Native field heapArrayStride.

p_embedded_sampler

Field
p_embedded_sampler: *const SamplerCreateInfo<'a>

Native field pEmbeddedSampler.

sampler_heap_offset

Field
sampler_heap_offset: u32

Native field samplerHeapOffset.

sampler_heap_array_stride

Field
sampler_heap_array_stride: u32

Native field samplerHeapArrayStride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_heap_array_stride

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

Set native field heapArrayStride without native effects.

set_embedded_sampler

Method
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self

Set native field pEmbeddedSampler without native effects.

set_sampler_heap_offset

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

Set native field samplerHeapOffset without native effects.

set_sampler_heap_array_stride

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

Set native field samplerHeapArrayStride without native effects.

clone

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

Stvk::DescriptorMappingSourceEXT

Contract

Open integer representation of VkDescriptorMappingSourceEXT.

Khronos reference: VkDescriptorMappingSourceEXT

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) -> DescriptorMappingSourceEXT
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() -> DescriptorMappingSourceEXT
Returns the “default value” for a type. Read more

eq

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

Stvk::DescriptorMappingSourceHeapDataEXT

Contract

Native structure VkDescriptorMappingSourceHeapDataEXT.

Khronos reference: VkDescriptorMappingSourceHeapDataEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

push_offset

Field
push_offset: u32

Native field pushOffset.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_push_offset

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

Set native field pushOffset without native effects.

clone

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

Stvk::DescriptorMappingSourceIndirectAddressEXT

Contract

Native structure VkDescriptorMappingSourceIndirectAddressEXT.

Khronos reference: VkDescriptorMappingSourceIndirectAddressEXT

Fields

push_offset

Field
push_offset: u32

Native field pushOffset.

address_offset

Field
address_offset: u32

Native field addressOffset.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_push_offset

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

Set native field pushOffset without native effects.

set_address_offset

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

Set native field addressOffset without native effects.

clone

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

Stvk::DescriptorMappingSourceIndirectIndexArrayEXT

pub struct DescriptorMappingSourceIndirectIndexArrayEXT<'a> { pub heap_offset: u32, pub push_offset: u32, pub address_offset: u32, pub heap_index_stride: u32, pub p_embedded_sampler: *const SamplerCreateInfo<'a>, pub use_combined_image_sampler_index: Bool32, pub sampler_heap_offset: u32, pub sampler_push_offset: u32, pub sampler_address_offset: u32, pub sampler_heap_index_stride: u32, /* private fields */ }
Native structure VkDescriptorMappingSourceIndirectIndexArrayEXT.

Contract

Native structure VkDescriptorMappingSourceIndirectIndexArrayEXT.

Khronos reference: VkDescriptorMappingSourceIndirectIndexArrayEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

push_offset

Field
push_offset: u32

Native field pushOffset.

address_offset

Field
address_offset: u32

Native field addressOffset.

heap_index_stride

Field
heap_index_stride: u32

Native field heapIndexStride.

p_embedded_sampler

Field
p_embedded_sampler: *const SamplerCreateInfo<'a>

Native field pEmbeddedSampler.

use_combined_image_sampler_index

Field
use_combined_image_sampler_index: Bool32

Native field useCombinedImageSamplerIndex.

sampler_heap_offset

Field
sampler_heap_offset: u32

Native field samplerHeapOffset.

sampler_push_offset

Field
sampler_push_offset: u32

Native field samplerPushOffset.

sampler_address_offset

Field
sampler_address_offset: u32

Native field samplerAddressOffset.

sampler_heap_index_stride

Field
sampler_heap_index_stride: u32

Native field samplerHeapIndexStride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_push_offset

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

Set native field pushOffset without native effects.

set_address_offset

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

Set native field addressOffset without native effects.

set_heap_index_stride

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

Set native field heapIndexStride without native effects.

set_embedded_sampler

Method
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self

Set native field pEmbeddedSampler without native effects.

set_use_combined_image_sampler_index

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

Set native field useCombinedImageSamplerIndex without native effects.

set_sampler_heap_offset

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

Set native field samplerHeapOffset without native effects.

set_sampler_push_offset

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

Set native field samplerPushOffset without native effects.

set_sampler_address_offset

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

Set native field samplerAddressOffset without native effects.

set_sampler_heap_index_stride

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

Set native field samplerHeapIndexStride without native effects.

clone

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

Stvk::DescriptorMappingSourceIndirectIndexEXT

pub struct DescriptorMappingSourceIndirectIndexEXT<'a> { pub heap_offset: u32, pub push_offset: u32, pub address_offset: u32, pub heap_index_stride: u32, pub heap_array_stride: u32, pub p_embedded_sampler: *const SamplerCreateInfo<'a>, pub use_combined_image_sampler_index: Bool32, pub sampler_heap_offset: u32, pub sampler_push_offset: u32, pub sampler_address_offset: u32, pub sampler_heap_index_stride: u32, pub sampler_heap_array_stride: u32, /* private fields */ }
Native structure VkDescriptorMappingSourceIndirectIndexEXT.

Contract

Native structure VkDescriptorMappingSourceIndirectIndexEXT.

Khronos reference: VkDescriptorMappingSourceIndirectIndexEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

push_offset

Field
push_offset: u32

Native field pushOffset.

address_offset

Field
address_offset: u32

Native field addressOffset.

heap_index_stride

Field
heap_index_stride: u32

Native field heapIndexStride.

heap_array_stride

Field
heap_array_stride: u32

Native field heapArrayStride.

p_embedded_sampler

Field
p_embedded_sampler: *const SamplerCreateInfo<'a>

Native field pEmbeddedSampler.

use_combined_image_sampler_index

Field
use_combined_image_sampler_index: Bool32

Native field useCombinedImageSamplerIndex.

sampler_heap_offset

Field
sampler_heap_offset: u32

Native field samplerHeapOffset.

sampler_push_offset

Field
sampler_push_offset: u32

Native field samplerPushOffset.

sampler_address_offset

Field
sampler_address_offset: u32

Native field samplerAddressOffset.

sampler_heap_index_stride

Field
sampler_heap_index_stride: u32

Native field samplerHeapIndexStride.

sampler_heap_array_stride

Field
sampler_heap_array_stride: u32

Native field samplerHeapArrayStride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_push_offset

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

Set native field pushOffset without native effects.

set_address_offset

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

Set native field addressOffset without native effects.

set_heap_index_stride

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

Set native field heapIndexStride without native effects.

set_heap_array_stride

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

Set native field heapArrayStride without native effects.

set_embedded_sampler

Method
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self

Set native field pEmbeddedSampler without native effects.

set_use_combined_image_sampler_index

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

Set native field useCombinedImageSamplerIndex without native effects.

set_sampler_heap_offset

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

Set native field samplerHeapOffset without native effects.

set_sampler_push_offset

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

Set native field samplerPushOffset without native effects.

set_sampler_address_offset

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

Set native field samplerAddressOffset without native effects.

set_sampler_heap_index_stride

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

Set native field samplerHeapIndexStride without native effects.

set_sampler_heap_array_stride

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

Set native field samplerHeapArrayStride without native effects.

clone

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

Stvk::DescriptorMappingSourcePushIndexEXT

pub struct DescriptorMappingSourcePushIndexEXT<'a> { pub heap_offset: u32, pub push_offset: u32, pub heap_index_stride: u32, pub heap_array_stride: u32, pub p_embedded_sampler: *const SamplerCreateInfo<'a>, pub use_combined_image_sampler_index: Bool32, pub sampler_heap_offset: u32, pub sampler_push_offset: u32, pub sampler_heap_index_stride: u32, pub sampler_heap_array_stride: u32, /* private fields */ }
Native structure VkDescriptorMappingSourcePushIndexEXT.

Contract

Native structure VkDescriptorMappingSourcePushIndexEXT.

Khronos reference: VkDescriptorMappingSourcePushIndexEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

push_offset

Field
push_offset: u32

Native field pushOffset.

heap_index_stride

Field
heap_index_stride: u32

Native field heapIndexStride.

heap_array_stride

Field
heap_array_stride: u32

Native field heapArrayStride.

p_embedded_sampler

Field
p_embedded_sampler: *const SamplerCreateInfo<'a>

Native field pEmbeddedSampler.

use_combined_image_sampler_index

Field
use_combined_image_sampler_index: Bool32

Native field useCombinedImageSamplerIndex.

sampler_heap_offset

Field
sampler_heap_offset: u32

Native field samplerHeapOffset.

sampler_push_offset

Field
sampler_push_offset: u32

Native field samplerPushOffset.

sampler_heap_index_stride

Field
sampler_heap_index_stride: u32

Native field samplerHeapIndexStride.

sampler_heap_array_stride

Field
sampler_heap_array_stride: u32

Native field samplerHeapArrayStride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_push_offset

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

Set native field pushOffset without native effects.

set_heap_index_stride

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

Set native field heapIndexStride without native effects.

set_heap_array_stride

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

Set native field heapArrayStride without native effects.

set_embedded_sampler

Method
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self

Set native field pEmbeddedSampler without native effects.

set_use_combined_image_sampler_index

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

Set native field useCombinedImageSamplerIndex without native effects.

set_sampler_heap_offset

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

Set native field samplerHeapOffset without native effects.

set_sampler_push_offset

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

Set native field samplerPushOffset without native effects.

set_sampler_heap_index_stride

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

Set native field samplerHeapIndexStride without native effects.

set_sampler_heap_array_stride

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

Set native field samplerHeapArrayStride without native effects.

clone

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

Stvk::DescriptorMappingSourceShaderRecordIndexEXT

pub struct DescriptorMappingSourceShaderRecordIndexEXT<'a> { pub heap_offset: u32, pub shader_record_offset: u32, pub heap_index_stride: u32, pub heap_array_stride: u32, pub p_embedded_sampler: *const SamplerCreateInfo<'a>, pub use_combined_image_sampler_index: Bool32, pub sampler_heap_offset: u32, pub sampler_shader_record_offset: u32, pub sampler_heap_index_stride: u32, pub sampler_heap_array_stride: u32, /* private fields */ }
Native structure VkDescriptorMappingSourceShaderRecordIndexEXT.

Contract

Native structure VkDescriptorMappingSourceShaderRecordIndexEXT.

Khronos reference: VkDescriptorMappingSourceShaderRecordIndexEXT

Fields

heap_offset

Field
heap_offset: u32

Native field heapOffset.

shader_record_offset

Field
shader_record_offset: u32

Native field shaderRecordOffset.

heap_index_stride

Field
heap_index_stride: u32

Native field heapIndexStride.

heap_array_stride

Field
heap_array_stride: u32

Native field heapArrayStride.

p_embedded_sampler

Field
p_embedded_sampler: *const SamplerCreateInfo<'a>

Native field pEmbeddedSampler.

use_combined_image_sampler_index

Field
use_combined_image_sampler_index: Bool32

Native field useCombinedImageSamplerIndex.

sampler_heap_offset

Field
sampler_heap_offset: u32

Native field samplerHeapOffset.

sampler_shader_record_offset

Field
sampler_shader_record_offset: u32

Native field samplerShaderRecordOffset.

sampler_heap_index_stride

Field
sampler_heap_index_stride: u32

Native field samplerHeapIndexStride.

sampler_heap_array_stride

Field
sampler_heap_array_stride: u32

Native field samplerHeapArrayStride.

Methods and associated items

new

Method
pub fn new() -> Self

Construct the record with its default native state.

set_heap_offset

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

Set native field heapOffset without native effects.

set_shader_record_offset

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

Set native field shaderRecordOffset without native effects.

set_heap_index_stride

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

Set native field heapIndexStride without native effects.

set_heap_array_stride

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

Set native field heapArrayStride without native effects.

set_embedded_sampler

Method
pub fn set_embedded_sampler(self, value: &'a SamplerCreateInfo<'a>) -> Self

Set native field pEmbeddedSampler without native effects.

set_use_combined_image_sampler_index

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

Set native field useCombinedImageSamplerIndex without native effects.

set_sampler_heap_offset

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

Set native field samplerHeapOffset without native effects.

set_sampler_shader_record_offset

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

Set native field samplerShaderRecordOffset without native effects.

set_sampler_heap_index_stride

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

Set native field samplerHeapIndexStride without native effects.

set_sampler_heap_array_stride

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

Set native field samplerHeapArrayStride without native effects.

clone

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

Stvk::DescriptorPool

Contract

Raw Vulkan handle VkDescriptorPool.

Khronos reference: VkDescriptorPool Calls using this identity must satisfy Vulkan lifetime and synchronization rules.

Fields

0

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

Methods and associated items

NULL

Method
pub const NULL: Self
No public source comment is attached to this declaration.

is_null

Method
pub fn is_null(self) -> bool
No public source comment is attached to this declaration.

from_raw

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

as_raw

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

fmt

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

eq

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

Stvk::DescriptorPoolCreateFlagBits

Contract

Open integer representation of VkDescriptorPoolCreateFlagBits.

Khronos reference: VkDescriptorPoolCreateFlagBits

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 = DescriptorPoolCreateFlagBits
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> DescriptorPoolCreateFlagBits
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() -> DescriptorPoolCreateFlagBits
Returns the “default value” for a type. Read more

Output-3

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

eq

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

Stvk::DescriptorPoolCreateInfo

pub struct DescriptorPoolCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub flags: DescriptorPoolCreateFlags, pub max_sets: u32, pub pool_size_count: u32, pub p_pool_sizes: *const DescriptorPoolSize, /* private fields */ }
Native structure VkDescriptorPoolCreateInfo.

Contract

Native structure VkDescriptorPoolCreateInfo.

Khronos reference: VkDescriptorPoolCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

flags

Field
flags: DescriptorPoolCreateFlags

Native field flags.

max_sets

Field
max_sets: u32

Native field maxSets.

pool_size_count

Field
pool_size_count: u32

Native field poolSizeCount.

p_pool_sizes

Field
p_pool_sizes: *const DescriptorPoolSize

Native field pPoolSizes.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_flags

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

Set native field flags without native effects.

set_max_sets

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

Set native field maxSets without native effects.

set_pool_size_count

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

Set native count poolSizeCount 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_pool_sizes

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

Borrow pPoolSizes and set checked native count poolSizeCount. 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.

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::DescriptorPoolInlineUniformBlockCreateInfo

pub struct DescriptorPoolInlineUniformBlockCreateInfo<'a> { pub s_type: StructureType, pub p_next: *const c_void, pub max_inline_uniform_block_bindings: u32, /* private fields */ }
Native structure VkDescriptorPoolInlineUniformBlockCreateInfo.

Contract

Native structure VkDescriptorPoolInlineUniformBlockCreateInfo.

Khronos reference: VkDescriptorPoolInlineUniformBlockCreateInfo

Fields

s_type

Field
s_type: StructureType

Native field sType.

p_next

Field
p_next: *const c_void

Native field pNext.

max_inline_uniform_block_bindings

Field
max_inline_uniform_block_bindings: u32

Native field maxInlineUniformBlockBindings.

Methods and associated items

new

Method
pub fn new() -> Self

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

set_max_inline_uniform_block_bindings

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

Set native field maxInlineUniformBlockBindings 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::DescriptorPoolResetFlags

Contract

Open integer representation of VkDescriptorPoolResetFlags.

Khronos reference: VkDescriptorPoolResetFlags

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 = DescriptorPoolResetFlags
The resulting type after applying the & operator.

Output-1

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

Output-2

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

clone

Method
fn clone(&self) -> DescriptorPoolResetFlags
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() -> DescriptorPoolResetFlags
Returns the “default value” for a type. Read more

Output-3

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

eq

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