Docs.rs
grafix-toolbox-0.8.31
grafix-toolbox 0.8.31
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
installgentoo
Dependencies
bincode ^1
normal
optional
bitflags ^2
normal
fastrand ^2
normal
optional
futures-lite ^2
normal
gl ^0.14
normal
glfw ^0.58
normal
half ^2
normal
image ^0.25
normal
nalgebra ^0.33
normal
notify ^7
normal
optional
rusttype ^0.9
normal
optional
serde ^1
normal
optional
serde_json ^1
normal
optional
tobj ^4
normal
optional
tokio ^1
normal
yansi ^1
normal
zstd ^0.13
normal
optional
Versions
2.01%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
grafix_
toolbox
0.8.31
Sampler
Aliased Type
Fields
obj
Methods
Parameter
linear
pooled
Trait Implementations
From<S>
In grafix_
toolbox::
GL
grafix_toolbox
::
GL
Type Alias
Sampler
Copy item path
Source
pub type Sampler =
Object
<
SamplObj
>;
Aliased Type
§
struct Sampler { pub obj:
u32
,
/* private fields */
}
Fields
§
§
obj:
u32
Implementations
§
Source
§
impl
Sampler
Source
pub fn
pooled
(id:
u32
, args: &[(
GLenum
,
GLenum
)]) ->
Rc
<Self>
Source
pub fn
linear
() ->
Rc
<Self>
Source
§
impl
Sampler
Source
pub fn
Parameter
(&mut self, name:
GLenum
, args: impl SamplerArg)
Trait Implementations
§
Source
§
impl<S:
AsRef
<[(
GLenum
,
GLenum
)]>>
From
<S> for
Sampler
Source
§
fn
from
(args: S) -> Self
Converts to this type from the input type.