Lysa  0.0
Lysa 3D Engine
MeshInstanceData Struct Reference

Detailed Description

Mesh instance data in GPU memory

Public Attributes

float4x4 transform
 World transformation matrix. More...
 
float3 aabbMin
 Minimum point of the AABB. More...
 
float3 aabbMax
 Maximum point of the AABB. More...
 
uint32 visible
 Visibility flag (1 if visible, 0 otherwise) More...
 
uint32 castShadows
 Shadow casting flag (1 if casting shadows, 0 otherwise) More...
 
uint32 meshIndex
 Index of the MeshData in the global array of meshes. More...
 

Member Data Documentation

float3 aabbMax

Maximum point of the AABB.

float3 aabbMin

Minimum point of the AABB.

uint32 castShadows

Shadow casting flag (1 if casting shadows, 0 otherwise)

uint32 meshIndex

Index of the MeshData in the global array of meshes.

float4x4 transform

World transformation matrix.

uint32 visible

Visibility flag (1 if visible, 0 otherwise)