Skip to main content

Crate aphyn

Crate aphyn 

Source

Modules§

close_int_map
exec_on_drop
fps_counter
graph
index_version_collection
mem
morph_vec
same_type
stack_vec
thread_pool
tree
try_default
typed_map
versioned

Macros§

aphyn_entry_point
break_if
break_if_not
continue_if
continue_if_not
return_if
return_if_not
rgb_f32_array
rgb_u8_array
rgba_f32_array
rgba_u8_array
try_default

Structs§

App
AppInitCtx
AppInitCtxFfi
ArchetypeComponentLayout
ArchetypeItemLayout
ArchetypeItemPhysicalLocation
ArchetypeIterator
ArchetypeLayout
ArchetypeRaw
ArchetypeUnsafeFfi
ArchetypeUnsafeFfiIterator
ArchetypeUnsafeFfiIteratorItem
ArchetypeUnsafeRef
ArchetypesHolderFfi
AssetHandle
AssetHandleLinkTransSerializer
AssetInstantiateTransSerializer
AssetStorageResource
AssetsDirResource
AssetsStorageResource
AssumeSend
AudioClip
AudioClipAssetMetadata
AudioClipHandleLoader
AudioClipLoader
AudioSource
AudioState
AudioStateResource
BatchedMeshComponent
BloomRenderFeature
BloomResource
Bvh
ByTypeWorldPartDataUsageBuilder
Camera
CameraComponent
ChildComponent
ChildrenRectMaskComponent
ColliderBvh
ColliderComponent
ColliderEntry
CollisionAabb
CollisionBox
CollisionLayer
CollisionLayerMatrix
CollisionLine
CollisionSphere
CollisionWorldResource
ColorGradingRenderFeature
ColorGradingResource
ComponentPtr
ContactManifold
ContactPoint
CoreEnumDeserializerCtx
CoreListDeserializerCtx
CoreListSerializerCtx
CoreMapDeserializerCtx
CoreMapSerializerCtx
CurrentRenderingResource
DataUsage
DataUsageBuilder
DataUsageDetails
DataUsageDetailsBuilder
DataUsageEntry
DebugNameComponent
DepthTextureResource
DirectAssetSaveTransSerializer
DirectDeserializedAsset
EntitiesHolderMut
EntitiesHolderQuery
EntitiesHolderRef
EntitiesHolderUnsafeFfi
EntitiesInfo
EntitiesMetadata
EntityId
EntityLocation
EntityTransSerializer
EnumDeserializerCtx
EventsHolderMut
EventsHolderNative
EventsHolderRef
EventsHolderUnsafeFfi
Evt
EvtMut
ExampleStruct
ExposureRenderFeature
ExposureResource
FfiAllocator
FfiAny
FfiAnyMut
FfiAnyPtr
FfiAnyRef
FfiArc
FfiBox
FfiBoxVtable
FfiDroppable
FfiExtendedTypeInfo
FfiFnMutMut
FfiFnOnceVec
FfiFnRef
FfiHashMap
FfiIndexMap
FfiIndexMapIntoIter
FfiIndexMapIntoKeysIter
FfiIndexMapIntoValuesIter
FfiIndexMapKeysIter
FfiIndexMapOccupiedEntry
FfiIndexMapPairsIter
FfiIndexMapPairsMutIter
FfiIndexMapVacantEntry
FfiIndexMapValuesIter
FfiIndexMapValuesMutIter
FfiIndexSet
FfiOpaqueMemory
FfiOpaqueMut
FfiOpaqueRef
FfiOpaqueVec
FfiRawVec
FfiRawVecInner
FfiReturnHandle
FfiShortTypeInfo
FfiSliceMut
FfiSliceRef
FfiSmallString
FfiStaticRef
FfiStrSliceMut
FfiStrSliceRef
FfiString
FfiTypedDroppable
FfiTypedMemory
FfiVec
FfiVecDeque
FfiVecIntoIter
Font
GamepadInputStorage
GizmoLine
GizmosFrameResource
GizmosRenderFeature
GizmosResource
GlobalBindingsResource
GlobalDisableableComponent
GlobalRectComponent
GlobalTransform
GlobalsRenderFeature
GpuBindGroupLayoutEntry
GpuBlendComponent
GpuBlendState
GpuBufferMember
GpuIndexBuffer
GpuRenderPass
GpuRenderPassDepth
GpuRenderPassTarget
GpuResourceId
GpuSampler
GpuScissor
GpuShader
GpuShaderDesc
GpuTexture
GpuUniformStorageBuffer
GpuVertexBuffer
GpuVertexBufferLayout
GpuVertexBufferLayoutEntry
GpuViewport
GroupHelper
ImageComponent
InputResource
KeyboardInputStorage
LineBoundType
ListDeserializerCtx
ListSerializerCtx
Local
LocalDisableableComponent
LocalRectComponent
LocalTransform
MapDeserializerCtx
MapSerializerCtx
Mat
Column-major
Material
MaterialComponent
MaterialData
MaterialDataEntry
MaterialGpuData
MaterialHandleLoader
MaterialInput
MaterialLoader
MaterialPassGpu
MaterialRenderFeature
MaterialTemplate
MaterialTemplatePass
MaterialTextureBinding
MaterialUniform
MaterialValueBinding
MeshCollider
MeshComponent
MeshHandleLoader
MeshLoader
MouseInputStorage
OptionReflRepresenter
OrFilter
OrderEntry
OrderGraph
OrderGraphIterator
OrderHelper
ParentComponent
PhysicsColliderRef
PhysicsMaterial
PhysicsMaterialComponent
PhysicsResource
PhysicsWorldResource
Prefab
PrefabHandleLoader
PrefabLoader
PureSerializerCtxState
Quat
QueryIter
QueryIterMut
RayHit
RaycastHit
RectChildAlignComponent
ReflMapStruct
ReflMapStructField
ReflReprEnum
ReflReprStruct
ReflRepresenterCtx
ReflRepresenterRegistry
ReflTyEnum
ReflTyId
ReflTyRegistry
RegistrySpecificTypeId
RenderApi
RenderApiResource
RenderFeatureRegistry
RenderPassCtx
RenderPassEntry
RenderPassWriter
Res
ResMut
ResourcesHolderMut
ResourcesHolderRef
ResourcesHolderUnsafeFfi
RigidbodyComponent
RigidbodyForces
Scene
SceneHandleLoader
SceneLoader
ScreenSpaceResource
SerializedComposite
SerializedEntities
SerializedEntityComponents
SerializedEnumMetadata
SerializedMap
SerializerCtx
SerializersResource
Shader
ShaderAssetMetadata
ShaderLoader
SingleDirectLoadTransSerializer
SingleLoadTransSerializer
StandardGenericLight
StandardGlobalBindings
StandardInstance
StandardInstanceBuffer
StandardMesh
StandardMeshAssetMetadata
StandardSerializer
StandardTexture
StandardTextureAssetMetadata
StandardUiAssetsResource
StandardUniformGlobal
StandardVertex
StoredTypeInfo
SystemCtxFfi
SystemFfi
SystemInput
SystemResourceGetOrInsertResult
SystemResourcesHolder
SystemResourcesHolderMut
SystemResourcesHolderNative
SystemResourcesHolderRef
SystemResourcesHolderUnsafeFfi
SystemsHolderBuilderFfi
SystemsHolderBuilderMut
SystemsHolderBuilderNative
SystemsHolderFfi
SystemsHolderNative
TextComponent
TextInputEvent
TextureHandleLoader
TextureLoader
TimeResource
TransSerializerCtxState
TransSerializerFfi
TransSerializerFfiTypedRef
TransSerializerRegistry
TransitiveLoadTransSerializer
TransparentTargetResource
TypedStorageBuffer
TypedUniformBuffer
TypedUniformBufferLayout
TypedUniformBufferLayoutEntry
TypedVertexBuffer
TypedVertexWriter
TypesRegistryAccessFfi
TypesRegistryCache
UiVal
UniqueComponentsSet
UniqueComponentsSetBuilder
Vec2
Vec3
Vec4
VecReflRepresenter
WgslComposeError
WgslComposer
WindowChangeRequests
WindowIcon
WindowResource
WindowState
WithFilter
WithoutFilter
WorldBehavior
WorldBehaviorBuilder
WorldBehaviorBuilderFfi
WorldBehaviorBuilderMut
WorldBehaviorFfi
WorldData
WorldDataMut
WorldDataRef
WorldDataUnsafeFfi
WorldDataUsage
WorldDataUsageBuilder
WorldPartDataUsageBuilder
WrappedAudioStateHandle

Enums§

AssetType
CameraProjection
ColliderShape
CollisionShape
ColorGradingType
CoordinateSpaceType
CursorGrabState
DirectSerializableAsset
EntityIdDecoder
EntityIdEncoder
FfiIndexMapEntry
FfiOption
FilterMode
FullscreenState
GamepadAxis
Gamepad’s elements which state can be represented by value from -1.0 to 1.0.
GamepadButton
Gamepad’s elements which state can be represented by value from 0.0 to 1.0.
GpuBinding
GpuBindingTy
GpuBlendFactor
GpuBlendOperation
GpuBufferMemberTy
GpuColorWrites
GpuCompareFunction
GpuCullMode
GpuFilterMode
GpuFrontFace
GpuPassOps
GpuPrimitiveTopology
GpuRuntimeTy
GpuTextureFormat
GpuTextureSampleKind
GpuVertexBufferLayoutEntryTy
GpuVertexStepMode
HorizontalAlign
ImageFillSettings
KeyCode
Code representing the location of a physical key
LinearEquationResult
MaterialDataValue
MaterialPassTarget
MaterialTextureFallback
MouseButton
Describes a button of a mouse controller.
OrderEntryType
PtrState
QuadraticEquationResult
ReflMapType
ReflRepr
ReflReprFields
ReflReprPrimitive
ReflTy
ReflTyStruct
RenderSpace
RigidbodyType
RotationOrder3D
Schedule
SerializationError
SerializedCompositeValues
SerializedPrimitive
SerializedValue
StandardLight
StandardLightComponent
StandardTextureFormat
UiDirection
UiSpacing
UiUnit
VerticalAlign
WgslComposeErrorKind
WorldPartDataUsage

Constants§

AUDIO_CHANNELS_COUNT
AUDIO_SAMPLE_RATE
BLUR_LAYERS_COUNT
BUILTIN_TEMPLATE_OPAQUE_LIT
BUILTIN_TEMPLATE_OPAQUE_UNLIT
BUILTIN_TEMPLATE_TRANSPARENT_LIT
BUILTIN_TEMPLATE_TRANSPARENT_UNLIT
BUILTIN_TEMPLATE_UI_OPAQUE_UNLIT
BUILTIN_TEMPLATE_UI_TRANSPARENT_UNLIT
CHUNK_ALIGN
CHUNK_LAYOUT
CHUNK_SIZE
COLLISION_MASK_ALL
DEPTH_TEXTURE_FORMAT
GIZMO_LINES_PER_DRAW_MAX
LIGHTS_COUNT_MAX
RENDER_FEATURE_BLOOM
RENDER_FEATURE_COLOR_GRADING
RENDER_FEATURE_EXPOSURE
RENDER_FEATURE_GIZMOS
RENDER_FEATURE_GLOBALS
RENDER_FEATURE_MATERIAL
RENDER_ORDER_BLOOM
RENDER_ORDER_COLOR_GRADING
RENDER_ORDER_DEPTH_PREPASS
RENDER_ORDER_EXPOSURE
RENDER_ORDER_GIZMOS
RENDER_ORDER_OPAQUE
RENDER_ORDER_POST_PROCESSING
RENDER_ORDER_PREPARE
RENDER_ORDER_SHADOW
RENDER_ORDER_SKYBOX
RENDER_ORDER_TRANSPARENT
RENDER_ORDER_TRANSPARENT_COMPOSITE
RENDER_TARGET_FORMAT
STANDARD_SHADER_WGSL
SYSTEM_GROUP_ASSETS
SYSTEM_GROUP_AUDIO
SYSTEM_GROUP_COLLISION
SYSTEM_GROUP_PHYSICS
SYSTEM_GROUP_RENDER
SYSTEM_GROUP_TRANSFORM
SYSTEM_GROUP_UI
TRANSPARENT_TARGET_FORMAT
ZERO_SIZED_CAP

Traits§

ArchetypeIteratorItem
AssetLoader
Component
ComponentsTuple
Event
GpuRuntimeValue
GpuVertexValue
GpuWritableBuffer
Number
OrFilterArg
Primitive
QueryFilter
ReflRepresenter
ReflectTy
RenderFeature
Resource
Serializable
Serializer
SerializerCtxState
SystemParam
Safety
SystemWithMarker
Safety
TupleFromVecOfAny
TypeCache

Functions§

add
add_asset_module_to
add_assign
add_audio_module_to
add_collision_module_to
add_defult_modules_to
add_physics_module_to
add_render_features_module_to
add_transform_module_to
add_ui_module_to
adjust_component_sets
all
any
app_path
assets_path
cache_path
calculate_global_disableable
calculate_global_rect_pos
calculate_global_rect_scale_children_based
calculate_global_rect_scale_hierarchy_independent
calculate_global_rect_scale_parent_based
calculate_global_transform
calculate_tangent_bitangent
calculate_tangent_handedness_by_orthogonalizing
clear_color_target
collide
create_material_from_template_key
create_ordering_graph
create_standard_ui_assets_resource
create_window_to_clip_matrix
cross
cross_2d
damp
decompose_serialization_path
default_assets_dir
deserialize_component
deserialize_entities_no_deps
deserialize_entity_component_at_path
deserialize_entity_components
destroy_entity_and_children
destroy_entity_children
div
div_assign
div_by
div_by_assign
dot
eq_linear
Solves equation of type ax + b = 0
eq_quadratic
Solves equation of type ax² + bx + c = 0
flatten_ordering
hierarchy_iter_breadth_first_parent_to_child
hierarchy_iter_depth_first
f(optional parent, entity, children, cache, is_moving_to_root) -> entity cache. Called for every entity twice: moving down (cache is the parent’s) and moving to root (cache is the entity’s, result ignored).
hierarchy_iter_depth_first_child_to_parent
f(optional parent, children)
hierarchy_iter_depth_first_parent_to_child
f(optional parent, children, cache) -> cache
init_app_dynamically⚠
init_app_from_library⚠
insert_builtin_render_assets
instantiate_prefab
instantiate_scene
instantiate_serialized_entities
into_matrix4x4_with_pos
inv_lerp
launch_app_dynamically
launch_app_statically
length
length_sq
lerp
lerp_slice
lerp_slice_separately
light_from_components
load_all_assets
load_all_assets_system
load_asset_single
load_asset_single_from_world
load_asset_transitively
load_asset_transitively_from_world
mul
mul_assign
mul_by
mul_by_assign
mut_from_nullable_ptr⚠
mut_into_nullable_ptr
normalize_serialization_path
normalized
orthographic_proj_matrix
overlaps
override_entity_components
parse_color_rgb_f32
parse_color_rgb_u8
parse_color_rgba_f32
parse_color_rgba_u8
perspective_proj_matrix
prepare_gizmos
raycast
record_entity_components
record_into_prefab
record_into_scene
record_serialized_entities
ref_from_nullable_ptr⚠
ref_into_nullable_ptr
register_common_transserializers
register_related_common_transserializers
register_self_and_related_common_transserializers
register_transserializer
registry_use_case
render_wgsl_composer
resample_audio
run_frame_schedules
save_load_with_asset_serializers
save_load_with_asset_serializers_from_world
save_path
serialize_components
serialize_entities_no_deps
serialize_prefab_single_entity
set_common_generic_item_representers_and_self
set_common_generic_representers
set_common_representers
sort_systems_by_order
standard_material_template
standard_shader_desc
step_physics
sub
sub_assign
swizzle
update_collision_world
update_image_batched_mesh
update_masked_batched_mesh
update_parents_add_missing_children
update_parents_remove_invalid_children
update_text_batched_mesh
wgsl_include_paths
write_buffer_elements_with
zip

Type Aliases§

GpuBindGroupLayouts
Mat2
Mat3
Mat4
Triangle
WorldQuery

Derive Macros§

Component
Event
ReflectTy
Resource
Serializable