This repository was archived by the owner on May 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +24
-5
lines changed Expand file tree Collapse file tree 4 files changed +24
-5
lines changed Original file line number Diff line number Diff line change
1
+ ## Remix API Changelog
2
+
3
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
4
+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
5
+
6
+ ## [ 0.4.2]
7
+
8
+ ### Added
9
+ - MaterialInfoOpaqueEXT.displaceOut
10
+
11
+ ### Changed
12
+ - renamed MaterialInfoOpaqueEXT.heightTextureStrength to MaterialInfoOpaqueEXT.displaceIn
13
+
14
+ ### Fixed
15
+
16
+ ### Removed
Original file line number Diff line number Diff line change @@ -275,13 +275,14 @@ namespace remix {
275
275
thinFilmThickness_value = 200 .f ;
276
276
alphaIsThinFilmThickness = false ;
277
277
heightTexture = {};
278
- heightTextureStrength = 0 .0f ;
278
+ displaceIn = 0 .0f ;
279
279
useDrawCallAlphaState = true ;
280
280
blendType_hasvalue = false ;
281
281
blendType_value = 0 ;
282
282
invertedBlend = false ;
283
283
alphaTestType = 7 ;
284
284
alphaReferenceValue = 0 ;
285
+ displaceOut = 0 .0f ;
285
286
static_assert (sizeof remixapi_MaterialInfoOpaqueEXT == 112 );
286
287
}
287
288
Original file line number Diff line number Diff line change 54
54
55
55
#define REMIXAPI_VERSION_MAJOR 0
56
56
#define REMIXAPI_VERSION_MINOR 4
57
- #define REMIXAPI_VERSION_PATCH 1
57
+ #define REMIXAPI_VERSION_PATCH 2
58
58
59
59
60
60
// External
@@ -196,14 +196,15 @@ extern "C" {
196
196
float thinFilmThickness_value ;
197
197
remixapi_Bool alphaIsThinFilmThickness ;
198
198
remixapi_Path heightTexture ;
199
- float heightTextureStrength ;
199
+ float displaceIn ;
200
200
// If true, InstanceInfoBlendEXT is used as a source for alpha state
201
201
remixapi_Bool useDrawCallAlphaState ;
202
202
remixapi_Bool blendType_hasvalue ;
203
203
int blendType_value ;
204
204
remixapi_Bool invertedBlend ;
205
205
int alphaTestType ;
206
206
uint8_t alphaReferenceValue ;
207
+ float displaceOut ;
207
208
} remixapi_MaterialInfoOpaqueEXT ;
208
209
209
210
// Valid only if remixapi_MaterialInfo contains remixapi_MaterialInfoOpaqueEXT in pNext chain
Original file line number Diff line number Diff line change @@ -221,13 +221,14 @@ void MaterialInfo::_dtor() {
221
221
thinFilmThickness_value, \
222
222
alphaIsThinFilmThickness, \
223
223
heightTexture, \
224
- heightTextureStrength , \
224
+ displaceIn , \
225
225
useDrawCallAlphaState, \
226
226
blendType_hasvalue, \
227
227
blendType_value, \
228
228
invertedBlend, \
229
229
alphaTestType, \
230
- alphaReferenceValue
230
+ alphaReferenceValue, \
231
+ displaceOut
231
232
uint32_t MaterialInfoOpaque::_calcSize () const {
232
233
return fold_helper::calcSize (MaterialInfoOpaqueVars);
233
234
}
You can’t perform that action at this time.
0 commit comments