Struct shaderc::CompilationArtifact
source · [−]pub struct CompilationArtifact { /* private fields */ }
Expand description
An opaque object containing the results of compilation.
Implementations
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.