Fix material parameters enum (#2814)

* Fix material parameters enum

Fixes bug #2812

* Add  missing sampler type to filamat
This commit is contained in:
Romain Guy
2020-07-14 09:29:20 -07:00
committed by GitHub
parent a2e5cacee0
commit 4c81bb0158
2 changed files with 4 additions and 1 deletions

View File

@@ -69,6 +69,7 @@ public class MaterialBuilder {
SAMPLER_2D_ARRAY, // 2D array texture
SAMPLER_CUBEMAP, // Cube map texture
SAMPLER_EXTERNAL, // External texture
SAMPLER_3D // 3D texture
}
public enum SamplerFormat {

View File

@@ -230,8 +230,10 @@ public class Material {
MAT3,
MAT4,
SAMPLER_2D,
SAMPLER_2D_ARRAY,
SAMPLER_CUBEMAP,
SAMPLER_EXTERNAL
SAMPLER_EXTERNAL,
SAMPLER_3D
}
public enum Precision {