15enum class ImagePlanePivot
24enum class ImagePlaneSizeMode
33struct ImagePlaneParams
35 Texture* mSourceTexture =
nullptr;
36 glm::vec2 mUvMin = { 0.0f, 0.0f };
37 glm::vec2 mUvMax = { 1.0f, 1.0f };
38 ImagePlanePivot mPivot = ImagePlanePivot::Center;
39 ImagePlaneSizeMode mSizeMode = ImagePlaneSizeMode::AspectWidth1;
40 float mPixelsPerUnit = 100.0f;
43 bool mTwoSided =
false;
46void BuildImagePlaneGeometry(
const ImagePlaneParams& params,
Vertex outVerts[4],
IndexType outIndices[6]);
52bool ExtractImagePlaneParams(
StaticMesh* mesh, ImagePlaneParams& outParams);
ShadingModel
Definition EngineTypes.h:104
BlendMode
Definition EngineTypes.h:113
uint16_t IndexType
Definition GraphicsTypes.h:122
Definition MaterialLite.h:51
Definition StaticMesh.h:18