#[derive(RenderDoc)]
{
// Attributes available to this derive:
#[renderdoc_convert]
}
Expand description
Generates API boilerplate for the renderdoc crate.
§Details
This macro expects a tuple struct of the form:
ⓘ
use renderdoc::Version;
struct Foo<T: Version>(Entry, PhantomData<T>);Given the data structure above, this macro generates the following implementations:
Fromconversions downgrading a newer API to a compatible older API.- Implementations of the
RenderDocV###trait for eachFoo<V###>.