java.lang.Object | ||
↳ | android.renderscript.BaseObj | |
↳ | android.renderscript.ProgramStore |
ProgramStore contains a set of parameters that control how the graphics hardware handles writes to the framebuffer. It could be used to:
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ProgramStore.BlendDstFunc | Specifies the functions used to combine incoming pixels with those already in the frame buffer. | ||||||||||
ProgramStore.BlendSrcFunc | Specifies the functions used to combine incoming pixels with those already in the frame buffer. | ||||||||||
ProgramStore.Builder | Builder class for ProgramStore object. | ||||||||||
ProgramStore.DepthFunc | Specifies the function used to determine whether a fragment will be drawn during the depth testing stage in the rendering pipeline by comparing its value with that already in the depth buffer. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a pre-defined program store object with the following
characteristics:
- incoming pixels always pass the depth test and their value
is not stored in the depth buffer
- incoming pixel's value is combined with the stored color
(Dest) using the following formula
Final.RGB = Source.RGB * Source.A + Dest.RGB * (1 - Source.A)
| |||||||||||
Returns a pre-defined program store object with the following
characteristics:
- incoming pixels are drawn if their depth value is less than
the stored value in the depth buffer.
| |||||||||||
Returns a pre-defined program store object with the following
characteristics:
- incoming pixels always pass the depth test and their value
is not stored in the depth buffer
- incoming pixels override the value stored in the color
buffer
| |||||||||||
Returns a pre-defined program store object with the following
characteristics:
- incoming pixels are drawn if their depth value is less than
the stored value in the depth buffer.
| |||||||||||
Specifies how the destination blending factor is computed
| |||||||||||
Specifies how the source blending factor is computed
| |||||||||||
Returns the function used to test writing into the depth
buffer
| |||||||||||
Queries whether alpha channel is written
| |||||||||||
Queries whether blue channel is written
| |||||||||||
Queries whether green channel is written
| |||||||||||
Queries whether red channel is written
| |||||||||||
Queries whether writes are enabled into the depth buffer
| |||||||||||
Specifies whether colors are dithered before writing into the
framebuffer
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
Returns a pre-defined program store object with the following characteristics: - incoming pixels always pass the depth test and their value is not stored in the depth buffer - incoming pixel's value is combined with the stored color (Dest) using the following formula Final.RGB = Source.RGB * Source.A + Dest.RGB * (1 - Source.A)
rs | Context to which the program will belong. |
---|
Returns a pre-defined program store object with the following characteristics: - incoming pixels are drawn if their depth value is less than the stored value in the depth buffer. If the pixel is drawn, its value is also stored in the depth buffer - if the incoming (Source) pixel passes depth test, its value is combined with the stored color (Dest) using the following formula Final.RGB = Source.RGB * Source.A + Dest.RGB * (1 - Source.A)
rs | Context to which the program will belong. |
---|
Returns a pre-defined program store object with the following characteristics: - incoming pixels always pass the depth test and their value is not stored in the depth buffer - incoming pixels override the value stored in the color buffer
rs | Context to which the program will belong. |
---|
Returns a pre-defined program store object with the following characteristics: - incoming pixels are drawn if their depth value is less than the stored value in the depth buffer. If the pixel is drawn, its value is also stored in the depth buffer - incoming pixels override the value stored in the color buffer if it passes the depth test
rs | Context to which the program will belong. |
---|
Specifies how the destination blending factor is computed
Specifies how the source blending factor is computed
Returns the function used to test writing into the depth buffer
Queries whether alpha channel is written
Queries whether blue channel is written
Queries whether green channel is written
Queries whether red channel is written
Queries whether writes are enabled into the depth buffer
Specifies whether colors are dithered before writing into the framebuffer