OpenImageTypeDesc.kl¶
Types¶
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 () |
Functions¶
OpenImageTypeDescTypeFloat¶
OpenImageTypeDesc OpenImageTypeDescTypeFloat ()
OpenImageTypeDescTypeColor¶
OpenImageTypeDesc OpenImageTypeDescTypeColor ()
OpenImageTypeDescTypeString¶
OpenImageTypeDesc OpenImageTypeDescTypeString ()
OpenImageTypeDescTypeInt¶
OpenImageTypeDesc OpenImageTypeDescTypeInt ()
OpenImageTypeDescTypePoint¶
OpenImageTypeDesc OpenImageTypeDescTypePoint ()
OpenImageTypeDescTypeVector¶
OpenImageTypeDesc OpenImageTypeDescTypeVector ()
OpenImageTypeDescTypeNormal¶
OpenImageTypeDesc OpenImageTypeDescTypeNormal ()
OpenImageTypeDescTypeMatrix¶
OpenImageTypeDesc OpenImageTypeDescTypeMatrix ()
OpenImageTypeDescTypeTimeCode¶
OpenImageTypeDesc OpenImageTypeDescTypeTimeCode ()
OpenImageTypeDescTypeKeyCode¶
OpenImageTypeDesc OpenImageTypeDescTypeKeyCode ()