MCPcopy Create free account

hub / github.com/SparkyPotato/radiance / functions

Functions1,488 in github.com/SparkyPotato/radiance

↓ 1 callersMethodwrite
(shader: Shader)
crates/rad-graph/src/graph/virtual_resource.rs:109
Methodaabb
(&self)
crates/rad-renderer/src/assets/mesh/virtual_mesh.rs:893
Methodabout_to_wait
(&mut self, _: &ActiveEventLoop)
crates/rad-window/src/lib.rs:52
Methodabs
Replaces all colors by their absolute value.
ext/nvtt/nvtt/src/lib.rs:2859
Methodaccess_qualifier
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:320
Methodadd_channel
Add `src_channel` from `other` multiplied by `scale` to `dst_channel` of this surface. If channels are not the same length, this returns [`SurfaceErro
ext/nvtt/nvtt/src/lib.rs:1713
Methodadd_read_usage
(res: &mut VirtualResourceData<'a>, pass: u32, usage: BufferUsageOwned<&'a Arena>)
crates/rad-graph/src/graph/virtual_resource.rs:474
Functionadd_ref
(this: *mut sys::ISlangUnknown)
ext/slang-rs/src/impls/blob.rs:44
Functionadd_ref
(this: *mut sys::ISlangUnknown)
ext/slang-rs/src/impls/file_system.rs:44
Methodadd_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/camera.rs:61
Methodadd_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/light.rs:69
Methodadd_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/rt_scene.rs:73
Methodadd_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/virtual_scene.rs:72
Methodadditional_operands
(&self)
ext/rspirv/rspirv/dr/autogen_operand.rs:3452
Methodaddressing_model
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:147
Methodadjust_memblock_size
(size: u64, kind: &str)
ext/gpu-allocator/src/lib.rs:368
Methodafter_pass
(pass: u32)
crates/rad-graph/src/graph/compile.rs:714
Methodall_inst_iter
Returns a iterator over all instructions.
ext/rspirv/rspirv/dr/constructs.rs:159
Methodall_inst_iter_mut
Returns a mut iterator over all instructions.
ext/rspirv/rspirv/dr/constructs.rs:176
Methodallocate
( &mut self, size: u64, _alignment: u64, _allocation_type: AllocationType,
ext/gpu-allocator/src/allocator/dedicated_block_allocator/mod.rs:35
Methodallocate
( &mut self, size: u64, alignment: u64, allocation_type: AllocationType,
ext/gpu-allocator/src/allocator/free_list_allocator/mod.rs:158
Methodallocate_block
(size: usize)
crates/rad-graph/src/arena.rs:167
Functionallocate_over_size
()
crates/rad-graph/src/arena.rs:324
Methodallocated
(&self)
ext/gpu-allocator/src/allocator/dedicated_block_allocator/mod.rs:126
Methodallow_glsl_syntax
(mut self, allow_glsl_syntax: bool)
ext/slang-rs/src/lib.rs:563
Methodalpha_mode
Returns the [`AlphaMode`] of this surface. This is for output headers, e.g. for usage in [`Context::output_header`]. It does not affect calculations.
ext/nvtt/nvtt/src/lib.rs:1628
Methodalpha_test_coverage
Returns the approximate fraction (0 to 1) of the image with an alpha value greater than `alpha_ref`. This function uses 8 x 8 subsampling together wi
ext/nvtt/nvtt/src/lib.rs:2665
Functionappend_non_unique
()
ext/rspirv/rspirv/sr/storage.rs:104
Functionappend_unique
()
ext/rspirv/rspirv/sr/storage.rs:113
Functionassemble_str_helper
(s: &str)
ext/rspirv/rspirv/binary/assemble.rs:182
Methodasset
(&mut self)
crates/rad-core/src/lib.rs:72
Methodasset_view
(&mut self)
crates/rad-core/src/lib.rs:76
Methodaverage
Computes an average value for the given channel over the entire sphere. This takes solid angles into account when producing an average per steradian,
ext/nvtt/nvtt/src/lib.rs:712
Methodbase_ptr
(&self)
ext/gpu-allocator/src/vulkan/mod.rs:282
Methodbase_ptr_mut
(&mut self)
ext/gpu-allocator/src/vulkan/mod.rs:284
Methodbefore_pass
(pass: u32)
crates/rad-graph/src/graph/compile.rs:712
Methodbin_to_exposure
(bin: f32)
crates/rad-renderer/src/tonemap/exposure.rs:59
Methodbinarize
Sets values in the given channel to either 1 or 0 depending on if they're greater than the `threshold`, with optional `dithering`. If dither is true,
ext/nvtt/nvtt/src/lib.rs:2952
Methodbitor
(self, rhs: Self)
crates/rad-graph/src/resource.rs:425
Methodbitor
(self, rhs: Self)
crates/rad-graph/src/sync.rs:142
Methodbitor_assign
(&mut self, rhs: Self)
crates/rad-graph/src/sync.rs:162
Methodblend
Interpolates all texels between their current color and a constant color `(r, g, b, a)`. `t` is the value used for linearly interpolating between the
ext/nvtt/nvtt/src/lib.rs:2881
Methodblock_layout
(size: usize)
crates/rad-graph/src/arena.rs:158
Methodblock_scale_cocg
Stores per-block YCoCg scaling information for potentially better 4-channel compression of YCoCg data. For each 4x4 block, this computes the maximum
ext/nvtt/nvtt/src/lib.rs:2556
Methodbox_resize
Returns the default [`Resize::Box`] filter, with `width = 0.5`.
ext/nvtt/nvtt/src/enums.rs:600
Methodbuild
(self)
crates/rad-graph/src/device/init.rs:74
Methodbuild_next_mipmap
Resizes this surface to create the next mip in a mipmap chain. Returns false iff the next mip would have been smaller than `min_size` (signaling the
ext/nvtt/nvtt/src/lib.rs:1917
Methodbuild_next_mipmap_color
Replaces this surface with a surface the size of the next mip in a mip chain (half the width and height), but with each channel cleared to a constant
ext/nvtt/nvtt/src/lib.rs:1962
Methodbuilder
()
crates/rad-core/src/lib.rs:25
Methodbuilder
Get a device builder.
crates/rad-graph/src/device/init.rs:631
Methodbuilt_in
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:361
Methodcache
(&self)
crates/rad-core/src/asset/mod.rs:194
Methodcan_make_next_mipmap
Returns whether the surface would have a next mip in a mip chain with minimum size `min_size`. That is, it returns false if this surface has size `1x
ext/nvtt/nvtt/src/lib.rs:1878
Methodcanvas_resize
Crops or expands this surface from the `(0, 0, 0)` corner, with any new values cleared to 0. # Panics Panics if any of `w`, `h`, or `d` are `0`. #
ext/nvtt/nvtt/src/lib.rs:2198
Functioncast_as
(this: *mut sys::ISlangCastable, guid: &sys::SlangUUID)
ext/slang-rs/src/impls/file_system.rs:61
Methodchannel_from_gamma
Raises the given channel to the power `gamma`.
ext/nvtt/nvtt/src/lib.rs:2342
Functionchannel_mut_cpu_gpu
()
ext/nvtt/nvtt/src/lib.rs:3202
Methodchannel_to_gamma
Raises the given channel to the power `1/gamma`.
ext/nvtt/nvtt/src/lib.rs:2356
Methodchunk_id
(&self)
ext/gpu-allocator/src/vulkan/mod.rs:204
Methodclamp
Alias to `clamped`, which doesn't take `self`. # Panics Panics if `lower` is greater than `upper`. Swap the values yourself if necessary.
ext/vek/src/ops.rs:85
Methodclamp01
Alias to `clamped01`, which doesn't take `self`.
ext/vek/src/ops.rs:98
Methodclamp_minus1_1
Alias to `clamped_minus1_1`, which doesn't take `self`.
ext/vek/src/ops.rs:106
Methodclamp_to_inclusive_range
Alias to `clamp`, which accepts a `RangeInclusive` parameter instead of two values.
ext/vek/src/ops.rs:89
Methodclamped_minus1_1
Constrains this value to be between -1 and 1 (inclusive).
ext/vek/src/ops.rs:102
Methodclamped_to_inclusive_range
Alias to `clamped`, which accepts a `RangeInclusive` parameter instead of two values.
ext/vek/src/ops.rs:77
Methodcleanup
(&mut self, device: &ash::Device)
crates/rad-graph/src/device/descriptor.rs:236
Methodclone
(&self)
crates/rad-graph/src/graph/cache.rs:206
Methodcolor_attachment
()
crates/rad-graph/src/graph/virtual_resource.rs:251
Functioncomponent
(input: TokenStream)
crates/rad-world-derive/src/lib.rs:8
Methodcomponent
(&mut self)
crates/rad-world/src/lib.rs:42
Methodcomponent_dep_type
(&mut self)
crates/rad-world/src/lib.rs:48
Methodcomponent_type
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:595
Methodcompress_cube
Compress the [`CubeSurface`] and write the compressed data to a `Vec<u8>`. Returns `Some(Vec<u8>)` on success.
ext/nvtt/nvtt/src/lib.rs:451
Methodcompress_data
Compress and write data to a `Vec<u8>`. Returns `Some(Vec<u8>)` on success. # Panics Panics if `w * h * d < rgba.len()`.
ext/nvtt/nvtt/src/lib.rs:479
Functioncompression
()
ext/nvtt/nvtt/src/lib.rs:3296
Methodconsume_header
(&mut self, header: dr::ModuleHeader)
ext/rspirv/rspirv/dr/loader.rs:125
Methodconsume_instruction
(&mut self, inst: dr::Instruction)
ext/rspirv/rspirv/dr/loader.rs:130
Methodconvert
Convert a module from the data representation into structured representation.
ext/rspirv/rspirv/lift/mod.rs:87
Methodconvolve
Similar to [`Surface::convolve_slice()`], this convolves a channel with a kernel. Values should be specified in row-major order.
ext/nvtt/nvtt/src/lib.rs:2925
Methodconvolve_slice
Convolves a channel with a kernel. This uses a 2D `dim x dim` kernel, with values in `kernel` specified in row-major order. The behavior around image
ext/nvtt/nvtt/src/lib.rs:2899
Methodcook
(base: &Self::Base)
crates/rad-renderer/src/assets/image.rs:48
Methodcook
(mesh: &Self::Base)
crates/rad-renderer/src/assets/mesh/virtual_mesh.rs:144
Methodcook_asset
(&self, id: AssetId<T::Root>)
crates/rad-core/src/lib.rs:41
Methodcook_asset
(&self, id: AssetId<T::Root>)
crates/rad-core/src/asset/mod.rs:213
Methodcooked_asset
(&mut self)
crates/rad-core/src/lib.rs:74
Methodcooperative_matrix_layout
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:466
Methodcooperative_matrix_operands
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:456
Methodcooperative_matrix_reduce
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:487
Methodcooperative_matrix_use
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:476
Methodcooperative_vector_matrix_layout
( &mut self, )
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:583
Methodcopy
Copies the bounding box `src` of `other` to the bounding box `dst` of this surface. # Panics Panics if `src` and `dst` are not the same shape, or on
ext/nvtt/nvtt/src/lib.rs:1760
Methodcopy_channel
Copy `src_channel` from `other` to `dst_channel` of this surface. If channels are not the same length, this returns [`SurfaceError::InvalidDimensions`
ext/nvtt/nvtt/src/lib.rs:1685
Methodcosine_power_filter
Spherically convolves this [`CubeSurface`] with a `max(0.0f, cos(theta))^cosinePower` kernel, returning a [`CubeSurface`] with faces with dimension `s
ext/nvtt/nvtt/src/lib.rs:761
Methodcount_mipmaps
Returns the number of mips that would be in a full mipmap chain starting with this [`CubeSurface`] For instance, a full mip chain for a cube map with
ext/nvtt/nvtt/src/lib.rs:702
Methodcount_mipmaps_until
Returns the number of mipmaps in a mipmap chain, stopping when [`Surface::can_make_next_mipmap()`] returns false. That is, it stops when a `1x1x1` mi
ext/nvtt/nvtt/src/lib.rs:1870
Methodcreate
(device: &Device, desc: Self::Desc<'_>)
crates/rad-graph/src/resource.rs:175
Methodcreate_sub_image
Creates a sub image from the subset `bounds` of this surface. # Panics Panics if this surface does not contain `bounds`.
ext/nvtt/nvtt/src/lib.rs:1800
Methodcreate_surface_inner
( entry: &ash::Entry, instance: &ash::Instance, window: RawWindowHandle, display: RawDisplayHandle, )
crates/rad-graph/src/device/init.rs:280
Functioncuda_disabled
()
ext/nvtt/nvtt-sys/src/lib.rs:35
Functioncuda_enabled
()
ext/nvtt/nvtt-sys/src/lib.rs:47
← previousnext →601–700 of 1,488, ranked by callers