Implemented camera surface setting for KrUpdateNode and KrCreateNode APIs.
Cameras now render only on their assigned surface.
This commit is contained in:
@@ -241,7 +241,7 @@ typedef struct
|
||||
struct
|
||||
{
|
||||
// KR_STRUCTURE_TYPE_NODE_CAMERA
|
||||
KrSurfaceMapIndex surface;
|
||||
KrSurfaceMapIndex surfaceHandle;
|
||||
KrResourceMapIndex skybox_texture;
|
||||
} camera;
|
||||
struct
|
||||
|
||||
Reference in New Issue
Block a user