Property | Type | Description | |
---|---|---|---|
_scene | Scene |
Method | Description | |
---|---|---|
ApplyGhostMaterial ( |
||
ApplyMaterial ( |
Applies a material to the Gl state machine. Depending on the renderer, this either sets GLSL shaders (GL3) or it configures the fixed function pipeline (legacy/classic).
|
|
BeginScene ( open3mod.Renderer renderer ) : void | ||
Dispose ( ) : void | ||
EndScene ( open3mod.Renderer renderer ) : void | ||
IsAlphaMaterial ( Assimp.Material material ) : bool |
Check if a given assimp material requires alpha-blending for rendering
|
|
UploadTextures ( Assimp.Material material ) : bool |
Uploads all the textures required for a given material to VRAM (i.e. create the corresponding Gl objects). Textures that have been uploaded before are not attempted again.
|
Method | Description | |
---|---|---|
MaterialMapper ( Scene scene ) : System |
Method | Description | |
---|---|---|
IsTransparent ( float f ) : bool |
public abstract ApplyGhostMaterial ( |
||
mesh | ||
material | Assimp.Material | |
shaded | bool | |
return | void |
public abstract ApplyMaterial ( |
||
mesh | Mesh to be drawn. This parameter may be left null /// to use a material with geometry other than assimp meshes (i.e. /// for the material preview tab). In this case, it is assumed that /// the geometry to be used with the materials specifies normals, /// one set of UV coordinates but no vertex colors. /// TODO tangents, bitangents? /// | |
mat | Assimp.Material | Material to be applied, must be non-null |
textured | bool | |
shaded | bool | |
return | void |
public abstract BeginScene ( open3mod.Renderer renderer ) : void | ||
renderer | open3mod.Renderer | |
return | void |
public abstract EndScene ( open3mod.Renderer renderer ) : void | ||
renderer | open3mod.Renderer | |
return | void |
public IsAlphaMaterial ( Assimp.Material material ) : bool | ||
material | Assimp.Material | |
return | bool |
protected MaterialMapper ( Scene scene ) : System | ||
scene | Scene | |
return | System |
public UploadTextures ( Assimp.Material material ) : bool | ||
material | Assimp.Material | |
return | bool |