[−][src]Macro dxplr::d3d11_input_element_descs
Helper macro for a d3d11::InputElementDesc
Examples
use dxplr::d3d11_input_element_descs; let descs = d3d11_input_element_descs![ {"POSITION", 0, dxplr::dxgi::Format::R32G32B32Float, 0, 0, dxplr::d3d11::InputClassification::PerVertexData, 0}, {"COLOR", 0, dxplr::dxgi::Format::R32G32B32A32Float, 0, dxplr::d3d11::APPEND_ALIGNED_ELEMENT, dxplr::d3d11::InputClassification::PerVertexData, 0} ];