beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

GetMaterialId Op



GetMaterialId
Namespace: Ops.Graphics

Op author: pandur

Test Patches: 1 Test

get the id/index of the current set material


this can be a value in a render2textures target



Inputs

Update (Trigger)

Outputs

Next (Trigger)
Material Id (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

render2textures/materialid


Patches using GetMaterialId

  • Examples (1)
  • Public
  • My Patches

Changelog


created op
2023-02-06 - pandur
renameOps.User.pandur.GerMaterialId renamed to Ops.Dev.GetMaterialId
2023-02-06 - pandur
renameOps.Dev.GetMaterialId renamed to Ops.Graphics.GetMaterialId
2023-06-20 - pandur