Class ExrDeepTileRequest
- All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer
struct ExrDeepTileRequest {
ExrPart part;
int32_t tile_x;
int32_t tile_y;
int32_t level_x;
int32_t level_y;
ExrDeepTileSampleInfo * sample_info;
ExrBuffer output;
uint32_t channels_mask;
uint32_t output_pixel_type;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Struct
Struct.StructValidationNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionExrDeepTileRequest(ByteBuffer container) Creates aExrDeepTileRequestinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExrDeepTileRequestcalloc()Returns a newExrDeepTileRequestinstance allocated withmemCalloc.static ExrDeepTileRequest.Buffercalloc(int capacity) Returns a newExrDeepTileRequest.Bufferinstance allocated withmemCalloc.static ExrDeepTileRequest.Buffercalloc(int capacity, MemoryStack stack) Returns a newExrDeepTileRequest.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static ExrDeepTileRequestcalloc(MemoryStack stack) Returns a newExrDeepTileRequestinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intchannels_mask(int value) Sets the specified value to thechannels_maskfield.static ExrDeepTileRequestcreate()Returns a newExrDeepTileRequestinstance allocated withBufferUtils.static ExrDeepTileRequest.Buffercreate(int capacity) Returns a newExrDeepTileRequest.Bufferinstance allocated withBufferUtils.static ExrDeepTileRequestcreate(long address) Returns a newExrDeepTileRequestinstance for the specified memory address.static ExrDeepTileRequest.Buffercreate(long address, int capacity) Create aExrDeepTileRequest.Bufferinstance at the specified memory.static @Nullable ExrDeepTileRequestcreateSafe(long address) static @Nullable ExrDeepTileRequest.BuffercreateSafe(long address, int capacity) intlevel_x()level_x(int value) Sets the specified value to thelevel_xfield.intlevel_y()level_y(int value) Sets the specified value to thelevel_yfield.static ExrDeepTileRequestmalloc()Returns a newExrDeepTileRequestinstance allocated withmemAlloc.static ExrDeepTileRequest.Buffermalloc(int capacity) Returns a newExrDeepTileRequest.Bufferinstance allocated withmemAlloc.static ExrDeepTileRequest.Buffermalloc(int capacity, MemoryStack stack) Returns a newExrDeepTileRequest.Bufferinstance allocated on the specifiedMemoryStack.static ExrDeepTileRequestmalloc(MemoryStack stack) Returns a newExrDeepTileRequestinstance allocated on the specifiedMemoryStack.static intnchannels_mask(long struct) Unsafe version ofchannels_mask().static voidnchannels_mask(long struct, int value) Unsafe version ofchannels_mask.static intnlevel_x(long struct) Unsafe version oflevel_x().static voidnlevel_x(long struct, int value) Unsafe version oflevel_x.static intnlevel_y(long struct) Unsafe version oflevel_y().static voidnlevel_y(long struct, int value) Unsafe version oflevel_y.static ExrBuffernoutput(long struct) Unsafe version ofoutput().static voidUnsafe version ofoutput.static intnoutput_pixel_type(long struct) Unsafe version ofoutput_pixel_type().static voidnoutput_pixel_type(long struct, int value) Unsafe version ofoutput_pixel_type.static longnpart(long struct) Unsafe version ofpart().static voidnpart(long struct, long value) Unsafe version ofpart.static ExrDeepTileSampleInfonsample_info(long struct) Unsafe version ofsample_info().static voidnsample_info(long struct, ExrDeepTileSampleInfo value) Unsafe version ofsample_info.static intntile_x(long struct) Unsafe version oftile_x().static voidntile_x(long struct, int value) Unsafe version oftile_x.static intntile_y(long struct) Unsafe version oftile_y().static voidntile_y(long struct, int value) Unsafe version oftile_y.output()Passes theoutputfield to the specifiedConsumer.Copies the specifiedExrBufferto theoutputfield.intoutput_pixel_type(int value) Sets the specified value to theoutput_pixel_typefield.longpart()part(long value) Sets the specified value to thepartfield.sample_info(ExrDeepTileSampleInfo value) Sets the address of the specifiedExrDeepTileSampleInfoto thesample_infofield.set(long part, int tile_x, int tile_y, int level_x, int level_y, ExrDeepTileSampleInfo sample_info, ExrBuffer output, int channels_mask, int output_pixel_type) Initializes this struct with the specified values.set(ExrDeepTileRequest src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).inttile_x()tile_x(int value) Sets the specified value to thetile_xfield.inttile_y()tile_y(int value) Sets the specified value to thetile_yfield.static voidvalidate(long struct) Validates pointer members that should not beNULL.Methods inherited from class Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
PART
public static final int PARTThe struct member offsets. -
TILE_X
public static final int TILE_XThe struct member offsets. -
TILE_Y
public static final int TILE_YThe struct member offsets. -
LEVEL_X
public static final int LEVEL_XThe struct member offsets. -
LEVEL_Y
public static final int LEVEL_YThe struct member offsets. -
SAMPLE_INFO
public static final int SAMPLE_INFOThe struct member offsets. -
OUTPUT
public static final int OUTPUTThe struct member offsets. -
CHANNELS_MASK
public static final int CHANNELS_MASKThe struct member offsets. -
OUTPUT_PIXEL_TYPE
public static final int OUTPUT_PIXEL_TYPEThe struct member offsets.
-
-
Constructor Details
-
ExrDeepTileRequest
Creates aExrDeepTileRequestinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<ExrDeepTileRequest>
-
part
- Returns:
- the value of the
partfield.
-
tile_x
- Returns:
- the value of the
tile_xfield.
-
tile_y
- Returns:
- the value of the
tile_yfield.
-
level_x
- Returns:
- the value of the
level_xfield.
-
level_y
- Returns:
- the value of the
level_yfield.
-
sample_info
- Returns:
- a
ExrDeepTileSampleInfoview of the struct pointed to by thesample_infofield.
-
output
-
channels_mask
- Returns:
- the value of the
channels_maskfield.
-
output_pixel_type
- Returns:
- the value of the
output_pixel_typefield.
-
part
Sets the specified value to thepartfield. -
tile_x
Sets the specified value to thetile_xfield. -
tile_y
Sets the specified value to thetile_yfield. -
level_x
Sets the specified value to thelevel_xfield. -
level_y
Sets the specified value to thelevel_yfield. -
sample_info
public ExrDeepTileRequest sample_info(@NativeType("ExrDeepTileSampleInfo *") ExrDeepTileSampleInfo value) Sets the address of the specifiedExrDeepTileSampleInfoto thesample_infofield. -
output
Copies the specifiedExrBufferto theoutputfield. -
output
Passes theoutputfield to the specifiedConsumer. -
channels_mask
Sets the specified value to thechannels_maskfield. -
output_pixel_type
Sets the specified value to theoutput_pixel_typefield. -
set
public ExrDeepTileRequest set(long part, int tile_x, int tile_y, int level_x, int level_y, ExrDeepTileSampleInfo sample_info, ExrBuffer output, int channels_mask, int output_pixel_type) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newExrDeepTileRequestinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newExrDeepTileRequestinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newExrDeepTileRequestinstance allocated withBufferUtils. -
create
Returns a newExrDeepTileRequestinstance for the specified memory address. -
createSafe
-
malloc
Returns a newExrDeepTileRequest.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newExrDeepTileRequest.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newExrDeepTileRequest.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aExrDeepTileRequest.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newExrDeepTileRequestinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newExrDeepTileRequestinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newExrDeepTileRequest.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newExrDeepTileRequest.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
npart
public static long npart(long struct) Unsafe version ofpart(). -
ntile_x
public static int ntile_x(long struct) Unsafe version oftile_x(). -
ntile_y
public static int ntile_y(long struct) Unsafe version oftile_y(). -
nlevel_x
public static int nlevel_x(long struct) Unsafe version oflevel_x(). -
nlevel_y
public static int nlevel_y(long struct) Unsafe version oflevel_y(). -
nsample_info
Unsafe version ofsample_info(). -
noutput
-
nchannels_mask
public static int nchannels_mask(long struct) Unsafe version ofchannels_mask(). -
noutput_pixel_type
public static int noutput_pixel_type(long struct) Unsafe version ofoutput_pixel_type(). -
npart
public static void npart(long struct, long value) Unsafe version ofpart. -
ntile_x
public static void ntile_x(long struct, int value) Unsafe version oftile_x. -
ntile_y
public static void ntile_y(long struct, int value) Unsafe version oftile_y. -
nlevel_x
public static void nlevel_x(long struct, int value) Unsafe version oflevel_x. -
nlevel_y
public static void nlevel_y(long struct, int value) Unsafe version oflevel_y. -
nsample_info
Unsafe version ofsample_info. -
noutput
-
nchannels_mask
public static void nchannels_mask(long struct, int value) Unsafe version ofchannels_mask. -
noutput_pixel_type
public static void noutput_pixel_type(long struct, int value) Unsafe version ofoutput_pixel_type. -
validate
public static void validate(long struct) Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-