Class CustomMeshDataPartByte
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Holds arbitrary byte data for meshes to be used in the shader Open in GitHub
public class CustomMeshDataPartByte : CustomMeshDataPart<byte>- Inheritance
- 
      
      
      CustomMeshDataPartByte
- Inherited Members
- Extension Methods
Constructors
CustomMeshDataPartByte()
Empty Constructor.
public CustomMeshDataPartByte()CustomMeshDataPartByte(int)
Size initialization constructor.
public CustomMeshDataPartByte(int size)Parameters
- sizeint
Fields
Conversion
public DataConversion ConversionField Value
Methods
AddBytes(int)
adds values to the bytes part per four bytes.
public void AddBytes(int fourbytes)Parameters
- fourbytesint
- the integer mask of four separate bytes. 
Clone()
Creates a clone of this collection of data parts.
public CustomMeshDataPartByte Clone()Returns
- CustomMeshDataPartByte
- A clone of this collection of data parts. 
EmptyClone()
public CustomMeshDataPartByte EmptyClone()