pub struct Level9 {
pub version: u32,
pub program: Vec<u8>,
pub program_offset: u32,
pub constants: Vec<ConstantMapping>,
pub integers: Vec<ScalarMapping>,
pub booleans: Vec<ScalarMapping>,
pub samplers: Vec<SamplerMapping>,
pub runtime: Vec<RuntimeConstant>,
}Expand description
The Aon9 part.
Fields§
§version: u32The version token of word 1: the program’s version at the feature level’s minimum.
program: Vec<u8>The Direct3D 9 program, from its version token to END, for d3d9_reader.
program_offset: u32The program’s offset in the part, in bytes (word 3).
constants: Vec<ConstantMapping>Constant buffer ranges copied into float constant registers.
integers: Vec<ScalarMapping>Constant buffer components copied into int constant registers.
booleans: Vec<ScalarMapping>Constant buffer components copied into bool constant registers.
samplers: Vec<SamplerMapping>Sampler registers and what they stand for.
runtime: Vec<RuntimeConstant>Constant registers the runtime fills.
Trait Implementations§
impl Eq for Level9
impl StructuralPartialEq for Level9
Auto Trait Implementations§
impl Forget for Level9
impl Freeze for Level9
impl RefUnwindSafe for Level9
impl Send for Level9
impl Sync for Level9
impl Unpin for Level9
impl UnsafeUnpin for Level9
impl UnwindSafe for Level9
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more