TriangleAccelGetSize

Calculates the size of the external buffer for the structure IpprTriangleAccel.

Syntax

IppStatus ipprTriangleAccelGetSize(int* pTrnglAccelSize);

Parameters

pTrnglAccelSize

Pointer to the size of the structure IpprTriangleAccel.

Description

The function ipprTriangleAccelInit is declared in the ippr.h file.

This function calculates the size of the external buffer for the structure IpprTriangleAccel and store result in the pTrnglAccelSize. This function should be called prior to the function ipprTriangleAccelInit.

The code example demonstrates how to use this function.

Return Values

ippStsNoErr

Indicates no error. Any other value indicates an error or a warning.

ippStsNullPtrErr

Indicates an error condition if one of the specified pointers is NULL.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.