pub struct ResourceExtras {
pub class: u8,
pub id: u32,
pub sample_count: Option<u32>,
pub globally_coherent: bool,
pub rasterizer_ordered: bool,
pub sampler_feedback: Option<u32>,
pub atomic64: bool,
pub tags: Vec<(i64, i64)>,
}Expand description
The optional fields of a resource record that Range leaves out, keyed by the record’s class and id.
Fields§
§class: u8The class (0 SRV, 1 UAV, 2 constant buffer, 3 sampler), as in Range::class.
id: u32The range id, as in Range::id.
sample_count: Option<u32>A shader resource view’s sample count (operand 7): 0 for a single-sampled view, 4 for a Texture2DMS<_, 4>,
4294967295 for a Texture2DMS<_, -1>.
globally_coherent: boolAn unordered-access view declared globallycoherent (operand 7).
rasterizer_ordered: boolAn unordered-access view that is rasterizer ordered (operand 9).
sampler_feedback: Option<u32>Tag 2 of the record’s tag list: the kind of the sampler-feedback texture, where it states one.
atomic64: boolTag 3 of the record’s tag list: the view is the target of a 64-bit atomic operation.
Every tag of the record’s tag list with its value, as stored (0 element type, 1 stride, 2 sampler feedback kind, 3 64-bit atomics).