pub struct WebGLRSSampler<'ctx> { /* private fields */ }

Implementations§

Deletes this WebGLRSSampler object.

Binds this WebGLRSSampler object to the texture unit at the passed index.

Arguments
  • unit - specifying the index of the texture unit to which to bind the sampler to.

Returns true if this is a valid WebGLRSSampler object.

Returns the texture comparison function for this WebGLRSSampler object.

Sets the texture comparison function for this WebGLRSSampler object.

Returns the texture comparison mode for this WebGLRSSampler object.

Sets the texture comparison mode for this WebGLRSSampler object.

Returns the texture magnification filter for this WebGLRSSampler object.

Sets the texture magnification filter for this WebGLRSSampler object.

Returns the maximum level-of-detail value for this WebGLRSSampler object.

Sets the maximum level-of-detail value for this WebGLRSSampler object.

Returns the texture minification filter for this WebGLRSSampler object

Sets the texture minification filter for this WebGLRSSampler object

Returns the minimum level-of-detail value for this WebGLRSSampler object.

Sets the minimum level-of-detail value for this WebGLRSSampler object.

Returns the texture wrapping function for the texture coordinate r for this WebGLRSSampler object.

Sets the texture wrapping function for the texture coordinate r for this WebGLRSSampler object.

Return the texture wrapping function for the texture coordinate s for this WebGLRSSampler object.

Sets the texture wrapping function for the texture coordinate s for this WebGLRSSampler object.

Returns the texture wrapping function for the texture coordinate t for this WebGLRSSampler object.

Sets the texture wrapping function for the texture coordinate t for this WebGLRSSampler object.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.