beastapi/beasttargetentity.h Source File

beasttargetentity.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 
8 
17 #ifndef BEASTTARGETENTITY_H
18 #define BEASTTARGETENTITY_H
19 
20 #include "beastapitypes.h"
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24 
28 typedef enum {
33 
39 
40 
49  ILB_DLL_FUNCTION ILBStatus ILBSetBakeUVSet(ILBTargetEntityHandle target,
50  ILBConstString uvName);
51 
52 
63  ILB_DLL_FUNCTION ILBStatus ILBSetUVTransform(ILBTargetEntityHandle target,
64  const ILBVec2* offset,
65  const ILBVec2* scale);
66 
79  ILB_DLL_FUNCTION ILBStatus ILBSetBakeResolution(ILBTargetEntityHandle target,
80  int32 width,
81  int32 height);
82 
93  ILB_DLL_FUNCTION ILBStatus ILBSetTexelScale(ILBTargetEntityHandle target,
94  float scale);
95 
102  ILBTargetEntityType type);
103 
118  int32* framebufferIndex,
119  ILBVec2* offset,
120  ILBVec2* scale);
121 
135  ILBRenderPassHandle pass,
136  int channel,
137  float* minValue,
138  float* maxValue);
139 
140 
147  ILB_DLL_FUNCTION ILBStatus ILBGetTargetEntityType(ILBTargetEntityHandle entity,
148  ILBTargetEntityType* type);
149 
158  int32* width,
159  int32* height);
160 
168  ILBStringHandle* name);
169 
170 #ifdef __cplusplus
171 } // extern "C"
172 #endif // __cplusplus
173 
174 
175 #endif // BEASTTARGETENTITY_H
This header is the base for getting platform consistent types for the Beast API.
const ILBCharType * ILBConstString
Beast api const string type.
Definition: beastapitypes.h:245
Two dimensional geometric vector type.
Definition: beastapitypes.h:290
ILBStatus ILBChangeTargetEntityType(ILBTargetEntityHandle entity, ILBTargetEntityType type)
Changes the type of a target entity when running an Live Ernst job.
ILBStatus ILBGetTargetEntityType(ILBTargetEntityHandle entity, ILBTargetEntityType *type)
Returns the type of baking selected in an Ernst session.
ILBStatus ILBSetUVTransform(ILBTargetEntityHandle target, const ILBVec2 *offset, const ILBVec2 *scale)
Sets the a uv transform for a bake shape.
ILBTargetEntityType
Describes what kind of baking a target entity is using.
Definition: beasttargetentity.h:28
ILBStatus ILBSetBakeResolution(ILBTargetEntityHandle target, int32 width, int32 height)
Sets the requested resolution for the target entity.
ILBStatus ILBSetBakeUVSet(ILBTargetEntityHandle target, ILBConstString uvName)
Sets the uv set to use when baking the target entity.
Handle for Beast render pass Intentionally hidden implementation.
Definition: beastapitypes.h:501
ILBStatus ILBGetNormalizationData(ILBTargetEntityHandle entity, ILBRenderPassHandle pass, int channel, float *minValue, float *maxValue)
Returns the minimum/maximum value in the selected entity.
ILBStatus ILBGetTargetEntityInstance(ILBTargetEntityHandle entity, ILBStringHandle *name)
Returns the name of the instance of a target entity.
Vertex baking.
Definition: beasttargetentity.h:37
Handle for Beast target entities Intentionally hidden implementation.
Definition: beastapitypes.h:493
ILBStatus ILBGetTargetEntityResolution(ILBTargetEntityHandle entity, int32 *width, int32 *height)
Returns the bake resolution selected in an Ernst session.
ILBStatus ILBGetAtlasInformation(ILBTargetEntityHandle te, int32 *framebufferIndex, ILBVec2 *offset, ILBVec2 *scale)
Gets the atlas information for a target entity Only valid on Atlas texture target entities and textur...
ILBStatus
Status codes for Beast API calls.
Definition: beastapitypes.h:153
ILBStatus ILBSetTexelScale(ILBTargetEntityHandle target, float scale)
Sets the relationship between world space coordinates and texels for an atlased target instance...
Texture baking.
Definition: beasttargetentity.h:32
Handle for Beast strings Intentionally hidden implementation.
Definition: beastapitypes.h:471