Package com.banuba.sdk.scene
Class Attachment.CppProxy
java.lang.Object
com.banuba.sdk.scene.Attachment.CppProxy
- All Implemented Interfaces:
Attachment
- Enclosing interface:
- Attachment
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Attachment
Attachment.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
asImage()
protected void
finalize()
int
getInfo()
int
getWidth()
void
setClearColor
(Vec4 color) void
set attachment texture filtering mode param mode (texture_filtering_mode)void
setFormat
(PixelFormatType format) set attachment pixel formatvoid
setHeight
(int value) set attachment heightvoid
setInfo
(AttachmentInfo info) void
setType
(AttachmentType type) void
setWidth
(int value) set attachment width
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
getAttachmentType
- Specified by:
getAttachmentType
in interfaceAttachment
- Returns:
- attachment type (attachment_type). Can be color, or depth
-
setType
- Specified by:
setType
in interfaceAttachment
- Parameters:
type
- (attachment_type). Can be color, or depth
-
setClearColor
- Specified by:
setClearColor
in interfaceAttachment
- Parameters:
color
- (vec4). Also implisity set attachment load behaviour to clear.
-
getClearColor
- Specified by:
getClearColor
in interfaceAttachment
- Returns:
- attachment clear color (vec4)
-
setWidth
public void setWidth(int value) Description copied from interface:Attachment
set attachment width- Specified by:
setWidth
in interfaceAttachment
-
setHeight
public void setHeight(int value) Description copied from interface:Attachment
set attachment height- Specified by:
setHeight
in interfaceAttachment
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceAttachment
- Returns:
- attachment width (int)
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceAttachment
- Returns:
- attachment height (int)
-
setInfo
- Specified by:
setInfo
in interfaceAttachment
-
getInfo
- Specified by:
getInfo
in interfaceAttachment
-
setFormat
Description copied from interface:Attachment
set attachment pixel format- Specified by:
setFormat
in interfaceAttachment
-
getFormat
- Specified by:
getFormat
in interfaceAttachment
- Returns:
- attachment pixel format
-
setFilteringMode
Description copied from interface:Attachment
set attachment texture filtering mode param mode (texture_filtering_mode)- Specified by:
setFilteringMode
in interfaceAttachment
-
getFilteringMode
- Specified by:
getFilteringMode
in interfaceAttachment
- Returns:
- filtering mode (texture_filtering_mode)
-
asImage
- Specified by:
asImage
in interfaceAttachment
- Returns:
- upcast to base type
-