Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SparkyPotato/radiance
/ functions
Functions
1,488 in github.com/SparkyPotato/radiance
⨍
Functions
1,488
◇
Types & classes
544
↓ 1 callers
Method
write
(shader: Shader)
crates/rad-graph/src/graph/virtual_resource.rs:109
Method
aabb
(&self)
crates/rad-renderer/src/assets/mesh/virtual_mesh.rs:893
Method
about_to_wait
(&mut self, _: &ActiveEventLoop)
crates/rad-window/src/lib.rs:52
Method
abs
Replaces all colors by their absolute value.
ext/nvtt/nvtt/src/lib.rs:2859
Method
access_qualifier
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:320
Method
add_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
Method
add_read_usage
(res: &mut VirtualResourceData<'a>, pass: u32, usage: BufferUsageOwned<&'a Arena>)
crates/rad-graph/src/graph/virtual_resource.rs:474
Function
add_ref
(this: *mut sys::ISlangUnknown)
ext/slang-rs/src/impls/blob.rs:44
Function
add_ref
(this: *mut sys::ISlangUnknown)
ext/slang-rs/src/impls/file_system.rs:44
Method
add_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/camera.rs:61
Method
add_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/light.rs:69
Method
add_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/rt_scene.rs:73
Method
add_to_world
(world: &mut World, tick: &mut Tick)
crates/rad-renderer/src/scene/virtual_scene.rs:72
Method
additional_operands
(&self)
ext/rspirv/rspirv/dr/autogen_operand.rs:3452
Method
addressing_model
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:147
Method
adjust_memblock_size
(size: u64, kind: &str)
ext/gpu-allocator/src/lib.rs:368
Method
after_pass
(pass: u32)
crates/rad-graph/src/graph/compile.rs:714
Method
all_inst_iter
Returns a iterator over all instructions.
ext/rspirv/rspirv/dr/constructs.rs:159
Method
all_inst_iter_mut
Returns a mut iterator over all instructions.
ext/rspirv/rspirv/dr/constructs.rs:176
Method
allocate
( &mut self, size: u64, _alignment: u64, _allocation_type: AllocationType,
ext/gpu-allocator/src/allocator/dedicated_block_allocator/mod.rs:35
Method
allocate
( &mut self, size: u64, alignment: u64, allocation_type: AllocationType,
ext/gpu-allocator/src/allocator/free_list_allocator/mod.rs:158
Method
allocate_block
(size: usize)
crates/rad-graph/src/arena.rs:167
Function
allocate_over_size
()
crates/rad-graph/src/arena.rs:324
Method
allocated
(&self)
ext/gpu-allocator/src/allocator/dedicated_block_allocator/mod.rs:126
Method
allow_glsl_syntax
(mut self, allow_glsl_syntax: bool)
ext/slang-rs/src/lib.rs:563
Method
alpha_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
Method
alpha_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
Function
append_non_unique
()
ext/rspirv/rspirv/sr/storage.rs:104
Function
append_unique
()
ext/rspirv/rspirv/sr/storage.rs:113
Function
assemble_str_helper
(s: &str)
ext/rspirv/rspirv/binary/assemble.rs:182
Method
asset
(&mut self)
crates/rad-core/src/lib.rs:72
Method
asset_view
(&mut self)
crates/rad-core/src/lib.rs:76
Method
average
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
Method
base_ptr
(&self)
ext/gpu-allocator/src/vulkan/mod.rs:282
Method
base_ptr_mut
(&mut self)
ext/gpu-allocator/src/vulkan/mod.rs:284
Method
before_pass
(pass: u32)
crates/rad-graph/src/graph/compile.rs:712
Method
bin_to_exposure
(bin: f32)
crates/rad-renderer/src/tonemap/exposure.rs:59
Method
binarize
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
Method
bitor
(self, rhs: Self)
crates/rad-graph/src/resource.rs:425
Method
bitor
(self, rhs: Self)
crates/rad-graph/src/sync.rs:142
Method
bitor_assign
(&mut self, rhs: Self)
crates/rad-graph/src/sync.rs:162
Method
blend
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
Method
block_layout
(size: usize)
crates/rad-graph/src/arena.rs:158
Method
block_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
Method
box_resize
Returns the default [`Resize::Box`] filter, with `width = 0.5`.
ext/nvtt/nvtt/src/enums.rs:600
Method
build
(self)
crates/rad-graph/src/device/init.rs:74
Method
build_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
Method
build_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
Method
builder
()
crates/rad-core/src/lib.rs:25
Method
builder
Get a device builder.
crates/rad-graph/src/device/init.rs:631
Method
built_in
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:361
Method
cache
(&self)
crates/rad-core/src/asset/mod.rs:194
Method
can_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
Method
canvas_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
Function
cast_as
(this: *mut sys::ISlangCastable, guid: &sys::SlangUUID)
ext/slang-rs/src/impls/file_system.rs:61
Method
channel_from_gamma
Raises the given channel to the power `gamma`.
ext/nvtt/nvtt/src/lib.rs:2342
Function
channel_mut_cpu_gpu
()
ext/nvtt/nvtt/src/lib.rs:3202
Method
channel_to_gamma
Raises the given channel to the power `1/gamma`.
ext/nvtt/nvtt/src/lib.rs:2356
Method
chunk_id
(&self)
ext/gpu-allocator/src/vulkan/mod.rs:204
Method
clamp
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
Method
clamp01
Alias to `clamped01`, which doesn't take `self`.
ext/vek/src/ops.rs:98
Method
clamp_minus1_1
Alias to `clamped_minus1_1`, which doesn't take `self`.
ext/vek/src/ops.rs:106
Method
clamp_to_inclusive_range
Alias to `clamp`, which accepts a `RangeInclusive` parameter instead of two values.
ext/vek/src/ops.rs:89
Method
clamped_minus1_1
Constrains this value to be between -1 and 1 (inclusive).
ext/vek/src/ops.rs:102
Method
clamped_to_inclusive_range
Alias to `clamped`, which accepts a `RangeInclusive` parameter instead of two values.
ext/vek/src/ops.rs:77
Method
cleanup
(&mut self, device: &ash::Device)
crates/rad-graph/src/device/descriptor.rs:236
Method
clone
(&self)
crates/rad-graph/src/graph/cache.rs:206
Method
color_attachment
()
crates/rad-graph/src/graph/virtual_resource.rs:251
Function
component
(input: TokenStream)
crates/rad-world-derive/src/lib.rs:8
Method
component
(&mut self)
crates/rad-world/src/lib.rs:42
Method
component_dep_type
(&mut self)
crates/rad-world/src/lib.rs:48
Method
component_type
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:595
Method
compress_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
Method
compress_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
Function
compression
()
ext/nvtt/nvtt/src/lib.rs:3296
Method
consume_header
(&mut self, header: dr::ModuleHeader)
ext/rspirv/rspirv/dr/loader.rs:125
Method
consume_instruction
(&mut self, inst: dr::Instruction)
ext/rspirv/rspirv/dr/loader.rs:130
Method
convert
Convert a module from the data representation into structured representation.
ext/rspirv/rspirv/lift/mod.rs:87
Method
convolve
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
Method
convolve_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
Method
cook
(base: &Self::Base)
crates/rad-renderer/src/assets/image.rs:48
Method
cook
(mesh: &Self::Base)
crates/rad-renderer/src/assets/mesh/virtual_mesh.rs:144
Method
cook_asset
(&self, id: AssetId<T::Root>)
crates/rad-core/src/lib.rs:41
Method
cook_asset
(&self, id: AssetId<T::Root>)
crates/rad-core/src/asset/mod.rs:213
Method
cooked_asset
(&mut self)
crates/rad-core/src/lib.rs:74
Method
cooperative_matrix_layout
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:466
Method
cooperative_matrix_operands
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:456
Method
cooperative_matrix_reduce
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:487
Method
cooperative_matrix_use
(&mut self)
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:476
Method
cooperative_vector_matrix_layout
( &mut self, )
ext/rspirv/rspirv/binary/autogen_decode_operand.rs:583
Method
copy
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
Method
copy_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
Method
cosine_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
Method
count_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
Method
count_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
Method
create
(device: &Device, desc: Self::Desc<'_>)
crates/rad-graph/src/resource.rs:175
Method
create_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
Method
create_surface_inner
( entry: &ash::Entry, instance: &ash::Instance, window: RawWindowHandle, display: RawDisplayHandle, )
crates/rad-graph/src/device/init.rs:280
Function
cuda_disabled
()
ext/nvtt/nvtt-sys/src/lib.rs:35
Function
cuda_enabled
()
ext/nvtt/nvtt-sys/src/lib.rs:47
← previous
next →
601–700 of 1,488, ranked by callers