## sub setMaterialFlag( material_id, material_flag, f_value)

Sets the value of the specified material flag

Possible values for flag:

- MATERIAL_FLAG_WIREFRAME
- MATERIAL_FLAG_POINTCLOUD
- MATERIAL_FLAG_GOURAUD_SHADING
- MATERIAL_FLAG_LIGHTING
- MATERIAL_FLAG_ZBUFFER
- MATERIAL_FLAG_ZWRITE_ENABLE
- MATERIAL_FLAG_BACK_FACE_CULLING
- MATERIAL_FLAG_FRONT_FACE_CULLING
- MATERIAL_FLAG_BILINEAR_FILTER
- MATERIAL_FLAG_TRILINEAR_FILTER
- MATERIAL_FLAG_ANISOTROPIC_FILTER
- MATERIAL_FLAG_FOG_ENABLE
- MATERIAL_FLAG_NORMALIZE_NORMALS
- MATERIAL_FLAG_TEXTURE_WRAP
- MATERIAL_FLAG_ANTI_ALIASING
- MATERIAL_FLAG_COLOR_MASK
- MATERIAL_FLAG_COLOR_MATERIAL
- MATERIAL_FLAG_USE_MIP_MAPS
- MATERIAL_FLAG_BLEND_OPERATION
- MATERIAL_FLAG_POLYGON_OFFSET

Related: GetMaterialFlag GetActorMaterialFlag