beastapi/beastuvlayer.h Source File

beastuvlayer.h
Go to the documentation of this file.
1 /*
2 Copyright 2014 Autodesk, Inc. All rights reserved.
3 Use of this software is subject to the terms of the Autodesk license agreement
4 provided at the time of installation or download, or which otherwise
5 accompanies this software in either electronic or hard copy form.
6 */
7 
11 #ifndef BEASTUVLAYER_H
12 #define BEASTUVLAYER_H
13 
14 #include "beastapitypes.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif // __cplusplus
19 
26 ILB_DLL_FUNCTION ILBStatus ILBGetUVLayerSize(ILBUVLayerHandle uvLayer, int32* size);
27 
36 ILB_DLL_FUNCTION ILBStatus ILBReadUVLayerValues(ILBUVLayerHandle uvLayer, int32 start, int32 count, ILBVec2* uvs);
37 
45 ILB_DLL_FUNCTION ILBStatus ILBGetUVLayerIndexSize(ILBUVLayerHandle uvLayer, int32* size);
46 
58 ILB_DLL_FUNCTION ILBStatus ILBReadUVLayerIndexValues(ILBUVLayerHandle uvLayer, int32 start, int32 count, int32* uvIndex);
59 
66 ILB_DLL_FUNCTION ILBStatus ILBDestroyUVLayer(ILBUVLayerHandle uvLayer);
67 
68 #ifdef __cplusplus
69 }
70 #endif // __cplusplus
71 
72 
73 #endif // BEASTUVLAYER_H
This header is the base for getting platform consistent types for the Beast API.
ILBStatus ILBGetUVLayerSize(ILBUVLayerHandle uvLayer, int32 *size)
Gets the number of uv values in the layer.
Two dimensional geometric vector type.
Definition: beastapitypes.h:290
ILBStatus ILBDestroyUVLayer(ILBUVLayerHandle uvLayer)
Destroys and frees all memory related to the uv layer.
Handle for Beast uv layers Intentionally hidden implementation.
Definition: beastapitypes.h:528
ILBStatus ILBReadUVLayerIndexValues(ILBUVLayerHandle uvLayer, int32 start, int32 count, int32 *uvIndex)
Reads uv index values from the uv layer The index values are use to assign uvs to the mesh the uv lay...
ILBStatus ILBReadUVLayerValues(ILBUVLayerHandle uvLayer, int32 start, int32 count, ILBVec2 *uvs)
Reads a number of uv values from the uv layer.
ILBStatus ILBGetUVLayerIndexSize(ILBUVLayerHandle uvLayer, int32 *size)
Gets the number of uv index values in the layer.
ILBStatus
Status codes for Beast API calls.
Definition: beastapitypes.h:153