1
1
/*
2
- * Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved.
2
+ * Copyright (c) 2023-2025 , NVIDIA CORPORATION. All rights reserved.
3
3
*
4
4
* Permission is hereby granted, free of charge, to any person obtaining a
5
5
* copy of this software and associated documentation files (the "Software"),
53
53
#define REMIXAPI_VERSION_GET_PATCH (version ) (((uint64_t)(version) ) & (uint64_t)0xFFFF)
54
54
55
55
#define REMIXAPI_VERSION_MAJOR 0
56
- #define REMIXAPI_VERSION_MINOR 4
57
- #define REMIXAPI_VERSION_PATCH 2
56
+ #define REMIXAPI_VERSION_MINOR 6
57
+ #define REMIXAPI_VERSION_PATCH 1
58
58
59
59
60
60
// External
@@ -218,6 +218,11 @@ extern "C" {
218
218
float subsurfaceMeasurementDistance ;
219
219
remixapi_Float3D subsurfaceSingleScatteringAlbedo ;
220
220
float subsurfaceVolumetricAnisotropy ;
221
+ remixapi_Bool subsurfaceDiffusionProfile ;
222
+ remixapi_Float3D subsurfaceRadius ;
223
+ float subsurfaceRadiusScale ;
224
+ float subsurfaceMaxSampleRadius ;
225
+ remixapi_Path subsurfaceRadiusTexture ;
221
226
} remixapi_MaterialInfoOpaqueSubsurfaceEXT ;
222
227
223
228
typedef struct remixapi_MaterialInfoTranslucentEXT {
@@ -395,20 +400,21 @@ extern "C" {
395
400
REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_ANTI_CULLING = 1 << 5 ,
396
401
REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_MOTION_BLUR = 1 << 6 ,
397
402
REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_OPACITY_MICROMAP = 1 << 7 ,
398
- REMIXAPI_INSTANCE_CATEGORY_BIT_HIDDEN = 1 << 8 ,
399
- REMIXAPI_INSTANCE_CATEGORY_BIT_PARTICLE = 1 << 9 ,
400
- REMIXAPI_INSTANCE_CATEGORY_BIT_BEAM = 1 << 10 ,
401
- REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_STATIC = 1 << 11 ,
402
- REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_DYNAMIC = 1 << 12 ,
403
- REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_SINGLE_OFFSET = 1 << 13 ,
404
- REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_NO_OFFSET = 1 << 14 ,
405
- REMIXAPI_INSTANCE_CATEGORY_BIT_ALPHA_BLEND_TO_CUTOUT = 1 << 15 ,
406
- REMIXAPI_INSTANCE_CATEGORY_BIT_TERRAIN = 1 << 16 ,
407
- REMIXAPI_INSTANCE_CATEGORY_BIT_ANIMATED_WATER = 1 << 17 ,
408
- REMIXAPI_INSTANCE_CATEGORY_BIT_THIRD_PERSON_PLAYER_MODEL = 1 << 18 ,
409
- REMIXAPI_INSTANCE_CATEGORY_BIT_THIRD_PERSON_PLAYER_BODY = 1 << 19 ,
410
- REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_BAKED_LIGHTING = 1 << 20 ,
411
- REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_ALPHA_CHANNEL = 1 << 21 ,
403
+ REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_ALPHA_CHANNEL = 1 << 8 ,
404
+ REMIXAPI_INSTANCE_CATEGORY_BIT_HIDDEN = 1 << 9 ,
405
+ REMIXAPI_INSTANCE_CATEGORY_BIT_PARTICLE = 1 << 10 ,
406
+ REMIXAPI_INSTANCE_CATEGORY_BIT_BEAM = 1 << 11 ,
407
+ REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_STATIC = 1 << 12 ,
408
+ REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_DYNAMIC = 1 << 13 ,
409
+ REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_SINGLE_OFFSET = 1 << 14 ,
410
+ REMIXAPI_INSTANCE_CATEGORY_BIT_DECAL_NO_OFFSET = 1 << 15 ,
411
+ REMIXAPI_INSTANCE_CATEGORY_BIT_ALPHA_BLEND_TO_CUTOUT = 1 << 16 ,
412
+ REMIXAPI_INSTANCE_CATEGORY_BIT_TERRAIN = 1 << 17 ,
413
+ REMIXAPI_INSTANCE_CATEGORY_BIT_ANIMATED_WATER = 1 << 18 ,
414
+ REMIXAPI_INSTANCE_CATEGORY_BIT_THIRD_PERSON_PLAYER_MODEL = 1 << 19 ,
415
+ REMIXAPI_INSTANCE_CATEGORY_BIT_THIRD_PERSON_PLAYER_BODY = 1 << 20 ,
416
+ REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_BAKED_LIGHTING = 1 << 21 ,
417
+ REMIXAPI_INSTANCE_CATEGORY_BIT_IGNORE_TRANSPARENCY_LAYER = 1 << 22 ,
412
418
} remixapi_InstanceCategoryBit ;
413
419
414
420
typedef uint32_t remixapi_InstanceCategoryFlags ;
@@ -442,6 +448,7 @@ extern "C" {
442
448
float radius ;
443
449
remixapi_Bool shaping_hasvalue ;
444
450
remixapi_LightInfoLightShaping shaping_value ;
451
+ float volumetricRadianceScale ;
445
452
} remixapi_LightInfoSphereEXT ;
446
453
447
454
typedef struct remixapi_LightInfoRectEXT {
@@ -459,6 +466,7 @@ extern "C" {
459
466
remixapi_Float3D direction ;
460
467
remixapi_Bool shaping_hasvalue ;
461
468
remixapi_LightInfoLightShaping shaping_value ;
469
+ float volumetricRadianceScale ;
462
470
} remixapi_LightInfoRectEXT ;
463
471
464
472
typedef struct remixapi_LightInfoDiskEXT {
@@ -476,6 +484,7 @@ extern "C" {
476
484
remixapi_Float3D direction ;
477
485
remixapi_Bool shaping_hasvalue ;
478
486
remixapi_LightInfoLightShaping shaping_value ;
487
+ float volumetricRadianceScale ;
479
488
} remixapi_LightInfoDiskEXT ;
480
489
481
490
typedef struct remixapi_LightInfoCylinderEXT {
@@ -486,6 +495,7 @@ extern "C" {
486
495
// The "center" axis of the Cylinder Light. Must be normalized.
487
496
remixapi_Float3D axis ;
488
497
float axisLength ;
498
+ float volumetricRadianceScale ;
489
499
} remixapi_LightInfoCylinderEXT ;
490
500
491
501
typedef struct remixapi_LightInfoDistantEXT {
@@ -494,6 +504,7 @@ extern "C" {
494
504
// The direction the Distant Light is pointing in. Must be normalized.
495
505
remixapi_Float3D direction ;
496
506
float angularDiameterDegrees ;
507
+ float volumetricRadianceScale ;
497
508
} remixapi_LightInfoDistantEXT ;
498
509
499
510
typedef struct remixapi_LightInfoDomeEXT {
@@ -512,19 +523,20 @@ extern "C" {
512
523
void * pNext ;
513
524
remixapi_StructType lightType ;
514
525
remixapi_Transform transform ;
515
- const float * pRadius ; // "radius"
516
- const float * pWidth ; // "width"
517
- const float * pHeight ; // "height"
518
- const float * pLength ; // "length"
519
- const float * pAngleRadians ; // "angle"
520
- const remixapi_Bool * pEnableColorTemp ; // "enableColorTemperature"
521
- const remixapi_Float3D * pColor ; // "color"
522
- const float * pColorTemp ; // "colorTemperature"
523
- const float * pExposure ; // "exposure"
524
- const float * pIntensity ; // "intensity"
525
- const float * pConeAngleRadians ; // "shaping:cone:angle"
526
- const float * pConeSoftness ; // "shaping:cone:softness"
527
- const float * pFocus ; // "shaping:focus"
526
+ const float * pRadius ; // "radius"
527
+ const float * pWidth ; // "width"
528
+ const float * pHeight ; // "height"
529
+ const float * pLength ; // "length"
530
+ const float * pAngleRadians ; // "angle"
531
+ const remixapi_Bool * pEnableColorTemp ; // "enableColorTemperature"
532
+ const remixapi_Float3D * pColor ; // "color"
533
+ const float * pColorTemp ; // "colorTemperature"
534
+ const float * pExposure ; // "exposure"
535
+ const float * pIntensity ; // "intensity"
536
+ const float * pConeAngleRadians ; // "shaping:cone:angle"
537
+ const float * pConeSoftness ; // "shaping:cone:softness"
538
+ const float * pFocus ; // "shaping:focus"
539
+ const float * pVolumetricRadianceScale ; // "volumetric_radiance_scale"
528
540
} remixapi_LightInfoUSDEXT ;
529
541
530
542
typedef struct remixapi_LightInfo {
@@ -550,6 +562,14 @@ extern "C" {
550
562
const char * key ,
551
563
const char * value );
552
564
565
+ typedef remixapi_ErrorCode (REMIXAPI_PTR * PFN_remixapi_AddTextureHash )(
566
+ const char * textureCategory ,
567
+ const char * textureHash );
568
+
569
+ typedef remixapi_ErrorCode (REMIXAPI_PTR * PFN_remixapi_RemoveTextureHash )(
570
+ const char * textureCategory ,
571
+ const char * textureHash );
572
+
553
573
typedef struct remixapi_PresentInfo {
554
574
remixapi_StructType sType ;
555
575
void * pNext ;
@@ -630,6 +650,8 @@ extern "C" {
630
650
PFN_remixapi_DestroyLight DestroyLight ;
631
651
PFN_remixapi_DrawLightInstance DrawLightInstance ;
632
652
PFN_remixapi_SetConfigVariable SetConfigVariable ;
653
+ PFN_remixapi_AddTextureHash AddTextureHash ;
654
+ PFN_remixapi_RemoveTextureHash RemoveTextureHash ;
633
655
634
656
// DXVK interoperability
635
657
PFN_remixapi_dxvk_CreateD3D9 dxvk_CreateD3D9 ;
0 commit comments