Alpha Engine
|
AEGraphics.h
Go to the documentation of this file.
1013 AE_API void AEGfxBox (f32 x0, f32 y0, f32 z0, f32 sizeX, f32 sizeY, f32 sizeZ, u32 c0, u32 c1);
void AEGfxSetTintColor(float Red, float Green, float Blue, float Alpha)
Sets a color (RGBA) that will be used to tint the original material.
void AEGfxSaveTextureToFile(AEGfxTexture *pTexture, s8 *pFileName)
Save a texture from memory to file.
Definition: AEGraphics.h:59
void AEGfxVertexAdd(f32 x0, f32 y0, u32 c0, f32 tu0, f32 tv0)
Add a new point to the mesh.
Definition: AEGraphics.h:43
u32 AEGfxColInterp(u32 c0, u32 c1, f32 t)
Get the interpolation between two colours (c0 and c1) at time interval t.
void AEGfxBox(f32 x0, f32 y0, f32 z0, f32 sizeX, f32 sizeY, f32 sizeZ, u32 c0, u32 c1)
Draw a 3D box on screen.
void AEGfxTriAdd(f32 x0, f32 y0, u32 c0, f32 tu0, f32 tv0, f32 x1, f32 y1, u32 c1, f32 tu1, f32 tv1, f32 x2, f32 y2, u32 c2, f32 tu2, f32 tv2)
Add a new triangle to the mesh.
Definition: AEGraphics.h:30
Definition: AEGraphics.h:82
Definition: AEGraphics.h:61
void AEGfxTextureSet(AEGfxTexture *pTexture, f32 offset_x, f32 offset_y)
Set a texture to be used for rendering.
Definition: AEGraphics.h:50
void AEGfxCone(f32 x0, f32 y0, f32 z0, f32 x1, f32 y1, f32 z1, f32 radius, u32 c0, u32 c1, u32 division)
Draw a 3D cone on screen.
Definition: AEGraphics.h:60
Definition: AEGraphics.h:72
AEGfxTexture * AEGfxTextureLoadFromMemory(u8 *pColors, u32 Width, u32 Height)
Load a texture from data in memory.
struct AEGfxTexture AEGfxTexture
Definition: AEGraphics.h:58
void AEGfxSetTransform(f32 pTransform[3][3])
Set the new global transformation matrix.
DECLARE_FUNCTION_FOR_ANDROID_2_INT(AEGfxInit, s32 Width, s32 Height)
void AEGfxMeshDraw(AEGfxVertexList *pVertexList, AEGfxMeshDrawMode MeshDrawMode)
Draw the mesh on screen.
void AEGfxTri(f32 x0, f32 y0, f32 z0, u32 c0, f32 x1, f32 y1, f32 z1, u32 c1, f32 x2, f32 y2, f32 z2, u32 c2)
Draw a triangle on screen.
Definition: AEGraphics.h:64
AEGfxTexture * AEGfxTextureLoad(const s8 *pFileName)
Load a texture file into memory.
#define DECLARE_FUNCTION_FOR_ANDROID(functionName)
Definition: AEExport.h:59
Definition: AEGraphics.h:51
void AEGfxSetBackgroundColor(f32 Red, f32 Green, f32 Blue)
Set the background colour to selected RGB values.
void AEGfxQuad(f32 x0, f32 y0, f32 z0, u32 c0, f32 x1, f32 y1, f32 z1, u32 c1, f32 x2, f32 y2, f32 z2, u32 c2, f32 x3, f32 y3, f32 z3, u32 c3)
Draw a rectangle on screen.
void AEGfxSetTransform3D(f32 pTransform[4][4])
Set the new global transformation matrix.
void AEGfxSetBlendColor(f32 Red, f32 Green, f32 Blue, f32 Alpha)
Sets a color (RGBA) that will be used to blend with the original material.
void AEGfxLine(f32 x0, f32 y0, f32 z0, f32 r0, f32 g0, f32 b0, f32 a0, f32 x1, f32 y1, f32 z1, f32 r1, f32 g1, f32 b1, f32 a1)
Draw a line on screen.
struct AEGfxVertexList AEGfxVertexList
void AEGfxSphere(f32 x0, f32 y0, f32 z0, f32 radius, u32 c0, u32 c1, u32 division)
Draw a 3D sphere on screen.
Generated on Sat Jan 4 2014 02:06:22 for Alpha Engine by
