Struct shaderc::CompilationArtifact [] [src]

pub struct CompilationArtifact { /* fields omitted */ }

An opaque object containing the results of compilation.

Methods

impl CompilationArtifact
[src]

Returns the number of bytes of the compilation output data.

Returns the compilation output data as a binary slice.

Panics

This method will panic if the compilation does not generate a binary output.

Returns the compilation output data as a text string.

Panics

This method will panic if the compilation does not generate a text output.

Returns the number of warnings generated during the compilation.

Returns the detailed warnings as a string.

Trait Implementations

impl Drop for CompilationArtifact
[src]

A method called when the value goes out of scope. Read more