pub struct RenderPlanBuilder { /* private fields */ }Implementations§
Source§impl RenderPlanBuilder
impl RenderPlanBuilder
pub fn texture( &mut self, label: impl Into<Option<String>>, desc: TextureDesc, ) -> TextureId
pub fn texture_for( &mut self, owner: NodeKey, label: impl Into<Option<String>>, desc: TextureDesc, ) -> TextureId
pub fn buffer( &mut self, label: impl Into<Option<String>>, desc: BufferDesc, ) -> BufferId
pub fn buffer_for( &mut self, owner: NodeKey, label: impl Into<Option<String>>, desc: BufferDesc, ) -> BufferId
pub fn sampler( &mut self, label: impl Into<Option<String>>, desc: SamplerDescriptor<'static>, ) -> SamplerId
pub fn program(&mut self, desc: ProgramDesc) -> ProgramId
pub fn program_for(&mut self, owner: NodeKey, desc: ProgramDesc) -> ProgramId
pub fn render_pass(&mut self, desc: RenderPassDesc) -> PassId
pub fn compute_pass(&mut self, desc: ComputePassDesc) -> PassId
pub fn copy_texture(&mut self, desc: CopyTextureDesc) -> PassId
pub fn param(&mut self, key: ParamKey, target: ParamTarget) -> &mut Self
pub fn build(self) -> RenderPlan
Trait Implementations§
Source§impl Debug for RenderPlanBuilder
impl Debug for RenderPlanBuilder
Source§impl Default for RenderPlanBuilder
impl Default for RenderPlanBuilder
Source§fn default() -> RenderPlanBuilder
fn default() -> RenderPlanBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderPlanBuilder
impl RefUnwindSafe for RenderPlanBuilder
impl Send for RenderPlanBuilder
impl Sync for RenderPlanBuilder
impl Unpin for RenderPlanBuilder
impl UnsafeUnpin for RenderPlanBuilder
impl UnwindSafe for RenderPlanBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more