Trait luminance::backend::pipeline::PipelineTexture [−][src]
pub unsafe trait PipelineTexture<D, P>: PipelineBase + Texture<D, P> where
D: Dimensionable,
P: Pixel, { type BoundTextureRepr; unsafe fn bind_texture(
pipeline: &Self::PipelineRepr,
texture: &Self::TextureRepr
) -> Result<Self::BoundTextureRepr, PipelineError>
where
D: Dimensionable,
P: Pixel; unsafe fn texture_binding(bound: &Self::BoundTextureRepr) -> u32; }
Associated Types
Required methods
unsafe fn bind_texture(
pipeline: &Self::PipelineRepr,
texture: &Self::TextureRepr
) -> Result<Self::BoundTextureRepr, PipelineError> where
D: Dimensionable,
P: Pixel,
unsafe fn texture_binding(bound: &Self::BoundTextureRepr) -> u32