Package | Description |
---|---|
org.cakelab.blender.nio | |
org.cakelab.blender.utils |
This package contains optional utility classes to use with generated DNA API classes.
|
Modifier and Type | Method and Description |
---|---|
CArrayFacade<T> |
CPointer.cast(CArrayFacade<T> type)
Type cast a pointer to an array.
|
CArrayFacade<T> |
CPointer.toCArrayFacade(int len)
Converts the data referenced by the pointer into an array with
a CArrayFacade of the given length.
|
Modifier and Type | Method and Description |
---|---|
CArrayFacade<T> |
CPointer.cast(CArrayFacade<T> type)
Type cast a pointer to an array.
|
Constructor and Description |
---|
CArrayFacade(CArrayFacade<T> other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
<T> CArrayFacade<T> |
BlenderFactoryBase.newCArrayBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int[] dimensions)
Factory instance method equivalent to
BlenderFactoryBase.newCArrayBlock(Identifier, Class[], int[], BlenderFile) . |
static <T> CArrayFacade<T> |
BlenderFactoryBase.newCArrayBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int[] dimensions,
BlenderFile blend)
Allocate a new block for one instance of a multi-dimensional array of
any component type supported by blender.
|
<T> CArrayFacade<T> |
BlenderFactoryBase.newCArrayBlock(Identifier blockCode,
java.lang.Class<T> componentType,
int arrayLength)
Factory instance method equivalent to
BlenderFactoryBase.newCArrayBlock(Identifier, Class, int, BlenderFile) . |
static <T> CArrayFacade<T> |
BlenderFactoryBase.newCArrayBlock(Identifier blockCode,
java.lang.Class<T> componentType,
int arrayLength,
BlenderFile blend)
Allocate a new block for one instance of a one-dimensional array of
any non-pointer component type which is either a scalar or a DNA struct.
|
<T> CArrayFacade<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int count)
Factory instance method equivalent to
BlenderFactoryBase.newCPointerBlock(Identifier, Class[], int count, BlenderFile) . |
static <T> CArrayFacade<CPointer<T>> |
BlenderFactoryBase.newCPointerBlock(Identifier blockCode,
java.lang.Class<?>[] typeList,
int count,
BlenderFile blend)
This method creates a block with a set of pointers and returns an array facet to
access them.
|
<T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass,
int count)
Factory instance method equivalent to
BlenderFactoryBase.newCStructBlock(Identifier, Class, int, BlenderFile) . |
static <T extends CFacade> |
BlenderFactoryBase.newCStructBlock(Identifier blockCode,
java.lang.Class<T> facetClass,
int count,
BlenderFile blend)
Allocate a new block for multiple instances of a C struct.
|