ctypes sized data-arrays as a data-formatmechanism
XXX we have to use _ctypes.Array as the type descriminator, would be nice to have it available from the public module
ClassesCtypes Array-type-specific data-type handler for OpenGL
arrayByteCount(
cls , value , typeCode = None)
Given a data-value, calculate number of bytes required to represent
arraySize(
cls , value , typeCode = None)
Given a data-value, calculate dimensions for the array
arrayToGLType(
cls , value)
Given a value, guess OpenGL type of the corresponding pointer
asArray(
cls , value , typeCode = None)
Convert given value to an array value of given typeCode
dataPointer(
)
addressof(C instance) -> integer Return the address of the C instance internal buffer
dimensions(
cls , value , typeCode = None)
Determine dimensions of the passed array value (if possible)
dims(
cls , value)
Produce iterable of all dimensions
from_param(
cls , value , typeCode = None)
ones(
cls , dims , typeCode = 'd')
Return numpy array of ones in given size
types(
cls , value)
Produce iterable producing all composite types
unitSize(
cls , value , typeCode = None)
Determine unit size of an array (if possible)
voidDataPointer(
cls , value)
Given value in a known data-pointer type, return void_p for pointer
zeros(
cls , dims , typeCode)
Return Numpy array of zeros in given size
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4