[−][src]Struct ugli_webgl::KHR_parallel_shader_compile
Extension
Shader compilation and program linking may be performed in a separate CPU thread. This extension provides a mechanism for the application to provide a hint to limit the number of threads it wants to be used to compile shaders, as well as a query to determine if the compilation process is complete.
Methods
impl KHR_parallel_shader_compile
[src]
pub const COMPLETION_STATUS_KHR: GLenum
[src]
pub const MAX_SHADER_COMPILER_THREADS_KHR: GLenum
[src]
pub fn max_shader_compiler_threads_khr(&self, count: GLuint)
[src]
Trait Implementations
impl AsRef<Reference> for KHR_parallel_shader_compile
[src]
impl Clone for KHR_parallel_shader_compile
[src]
fn clone(&self) -> KHR_parallel_shader_compile
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for KHR_parallel_shader_compile
[src]
impl Extension for KHR_parallel_shader_compile
[src]
impl From<KHR_parallel_shader_compile> for Reference
[src]
fn from(value: KHR_parallel_shader_compile) -> Self
[src]
impl InstanceOf for KHR_parallel_shader_compile
[src]
fn instance_of(_reference: &Reference) -> bool
[src]
impl JsSerialize for KHR_parallel_shader_compile
[src]
impl JsSerializeOwned for KHR_parallel_shader_compile
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl<'_r> JsSerializeOwned for &'_r KHR_parallel_shader_compile
[src]
fn into_js_owned<'_a>(value: &'_a mut Option<Self>) -> SerializedValue<'_a>
[src]
impl ReferenceType for KHR_parallel_shader_compile
[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self
[src]
impl<'_r> TryFrom<&'_r Reference> for KHR_parallel_shader_compile
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>
[src]
impl<'_r> TryFrom<&'_r Value> for KHR_parallel_shader_compile
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>
[src]
impl TryFrom<KHR_parallel_shader_compile> for Reference
[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: KHR_parallel_shader_compile) -> Result<Self, Self::Error>
[src]
impl TryFrom<Reference> for KHR_parallel_shader_compile
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>
[src]
impl TryFrom<Value> for KHR_parallel_shader_compile
[src]
Auto Trait Implementations
impl RefUnwindSafe for KHR_parallel_shader_compile
impl Send for KHR_parallel_shader_compile
impl Sync for KHR_parallel_shader_compile
impl Unpin for KHR_parallel_shader_compile
impl UnwindSafe for KHR_parallel_shader_compile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,