Struct VBIB.OnDiskBufferData ​
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
Represents buffer data stored on disk.
csharp
public struct VBIB.OnDiskBufferDataFields ​
Data ​
Raw buffer data.
csharp
public byte[] DataField Value ​
byte[]
ElementCount ​
Number of elements in the buffer.
csharp
public uint ElementCountField Value ​
ElementSizeInBytes ​
Size of each element in bytes. For vertex buffers, this is the stride. For index buffers, this is the type size.
csharp
public uint ElementSizeInBytesField Value ​
InputLayoutFields ​
Input layout fields describing vertex attributes. Empty for index buffers.
csharp
public VBIB.RenderInputLayoutField[] InputLayoutFieldsField Value ​
Properties ​
TotalSizeInBytes ​
Total size of the buffer in bytes.
csharp
public readonly uint TotalSizeInBytes { get; }
