File Game2DVertexOutputHelpers.c
FileList > engine > src > gameframework > layers > Game2D > Game2DVertexOutputHelpers.c
Go to the source code of this file
#include "Game2DVertexOutputHelpers.h"#include "Atlas.h"#include "DynArray.h"#include "DrawContext.h"#include "Entities.h"#include "Game2DLayer.h"#include "GameFramework.h"#include <string.h>
Public Functions
| Type | Name |
|---|---|
| void | HSprite_DrawBase (hSprite spriteHandle, struct Transform2D * pSpriteTrans, struct Entity2D * pEnt, struct GameFrameworkLayer * pLayer, VECTOR(Worldspace2DVert) * outVerts, VECTOR(VertIndexT) * outIndices, VertIndexT * pNextIndex) |
| void | OutputSpriteVerticesBase (AtlasSprite * pSprite, VECTOR(Worldspace2DVert) * pOutVert, VECTOR(VertIndexT) * pOutInd, VertIndexT * pNextIndex, vec2 tlPos, vec2 trPos, vec2 blPos, vec2 brPos, struct Transform2D * transform) |
Public Static Functions
| Type | Name |
|---|---|
| void | SpriteComp_GetBoundingBoxInternalBase (struct Entity2D * pEnt, hSprite sprite, struct GameFrameworkLayer * pLayer, vec2 outTL, vec2 outBR) |
Public Functions Documentation
function HSprite_DrawBase
void HSprite_DrawBase (
hSprite spriteHandle,
struct Transform2D * pSpriteTrans,
struct Entity2D * pEnt,
struct GameFrameworkLayer * pLayer,
VECTOR( Worldspace2DVert ) * outVerts,
VECTOR(VertIndexT) * outIndices,
VertIndexT * pNextIndex
)
function OutputSpriteVerticesBase
void OutputSpriteVerticesBase (
AtlasSprite * pSprite,
VECTOR( Worldspace2DVert ) * pOutVert,
VECTOR(VertIndexT) * pOutInd,
VertIndexT * pNextIndex,
vec2 tlPos,
vec2 trPos,
vec2 blPos,
vec2 brPos,
struct Transform2D * transform
)
Public Static Functions Documentation
function SpriteComp_GetBoundingBoxInternalBase
static void SpriteComp_GetBoundingBoxInternalBase (
struct Entity2D * pEnt,
hSprite sprite,
struct GameFrameworkLayer * pLayer,
vec2 outTL,
vec2 outBR
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/gameframework/layers/Game2D/Game2DVertexOutputHelpers.c