Table of Contents

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

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

DataConversion

Methods

AddBytes(int)

adds values to the bytes part per four bytes.

public void AddBytes(int fourbytes)

Parameters

fourbytes int

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()

Returns

CustomMeshDataPartByte