Struct vulkano_text::DrawText [−][src]
pub struct DrawText { /* fields omitted */ }
Methods
impl DrawText
[src]
impl DrawText
pub fn new<W>(
device: Arc<Device>,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
images: &[Arc<SwapchainImage<W>>]
) -> DrawText where
W: Send + Sync + 'static,
[src]
pub fn new<W>(
device: Arc<Device>,
queue: Arc<Queue>,
swapchain: Arc<Swapchain<W>>,
images: &[Arc<SwapchainImage<W>>]
) -> DrawText where
W: Send + Sync + 'static,
pub fn queue_text(
&mut self,
x: f32,
y: f32,
size: f32,
color: [f32; 4],
text: &str
)
[src]
pub fn queue_text(
&mut self,
x: f32,
y: f32,
size: f32,
color: [f32; 4],
text: &str
)
pub fn draw_text(
&mut self,
command_buffer: AutoCommandBufferBuilder,
image_num: usize
) -> AutoCommandBufferBuilder
[src]
pub fn draw_text(
&mut self,
command_buffer: AutoCommandBufferBuilder,
image_num: usize
) -> AutoCommandBufferBuilder