A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://pyopengl.sourceforge.net/documentation/pydoc/OpenGL.arrays.formathandler.html below:

OpenGL.arrays.formathandler

OpenGL.arrays.formathandler

Base class for the various Python data-format storage type APIs

Data-type handlers are specified using OpenGL.plugins module

Classes

Abstract class describing the handler interface

Each data-type handler is responsible for providing a number of methods which allow it to manipulate (and create) instances of the data-type it represents.

arraySize

(

self , value , typeCode = None

)

Given a data-value, calculate dimensions for the array

arrayToGLType

(

self , value

)

Given a value, guess OpenGL type of the corresponding pointer

asArray

(

self , value , typeCode = None

)

Given a value, convert to array representation

dataPointer

(

self , value

)

return long for pointer value

dimensions

(

self , value , typeCode = None

)

Determine dimensions of the passed array value (if possible)

from_param

(

self , value , typeCode = None

)

Convert to a ctypes pointer value

loadAll

(

cls

)

Load all OpenGL.plugins-registered FormatHandler classes

loadPlugin

(

cls , entrypoint

)

Load a single entry-point via plugins module

register

(

self , types = None

)

Register this class as handler for given set of types

registerReturn

(

self

)

Register this handler as the default return-type handler

typeLookup

(

cls , type

)

Lookup handler by data-type

unitSize

(

self , value , typeCode = None

)

Determine unit size of an array (if possible)


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