OpenImageTypeDesc (object)¶
The OpenImageTypeDesc represents a image type description within OpenImageIO. The image description is used when constructing and OpenImageOutput or reading from an OpenImageInput.
注釈
Please refer to the official OpenImageIO documentation for more details (https://sites.google.com/site/openimageio/documentation).
/*
** Example: OpenImageTypeDesc
*/
require OpenImageIO;
operator entry() {
OpenImageTypeDesc desc = OpenImageTypeDescTypeFloat();
report( desc.get_basetype() );
report( desc.get_aggregate() );
report( desc.get_vecsemantics() );
}
/*
** Output:
11
1
0
*/
Methods¶
OpenImageTypeDesc ( in OpenImageTypeDesc other ) | |
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in OpenImage_VECSEMANTICS xform ) | |
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in OpenImage_VECSEMANTICS xform, in SInt32 arraylength ) | |
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in SInt32 arraylength ) | |
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in SInt32 arraylength ) | |
OpenImageTypeDesc ( in String typestring ) | |
OpenImageTypeDesc () | |
UInt64 | basesize ? () |
String | c_str ? () |
OpenImageTypeDesc | clone ? () |
UInt64 | elementsize ? () |
OpenImageTypeDesc | elementtype ? () |
Boolean | equivalent ? ( in OpenImageTypeDesc b ) |
UInt64 | fromstring ! ( in String typestring ) |
UInt16 | get_aggregate ? () |
SInt32 | get_arraylen ? () |
UInt16 | get_basetype ? () |
UInt16 | get_reserved ? () |
UInt16 | get_vecsemantics ? () |
UInt64 | numelements ? () |
reset ! () | |
set_aggregate ? ( in UInt16 value ) | |
set_arraylen ? ( in SInt32 value ) | |
set_basetype ? ( in UInt16 value ) | |
set_reserved ? ( in UInt16 value ) | |
set_vecsemantics ? ( in UInt16 value ) | |
UInt64 | size ? () |
unarray ? () | |
~OpenImageTypeDesc () |
Methods in detail¶
OpenImageTypeDesc ( in OpenImageTypeDesc other )
copy constructor
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in OpenImage_VECSEMANTICS xform )
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in OpenImage_VECSEMANTICS xform, in SInt32 arraylength )
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in OpenImage_AGGREGATE agg, in SInt32 arraylength )
OpenImageTypeDesc ( in OpenImage_BASETYPE btype, in SInt32 arraylength )
OpenImageTypeDesc ( in String typestring )
UInt64 OpenImageTypeDesc.basesize? ()
String OpenImageTypeDesc.c_str? ()
OpenImageTypeDesc OpenImageTypeDesc.clone? ()
clone method
UInt64 OpenImageTypeDesc.elementsize? ()
OpenImageTypeDesc OpenImageTypeDesc.elementtype? ()
Boolean OpenImageTypeDesc.equivalent? ( in OpenImageTypeDesc b )
UInt64 OpenImageTypeDesc.fromstring! ( in String typestring )
UInt16 OpenImageTypeDesc.get_aggregate? ()
SInt32 OpenImageTypeDesc.get_arraylen? ()
UInt16 OpenImageTypeDesc.get_basetype? ()
UInt16 OpenImageTypeDesc.get_reserved? ()
UInt16 OpenImageTypeDesc.get_vecsemantics? ()
UInt64 OpenImageTypeDesc.numelements? ()
OpenImageTypeDesc.reset! ()
OpenImageTypeDesc.set_aggregate? ( in UInt16 value )
OpenImageTypeDesc.set_arraylen? ( in SInt32 value )
OpenImageTypeDesc.set_basetype? ( in UInt16 value )
OpenImageTypeDesc.set_reserved? ( in UInt16 value )
OpenImageTypeDesc.set_vecsemantics? ( in UInt16 value )
UInt64 OpenImageTypeDesc.size? ()
OpenImageTypeDesc.unarray? ()
~ OpenImageTypeDesc ()