Enum webgl_rs::glenum::RenderbufferParameter
source · pub enum RenderbufferParameter {
Width,
Height,
GreenSize,
BlueSize,
RedSize,
AlphaSize,
DepthSize,
StencilSize,
Samples,
Format,
}
Expand description
Constants passed to WebGLRenderingContext.getRenderbufferParameter()
Variants§
Width
Returns a GLint indicating the width of the image of the currently bound renderbuffer.
Height
Returns a GLint indicating the height of the image of the currently bound renderbuffer.
GreenSize
Returns a GLint that is the resolution size (in bits) for the green color.
BlueSize
Returns a GLint that is the resolution size (in bits) for the blue color.
RedSize
Returns a GLint that is the resolution size (in bits) for the red color.
AlphaSize
Returns a GLint that is the resolution size (in bits) for the alpha component.
DepthSize
Returns a GLint that is the resolution size (in bits) for the depth component.
StencilSize
Returns a GLint that is the resolution size (in bits) for the stencil component.
Samples
Returns a GLint indicating the number of samples of the image of the currently bound renderbuffer.
Format
Trait Implementations§
source§impl Clone for RenderbufferParameter
impl Clone for RenderbufferParameter
source§fn clone(&self) -> RenderbufferParameter
fn clone(&self) -> RenderbufferParameter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderbufferParameter
impl Debug for RenderbufferParameter
source§impl FromWasmAbi for RenderbufferParameter
impl FromWasmAbi for RenderbufferParameter
source§impl IntoWasmAbi for RenderbufferParameter
impl IntoWasmAbi for RenderbufferParameter
impl Copy for RenderbufferParameter
Auto Trait Implementations§
impl RefUnwindSafe for RenderbufferParameter
impl Send for RenderbufferParameter
impl Sync for RenderbufferParameter
impl Unpin for RenderbufferParameter
impl UnwindSafe for RenderbufferParameter
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more