pub struct Viewport3D {
    pub color_texture: Texture,
    pub measured_size: Vec2,
    /* private fields */
}

Fields

color_texture: Texturemeasured_size: Vec2

Implementations

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.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.