Enum cat_engine_basement::graphics::core::shader::ShaderParameter [−][src]
#[repr(u32)] pub enum ShaderParameter { ShaderType, DeleteStatus, CompileStatus, InfoLogLength, ShaderSourceLength, }
Expand description
Specifies a shader object parameter.
Variants
Returns ShaderType::FragmentShader
if shader is a vertex shader object,
ShaderType::GeometryShader
if shader is a geometry shader object,
and ShaderType::FragmentShader
if shader is a fragment shader object.
Returns true
if shader is currently flagged for deletion,
and false
otherwise.
Returns true
if the last compile operation on shader was successful,
and false
otherwise.
Returns the number of characters in the information log for shader including the null termination character (i.e., the size of the character buffer required to store the information log). If shader has no information log, a value of 0 is returned.
Returns the length of the concatenation of the source strings that make up the shader source for the shader, including the null termination character (i.e., the size of the character buffer required to store the shader source). If no source code exists, 0 is returned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShaderParameter
impl Send for ShaderParameter
impl Sync for ShaderParameter
impl Unpin for ShaderParameter
impl UnwindSafe for ShaderParameter
Blanket Implementations
Mutably borrows from an owned value. Read more