Expand description
§anari_sys
Raw Rust bindings to the ANARI frontend library (https://github.com/KhronosGroup/ANARI-SDK), a 3D rendering engine interface API.
§Bindings
This library includes a pre-generated bindings.rs file. New bindings can be generated using the bindgen feature:
cargo build --features bindgen§Example
# with the libanari_library_helide dynamic library findable (e.g. in LD_LIBRARY_PATH on linux)
cargo run --example info helide§Licence
anari_sys is licensed under the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.
Structs§
Constants§
- ANARI_
ARRAY - ANARI_
ARRA Y1D - ANARI_
ARRA Y2D - ANARI_
ARRA Y3D - ANARI_
BOOL - ANARI_
CAMERA - ANARI_
DATA_ TYPE - ANARI_
DATA_ TYPE_ LIST - ANARI_
DEVICE - ANARI_
FIXE D8 - ANARI_
FIXE D8_ VEC2 - ANARI_
FIXE D8_ VEC3 - ANARI_
FIXE D8_ VEC4 - ANARI_
FIXE D16 - ANARI_
FIXE D32 - ANARI_
FIXE D64 - ANARI_
FIXE D16_ VEC2 - ANARI_
FIXE D16_ VEC3 - ANARI_
FIXE D16_ VEC4 - ANARI_
FIXE D32_ VEC2 - ANARI_
FIXE D32_ VEC3 - ANARI_
FIXE D32_ VEC4 - ANARI_
FIXE D64_ VEC2 - ANARI_
FIXE D64_ VEC3 - ANARI_
FIXE D64_ VEC4 - ANARI_
FLOA T16 - ANARI_
FLOA T32 - ANARI_
FLOA T64 - ANARI_
FLOA T16_ VEC2 - ANARI_
FLOA T16_ VEC3 - ANARI_
FLOA T16_ VEC4 - ANARI_
FLOA T32_ BOX1 - ANARI_
FLOA T32_ BOX2 - ANARI_
FLOA T32_ BOX3 - ANARI_
FLOA T32_ BOX4 - ANARI_
FLOA T32_ MAT2 - ANARI_
FLOA T32_ MAT3 - ANARI_
FLOA T32_ MAT4 - ANARI_
FLOA T32_ MAT2x3 - ANARI_
FLOA T32_ MAT3x4 - ANARI_
FLOA T32_ QUAT_ IJKW - ANARI_
FLOA T32_ VEC2 - ANARI_
FLOA T32_ VEC3 - ANARI_
FLOA T32_ VEC4 - ANARI_
FLOA T64_ BOX1 - ANARI_
FLOA T64_ BOX2 - ANARI_
FLOA T64_ BOX3 - ANARI_
FLOA T64_ BOX4 - ANARI_
FLOA T64_ VEC2 - ANARI_
FLOA T64_ VEC3 - ANARI_
FLOA T64_ VEC4 - ANARI_
FRAME - ANARI_
FRAME_ COMPLETION_ CALLBACK - ANARI_
FUNCTION_ POINTER - ANARI_
GEOMETRY - ANARI_
GROUP - ANARI_
INSTANCE - ANARI_
INT8 - ANARI_
INT8_ VEC2 - ANARI_
INT8_ VEC3 - ANARI_
INT8_ VEC4 - ANARI_
INT16 - ANARI_
INT32 - ANARI_
INT64 - ANARI_
INT16_ VEC2 - ANARI_
INT16_ VEC3 - ANARI_
INT16_ VEC4 - ANARI_
INT32_ BOX1 - ANARI_
INT32_ BOX2 - ANARI_
INT32_ BOX3 - ANARI_
INT32_ BOX4 - ANARI_
INT32_ VEC2 - ANARI_
INT32_ VEC3 - ANARI_
INT32_ VEC4 - ANARI_
INT64_ VEC2 - ANARI_
INT64_ VEC3 - ANARI_
INT64_ VEC4 - ANARI_
INVALID_ HANDLE - ANARI_
LIBRARY - ANARI_
LIGHT - ANARI_
LOG_ DEBUG - ANARI_
LOG_ ERROR - ANARI_
LOG_ INFO - ANARI_
LOG_ NONE - ANARI_
LOG_ WARNING - ANARI_
MATERIAL - ANARI_
MEMORY_ DELETER - ANARI_
NO_ WAIT - ANARI_
OBJECT - ANARI_
PARAMETER_ LIST - ANARI_
RENDERER - ANARI_
SAMPLER - ANARI_
SDK_ VERSION_ MAJOR - ANARI_
SDK_ VERSION_ MINOR - ANARI_
SDK_ VERSION_ PATCH - ANARI_
SEVERITY_ DEBUG - ANARI_
SEVERITY_ ERROR - ANARI_
SEVERITY_ FATAL_ ERROR - ANARI_
SEVERITY_ INFO - ANARI_
SEVERITY_ PERFORMANCE_ WARNING - ANARI_
SEVERITY_ WARNING - ANARI_
SPATIAL_ FIELD - ANARI_
STATUS_ CALLBACK - ANARI_
STATUS_ INVALID_ ARGUMENT - ANARI_
STATUS_ INVALID_ OPERATION - ANARI_
STATUS_ NO_ ERROR - ANARI_
STATUS_ OUT_ OF_ MEMORY - ANARI_
STATUS_ UNKNOWN_ ERROR - ANARI_
STATUS_ UNSUPPORTED_ DEVICE - ANARI_
STATUS_ VERSION_ MISMATCH - ANARI_
STRING - ANARI_
STRING_ LIST - ANARI_
SURFACE - ANARI_
UFIXE D8 - ANARI_
UFIXE D8_ RA_ SRGB - ANARI_
UFIXE D8_ RGBA_ SRGB - ANARI_
UFIXE D8_ RGB_ SRGB - ANARI_
UFIXE D8_ R_ SRGB - ANARI_
UFIXE D8_ VEC2 - ANARI_
UFIXE D8_ VEC3 - ANARI_
UFIXE D8_ VEC4 - ANARI_
UFIXE D16 - ANARI_
UFIXE D32 - ANARI_
UFIXE D64 - ANARI_
UFIXE D16_ VEC2 - ANARI_
UFIXE D16_ VEC3 - ANARI_
UFIXE D16_ VEC4 - ANARI_
UFIXE D32_ VEC2 - ANARI_
UFIXE D32_ VEC3 - ANARI_
UFIXE D32_ VEC4 - ANARI_
UFIXE D64_ VEC2 - ANARI_
UFIXE D64_ VEC3 - ANARI_
UFIXE D64_ VEC4 - ANARI_
UINT8 - ANARI_
UINT8_ VEC2 - ANARI_
UINT8_ VEC3 - ANARI_
UINT8_ VEC4 - ANARI_
UINT16 - ANARI_
UINT32 - ANARI_
UINT64 - ANARI_
UINT16_ VEC2 - ANARI_
UINT16_ VEC3 - ANARI_
UINT16_ VEC4 - ANARI_
UINT32_ VEC2 - ANARI_
UINT32_ VEC3 - ANARI_
UINT32_ VEC4 - ANARI_
UINT64_ REGIO N1 - ANARI_
UINT64_ REGIO N2 - ANARI_
UINT64_ REGIO N3 - ANARI_
UINT64_ REGIO N4 - ANARI_
UINT64_ VEC2 - ANARI_
UINT64_ VEC3 - ANARI_
UINT64_ VEC4 - ANARI_
UNKNOWN - ANARI_
VOID_ POINTER - ANARI_
VOLUME - ANARI_
WAIT - ANARI_
WORLD
Statics§
Functions§
- anari
Commit ⚠Parameters - anari
Device ⚠GetProc Address - anari
Discard ⚠Frame - anari
Frame ⚠Ready - anari
GetDevice ⚠Extension Struct - anari
GetDevice ⚠Extensions - anari
GetDevice ⚠Subtypes - anari
GetInstance ⚠Extension Struct - anari
GetObject ⚠Extension Struct - anari
GetObject ⚠Info - anari
GetObject ⚠Subtypes - anari
GetParameter ⚠Info - anari
GetProperty ⚠ - anari
Load ⚠Library - anari
Load ⚠Module - anari
MapArray ⚠ - anari
MapFrame ⚠ - anari
MapParameter ⚠Array1D - anari
MapParameter ⚠Array2D - anari
MapParameter ⚠Array3D - anari
NewArray1D ⚠ - anari
NewArray2D ⚠ - anari
NewArray3D ⚠ - anari
NewCamera ⚠ - anari
NewDevice ⚠ - anari
NewFrame ⚠ - anari
NewGeometry ⚠ - anari
NewGroup ⚠ - anari
NewInitialized ⚠Device - anari
NewInstance ⚠ - anari
NewLight ⚠ - anari
NewMaterial ⚠ - anari
NewObject ⚠ - anari
NewRenderer ⚠ - anari
NewSampler ⚠ - anari
NewSpatial ⚠Field - anari
NewSurface ⚠ - anari
NewVolume ⚠ - anari
NewWorld ⚠ - anari
Release ⚠ - anari
Render ⚠Frame - anari
Retain ⚠ - anari
SetParameter ⚠ - anari
Unload ⚠Library - anari
Unload ⚠Module - anari
Unmap ⚠Array - anari
Unmap ⚠Frame - anari
Unmap ⚠Parameter Array - anari
Unset ⚠AllParameters - anari
Unset ⚠Parameter
Type Aliases§
- ANARI
Array - ANARI
Array1D - ANARI
Array2D - ANARI
Array3D - ANARI
Camera - ANARI
Data Type - ANARI
Device - ANARI
Frame - ANARI
Frame Completion Callback - ANARI
Future - ANARI
Geometry - ANARI
Group - ANARI
Instance - ANARI
Library - ANARI
Light - ANARI
LogLevel - ANARI
Material - ANARI
Memory Deleter - ANARI
Object - ANARI
Renderer - ANARI
Sampler - ANARI
Spatial Field - ANARI
Status Callback - ANARI
Status Code - ANARI
Status Severity - ANARI
Surface - ANARI
Volume - ANARI
Wait Mask - ANARI
World - ANARI_
EXT_ debug_ interface - PFNANARIINSERTSTATUSMESSAGE
- PFNANARINAMEOBJECT