Type Alias spirv_std::image::Image2dUArray
source · pub type Image2dUArray = Image<u32, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }, { _ }>;
Expand description
An array of 2d images, used with a sampler, each containing unsigned integer data.
Aliased Type§
struct Image2dUArray { /* private fields */ }
Implementations§
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
sourcepub fn fetch<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>
) -> SampledType::SampleResultwhere
I: Integer,
pub fn fetch<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED> ) -> SampledType::SampleResultwhere I: Integer,
Fetch a single texel with a sampler set at compile time
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const SAMPLED: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
sourcepub fn gather<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
pub fn gather<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32 ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
sourcepub fn sample<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>
) -> SampledType::SampleResultwhere
F: Float,
pub fn sample<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
sourcepub fn sample_bias<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
bias: f32
) -> SampledType::SampleResultwhere
F: Float,
pub fn sample_bias<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, bias: f32 ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
, after adding the input bias to the
implicit level of detail.
sourcepub fn sample_by_lod<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
lod: f32
) -> SampledType::SampleResultwhere
F: Float,
pub fn sample_by_lod<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, lod: f32 ) -> SampledType::SampleResultwhere F: Float,
Fetch a single texel with a sampler set at compile time Sample the image at a coordinate by a lod
sourcepub fn sample_by_gradient<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
gradient_dx: impl ImageCoordinate<F, DIM, { _ }>,
gradient_dy: impl ImageCoordinate<F, DIM, { _ }>
) -> SampledType::SampleResultwhere
F: Float,
pub fn sample_by_gradient<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, gradient_dx: impl ImageCoordinate<F, DIM, { _ }>, gradient_dy: impl ImageCoordinate<F, DIM, { _ }> ) -> SampledType::SampleResultwhere F: Float,
Sample the image based on a gradient formed by (dx, dy). Specifically, ([du/dx, dv/dx], [du/dy, dv/dy])
sourcepub fn sample_depth_reference<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32 ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
sourcepub fn sample_depth_reference_by_lod<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
lod: f32
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference_by_lod<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, lod: f32 ) -> SampledTypewhere F: Float,
Sample the image’s depth reference based on an explicit lod
sourcepub fn sample_depth_reference_by_gradient<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
gradient_dx: impl ImageCoordinate<F, DIM, { _ }>,
gradient_dy: impl ImageCoordinate<F, DIM, { _ }>
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference_by_gradient<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, gradient_dx: impl ImageCoordinate<F, DIM, { _ }>, gradient_dy: impl ImageCoordinate<F, DIM, { _ }> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference based on a gradient formed by (dx, dy). Specifically, ([du/dx, dv/dx], [du/dy, dv/dy])
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, { _ }, { _ }, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, { _ }, { _ }, SAMPLED, FORMAT, COMPONENTS>
sourcepub fn sample_with_project_coordinate<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>
) -> SampledType::SampleResultwhere
F: Float,
pub fn sample_with_project_coordinate<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
sourcepub fn sample_with_project_coordinate_by_lod<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
lod: f32
) -> SampledType::Vec4where
F: Float,
pub fn sample_with_project_coordinate_by_lod<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, lod: f32 ) -> SampledType::Vec4where F: Float,
Sample the image with a project coordinate by a lod
sourcepub fn sample_with_project_coordinate_by_gradient<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
gradient_dx: impl ImageCoordinate<F, DIM, { _ }>,
gradient_dy: impl ImageCoordinate<F, DIM, { _ }>
) -> SampledType::Vec4where
F: Float,
pub fn sample_with_project_coordinate_by_gradient<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, gradient_dx: impl ImageCoordinate<F, DIM, { _ }>, gradient_dy: impl ImageCoordinate<F, DIM, { _ }> ) -> SampledType::Vec4where F: Float,
Sample the image with a project coordinate based on a gradient formed by (dx, dy). Specifically, ([du/dx, dv/dx], [du/dy, dv/dy])
sourcepub fn sample_depth_reference_with_project_coordinate<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference_with_project_coordinate<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32 ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
sourcepub fn sample_depth_reference_with_project_coordinate_by_lod<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
lod: f32
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference_with_project_coordinate_by_lod<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, lod: f32 ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate based on an explicit lod
sourcepub fn sample_depth_reference_with_project_coordinate_by_gradient<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
gradient_dx: impl ImageCoordinate<F, DIM, { _ }>,
gradient_dy: impl ImageCoordinate<F, DIM, { _ }>
) -> SampledTypewhere
F: Float,
pub fn sample_depth_reference_with_project_coordinate_by_gradient<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, gradient_dx: impl ImageCoordinate<F, DIM, { _ }>, gradient_dy: impl ImageCoordinate<F, DIM, { _ }> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate based on a gradient formed by (dx, dy). Specifically, ([du/dx, dv/dx], [du/dy, dv/dy])
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
sourcepub fn read<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>
) -> SampledType::SampleResultwhere
I: Integer,
pub fn read<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED> ) -> SampledType::SampleResultwhere I: Integer,
Read a texel from an image without a sampler.
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const FORMAT: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
sourcepub fn read<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>
) -> SampledType::SampleResultwhere
I: Integer,
pub fn read<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED> ) -> SampledType::SampleResultwhere I: Integer,
Read a texel from an image without a sampler.
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS>
sourcepub fn read_subpass<I>(
&self,
coordinate: impl ImageCoordinateSubpassData<I, ARRAYED>
) -> SampledType::SampleResultwhere
I: Integer,
pub fn read_subpass<I>( &self, coordinate: impl ImageCoordinateSubpassData<I, ARRAYED> ) -> SampledType::SampleResultwhere I: Integer,
Read a texel from subpass input attachment. Note: Vulkan only allows the read if the first two components of the coordinate are zero.
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
sourcepub fn query_levels(&self) -> u32where
Self: HasQueryLevels,
pub fn query_levels(&self) -> u32where Self: HasQueryLevels,
Query the number of mipmap levels.
sourcepub fn query_lod(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<f32, DIM, { _ }>
) -> SampledType::Vec2where
Self: HasQueryLevels,
pub fn query_lod( &self, sampler: Sampler, coord: impl ImageCoordinate<f32, DIM, { _ }> ) -> SampledType::Vec2where Self: HasQueryLevels,
Query the mipmap level and the level of detail for a hypothetical sampling of Image at Coordinate using an implicit level of detail. The first component of the result contains the mipmap array layer. The second component of the result contains the implicit level of detail relative to the base level.
sourcepub fn query_size<Size: ImageCoordinate<u32, DIM, ARRAYED> + Default>(
&self
) -> Sizewhere
Self: HasQuerySize,
pub fn query_size<Size: ImageCoordinate<u32, DIM, ARRAYED> + Default>( &self ) -> Sizewhere Self: HasQuerySize,
Query the dimensions of Image, with no level of detail.
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, DIM, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
sourcepub fn query_size_lod<Size: ImageCoordinate<u32, DIM, ARRAYED> + Default>(
&self,
lod: u32
) -> Sizewhere
Self: HasQuerySizeLod,
pub fn query_size_lod<Size: ImageCoordinate<u32, DIM, ARRAYED> + Default>( &self, lod: u32 ) -> Sizewhere Self: HasQuerySizeLod,
Query the dimensions of Image, with no level of detail.
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const ARRAYED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DEPTH: u32, const ARRAYED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Image<SampledType, { _ }, DEPTH, ARRAYED, { _ }, SAMPLED, FORMAT, COMPONENTS>
sourcepub fn query_samples(&self) -> u32
pub fn query_samples(&self) -> u32
Query the number of samples available per texel fetch in a multisample image.
Trait Implementations§
source§impl<SampledType: Clone + SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Clone for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: Clone + SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32> Clone for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, L, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<NoneTy, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, NoneTy, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, NoneTy, SomeTy<S>> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, G> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate
source§fn fetch_with<I>(
&self,
coordinate: impl ImageCoordinate<I, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy>
) -> SampledType::SampleResultwhere
I: Integer,
fn fetch_with<I>( &self, coordinate: impl ImageCoordinate<I, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, NoneTy> ) -> SampledType::SampleResultwhere I: Integer,
source§impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
impl<SampledType: SampleType<FORMAT, COMPONENTS>, const DIM: u32, const DEPTH: u32, const ARRAYED: u32, const MULTISAMPLED: u32, const SAMPLED: u32, const FORMAT: u32, const COMPONENTS: u32, B, L, G, S> ImageWithMethods<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS, SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>> for Image<SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT, COMPONENTS>
source§fn gather_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
component: u32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::Vec4where
Self: HasGather,
F: Float,
fn gather_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, component: u32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::Vec4where Self: HasGather, F: Float,
Gathers the requested component from four texels.
source§fn sample_with<F>(
&self,
sampler: Sampler,
coord: impl ImageCoordinate<F, DIM, ARRAYED>,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with<F>( &self, sampler: Sampler, coord: impl ImageCoordinate<F, DIM, ARRAYED>, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample texels at coord
from the image using sampler
.
source§fn sample_depth_reference_with<F>(
&self,
sampler: Sampler,
coordinate: impl ImageCoordinate<F, DIM, ARRAYED>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with<F>( &self, sampler: Sampler, coordinate: impl ImageCoordinate<F, DIM, ARRAYED>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference
source§fn sample_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledType::SampleResultwhere
F: Float,
fn sample_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledType::SampleResultwhere F: Float,
Sample the image with a project coordinate
source§fn sample_depth_reference_with_project_coordinate_with<F>(
&self,
sampler: Sampler,
project_coordinate: impl ImageCoordinate<F, DIM, { _ }>,
depth_reference: f32,
params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>>
) -> SampledTypewhere
F: Float,
fn sample_depth_reference_with_project_coordinate_with<F>( &self, sampler: Sampler, project_coordinate: impl ImageCoordinate<F, DIM, { _ }>, depth_reference: f32, params: SampleParams<SomeTy<B>, SomeTy<L>, SomeTy<(G, G)>, SomeTy<S>> ) -> SampledTypewhere F: Float,
Sample the image’s depth reference with the project coordinate