Struct glsl_include::Context [] [src]

pub struct Context<'a> { /* fields omitted */ }

A Context stores data required to expand source string inputs

Methods

impl<'a> Context<'a>
[src]

[src]

Returns an empty Context

[src]

Associates an #include name with a GLSL source string

[src]

Recursively expands the #include directives within the GLSL source string and returns the expanded source and source map

[src]

Like expand but joins the expanded source with newlines

[src]

Like expand but maps the expanded source to a Vec of &[u8]

Trait Implementations

impl<'a> Debug for Context<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> Default for Context<'a>
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<'a> Send for Context<'a>

impl<'a> Sync for Context<'a>