Loading...
Searching...
No Matches
pyBufferUtils.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_BASE_GF_PY_BUFFER_UTILS_H
8#define PXR_BASE_GF_PY_BUFFER_UTILS_H
9
10#include "pxr/pxr.h"
11#include "pxr/base/gf/api.h"
12
13PXR_NAMESPACE_OPEN_SCOPE
14
16// Format strings matching Python buffer proto / struct module scheme.
17
18// This function template is explicitly instantiated for T =
19// bool, [unsigned] (char, short, int, long), half, float, and double.
20template <class T>
21char *Gf_GetPyBufferFmtFor();
22
23PXR_NAMESPACE_CLOSE_SCOPE
24
25#endif // PXR_BASE_GF_PY_BUFFER_UTILS_H