Skip to main content

fields

Function fields 

Source
pub fn fields(m: &Module, t: TypeId) -> Result<Vec<FieldAnnotation>>
Expand description

Fields of a struct type from dx.typeAnnotations (field tag 6 the name, 3 the constant-buffer offset, 7 the component type). Empty when the module has no annotation for it.