Link between a NumberFlow diagram and materials.
More...
Link between a NumberFlow diagram and materials.
void CatlikeCoding.NumberFlow.DiagramMaterialLink.AllocateTextures |
( |
| ) |
|
Create the texture objects but do not fill them yet.
void CatlikeCoding.NumberFlow.DiagramMaterialLink.ApplyTextures |
( |
Color |
buffers[][] | ) |
|
Apply the pixel buffers to all textures.
- Parameters
-
void CatlikeCoding.NumberFlow.DiagramMaterialLink.AssignCubemapFaces |
( |
Color |
buffers[][] | ) |
|
Assigns color buffer data to cubemap faces.
- Parameters
-
void CatlikeCoding.NumberFlow.DiagramMaterialLink.AssignTexturesToMaterials |
( |
| ) |
|
Assign all textures to all materials.
bool CatlikeCoding.NumberFlow.DiagramMaterialLink.FillRows |
( |
Color |
buffers[][], |
|
|
ref int |
rowIndex, |
|
|
int |
rowCount |
|
) |
| |
Fill the specified rows of all textures. Return whether the last row was filled.
- Returns
- Whether filling is done.
- Parameters
-
buffers | Pixel buffers. |
rowIndex | Row index to start from. |
rowCount | How many rows to fill. |
void CatlikeCoding.NumberFlow.DiagramMaterialLink.InitBuffers |
( |
ref Color |
buffers[][] | ) |
|
Initialize the buffers.
- Parameters
-
void CatlikeCoding.NumberFlow.DiagramMaterialLink.OnDestroy |
( |
| ) |
|
void CatlikeCoding.NumberFlow.DiagramMaterialLink.PostProcess |
( |
Color |
buffers[][] | ) |
|
Post process the buffers for all textures.
- Parameters
-
void CatlikeCoding.NumberFlow.DiagramMaterialLink.Process |
( |
ref Color |
buffers[][] | ) |
|
Initialize the buffers, fill and postprocess the textures.
- Parameters
-
CubemapFace CatlikeCoding.NumberFlow.DiagramMaterialLink.currentDirection |
Current cubemap direction.
Diagram CatlikeCoding.NumberFlow.DiagramMaterialLink.diagram |
Material [] CatlikeCoding.NumberFlow.DiagramMaterialLink.materials |
Materials whose textures should be generated by the diagram.
Texture [] CatlikeCoding.NumberFlow.DiagramMaterialLink.textures |
Settings for the generated textures.
bool CatlikeCoding.NumberFlow.DiagramMaterialLink.HasAssignedTextures |
|
get |
Get whether the link currently has generated textures assigned to its materials.