| 1234567891011121314151617181920212223242526272829 |
- //__________________________ Banshee Project - A modern game development toolkit _________________________________//
- //_____________________________________ www.banshee-project.com __________________________________________________//
- //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
- #pragma once
- #include "BsCorePrerequisites.h"
- namespace BansheeEngine
- {
- /**
- * @brief Describes operation that will be used for rendering a certain
- * set of vertices.
- */
- enum DrawOperationType
- {
- DOT_POINT_LIST = 1,
- DOT_LINE_LIST = 2,
- DOT_LINE_STRIP = 3,
- DOT_TRIANGLE_LIST = 4,
- DOT_TRIANGLE_STRIP = 5,
- DOT_TRIANGLE_FAN = 6
- };
- /**
- * @brief Converts the number of vertices to number of primitives
- * based on the specified draw operation.
- */
- UINT32 BS_CORE_EXPORT vertexCountToPrimCount(DrawOperationType type, UINT32 elementCount);
- }
|