OPmeshPacker.h

OPmeshPacker

  • OPrenderBuffer VertexBuffer
  • OPrenderBuffer IndexBuffer
  • OPuint vertexElementOffset
  • OPuint vertexOffset
  • OPuint indexOffset
  • OPstream vertices
  • OPstream indices
  • OPint built
_____ _ _
/ ____| | | |
| (___ | |_ _ __ _ _ ___| |_ ___
\___ \| __| '__| | | |/ __| __/ __|
____) | |_| | | |_| | (__| |_\__ \
|_____/ \__|_| \__,_|\___|\__|___/

Globals

  • OPmeshPacker* OPMESHPACKER_ACTIVE
_____ _ _ _
/ ____| | | | | |
| | __| | ___ | |__ __ _| |___
| | |_ | |/ _ \| '_ \ / _` | / __|
| |__| | | (_) | |_) | (_| | \__ \
\_____|_|\___/|_.__/ \__,_|_|___/

Functions

  • OPmeshPacker OPmeshPackerCreate ( )
______ _ _
____| | | (_)
|__ _ _ _ __ ___| |_ _ ___ _ __ ___
__| | | | '_ \ / __| __| |/ _ \| '_ \/ __|
| | |_| | | | | (__| |_| | (_) | | | \__ \
\__,_|_| |_|\___|\__|_|\___/|_| |_|___/
  • OPint OPmeshPackerDestroy ( OPmeshPacker* packer )
  • OPuint OPmeshPackerAddVB ( ui32 vertexSize, void* verticesData, OPuint vertexCount )
  • OPuint OPmeshPackerAddIB ( ui32 indexSize, void* indicesData, OPuint indexCount )
  • void OPmeshPackerBuild ( )
  • void OPmeshPackerBind ( OPmeshPacker* packer )