WebGLSampler class
The interface is part of the WebGL 2 API and stores sampling parameters for WebGLTexture access inside of a shader.
WebGLObject
WebGLSampler
When working with objects, the following methods of the WebGL2RenderingContext are useful:
WebGL2RenderingContext.createSampler()
WebGL2RenderingContext.deleteSampler()
WebGL2RenderingContext.isSampler()
WebGL2RenderingContext.bindSampler()
WebGL2RenderingContext.getSamplerParameter()
- Implemented types
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- WebGLSampler()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited