ArcObjects Library Reference (Geometry)  

IGeneralMultiPatchInfo.MaterialTextureBytesPerPixel Property

Get Material texture bytes per pixel.

[Visual Basic .NET]
Public Function get_MaterialTextureBytesPerPixel ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int get_MaterialTextureBytesPerPixel (
    int Index
);
[C++]
HRESULT get_MaterialTextureBytesPerPixel(
  long Index,
  long* pBytesPerPixel
);
[C++]

Parameters

Index [in]   Index is a parameter of type long pBytesPerPixel [out, retval]   pBytesPerPixel is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the number of bytes per pixel of the texture associated with the Geometry Material located at the specified index.

Remarks

This property shows how many bands exist in a geometry material.  For a geometry material, the minimum value of this property is 1 and the maximum is 4.  The fourth channel is usually the alpha channel used for material pixel transparency - the 'A' in 'RGBA'.

See Also

IGeneralMultiPatchInfo Interface