Lysa  0.0
Lysa 3D Engine
MemoryBlock Struct Reference

Detailed Description

Description of allocated GPU memory block

Public Attributes

uint32 instanceIndex {0}
 Index of first instance. More...
 
size_t offset {0}
 Offset from the start of the array in bytes. More...
 
size_t size {0}
 Size in bytes. More...
 

Friends

bool operator== (const MemoryBlock &first, const MemoryBlock &second)
 

Friends And Related Function Documentation

bool operator== ( const MemoryBlock &  first,
const MemoryBlock &  second 
)
friend

Member Data Documentation

uint32 instanceIndex {0}

Index of first instance.

size_t offset {0}

Offset from the start of the array in bytes.

size_t size {0}

Size in bytes.