Struct zaplib_components::Viewport3D
source · [−]pub struct Viewport3D {
pub color_texture: Texture,
pub measured_size: Vec2,
/* private fields */
}Fields
color_texture: Texturemeasured_size: Vec2Implementations
TODO(JP): This is kind of exploiting a potential bug in the framework.. We don’t clean up Passes,
so if we just don’t call Pass::begin_pass then it will happily keep on rendering. Is this a bug
or a feature? I’m not sure.. See Pass::begin_pass for more thoughts.