Class CustomMeshDataPartByte
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
Holds arbitrary byte data for meshes to be used in the shader
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
size
int
Fields
Conversion
public DataConversion Conversion
Field Value
Methods
AddBytes(int)
adds values to the bytes part per four bytes.
public void AddBytes(int fourbytes)
Parameters
fourbytes
intthe 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()