Class IM
- Namespace
- AO
- Assembly
- CoreAssembly.dll
IM (Immediate) is a core engine system to work directly with the rendering system
public static class IM
- Inheritance
-
IM
- Inherited Members
Methods
BUILD_LIT_MASK_SCOPE(MaskScope)
public static AllOut.DeferImpl BUILD_LIT_MASK_SCOPE(IM.MaskScope scope)
Parameters
Returns
BUILD_MASK_SCOPE(MaskScope)
public static AllOut.DeferImpl BUILD_MASK_SCOPE(IM.MaskScope scope)
Parameters
Returns
BuildLitMaskScopeBegin(MaskScope)
public static extern void BuildLitMaskScopeBegin(IM.MaskScope scope)
Parameters
BuildMaskScopeBegin(MaskScope)
public static extern void BuildMaskScopeBegin(IM.MaskScope scope)
Parameters
BuildMaskScopeEnd()
public static extern void BuildMaskScopeEnd()
CreateMaskScope(Rect)
[Obsolete("Use MakeMaskScope(). In the All Out APIs, a Create() function implies a Destroy() function but mask scopes don't need a destroy. This will become an error in proto 40.")]
public static IM.MaskScope CreateMaskScope(Rect rect)
Parameters
rectRect
Returns
CreateMaterial(ShaderAsset)
public static Material CreateMaterial(ShaderAsset shader)
Parameters
shaderShaderAsset
Returns
DestroyMaterial(Material)
public static void DestroyMaterial(Material material)
Parameters
materialMaterial
GetNextSerial()
public static extern int GetNextSerial()
Returns
IsRectVisible(Rect)
public static extern bool IsRectVisible(Rect rect)
Parameters
rectRect
Returns
Line(Vector2, Vector2, float, Vector4, Texture, bool)
public static void Line(Vector2 p1, Vector2 p2, float thickness, Vector4 color, Texture sprite, bool repeating)
Parameters
MakeMaskScope(Rect)
public static extern IM.MaskScope MakeMaskScope(Rect rect)
Parameters
rectRect
Returns
MaskScopeBegin(MaskScope)
public static extern void MaskScopeBegin(IM.MaskScope scope)
Parameters
MaskScopeEnd()
public static extern void MaskScopeEnd()
PUSH_INTERPOLATION_OFFSET(Vector2)
public static AllOut.DeferImpl PUSH_INTERPOLATION_OFFSET(Vector2 offsetFromLastFrame)
Parameters
offsetFromLastFrameVector2
Returns
PUSH_MATERIAL(Material)
public static AllOut.DeferImpl PUSH_MATERIAL(Material material)
Parameters
materialMaterial
Returns
PUSH_Z(float)
public static AllOut.DeferImpl PUSH_Z(float z)
Parameters
zfloat
Returns
PopInterpolationOffset()
public static extern void PopInterpolationOffset()
PopMaterial()
public static extern void PopMaterial()
PopZ()
public static extern void PopZ()
PushInterpolationOffset(Vector2)
public static extern void PushInterpolationOffset(Vector2 offsetFromLastFrame)
Parameters
offsetFromLastFrameVector2
PushMaterial(Material)
public static void PushMaterial(Material material)
Parameters
materialMaterial
PushZ(float)
public static extern void PushZ(float z)
Parameters
zfloat
Quad(QuadData)
public static extern void Quad(IM.QuadData data)
Parameters
Quads(QuadData[])
public static void Quads(IM.QuadData[] data)
Parameters
dataQuadData[]
Quads(QuadData[], int)
public static extern void Quads(IM.QuadData[] data, int count)
Parameters
SetNextSerial(int)
public static extern void SetNextSerial(int serial)
Parameters
serialint
USE_MASK_SCOPE(MaskScope)
public static AllOut.DeferImpl USE_MASK_SCOPE(IM.MaskScope scope)