Skip to main content

texture

Function texture 

Source
pub fn texture(obj: &ObjectRef) -> Result<Texture, Class>
Expand description

A texture’s object read (4.4 step 2): the checked read, then the class UnityPy builds (a Texture2D lacking a field of no default, or with a field it cannot be given, is an UnknownObject; one that shadows set_object_reader fails its read), then the shape.