1#
2# Copyright (C) 2015 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17header:
18summary: Graphics Functions and Types
19description:
20 The graphics subsystem of RenderScript was removed at API level 23.
21include:
22 #ifdef __LP64__
23 // TODO We need to fix some of the builds before enabling this error:
24 // #error "RenderScript graphics is deprecated and not supported in 64bit mode."
25 #endif
26
27 // TODO we seem to assume order for the other headers too.
28 #include "rs_object_types.rsh"
29end:
30
31type: rs_blend_src_func
32version: 16 22
33size: 32
34enum:
35value: RS_BLEND_SRC_ZERO = 0
36value: RS_BLEND_SRC_ONE = 1
37value: RS_BLEND_SRC_DST_COLOR = 2
38value: RS_BLEND_SRC_ONE_MINUS_DST_COLOR = 3
39value: RS_BLEND_SRC_SRC_ALPHA = 4
40value: RS_BLEND_SRC_ONE_MINUS_SRC_ALPHA = 5
41value: RS_BLEND_SRC_DST_ALPHA = 6
42value: RS_BLEND_SRC_ONE_MINUS_DST_ALPHA = 7
43value: RS_BLEND_SRC_SRC_ALPHA_SATURATE = 8
44value: RS_BLEND_SRC_INVALID = 100
45deprecated: 22
46summary: Blend source function
47description:
48end:
49
50type: rs_blend_dst_func
51version: 16 22
52size: 32
53enum:
54value: RS_BLEND_DST_ZERO = 0
55value: RS_BLEND_DST_ONE = 1
56value: RS_BLEND_DST_SRC_COLOR = 2
57value: RS_BLEND_DST_ONE_MINUS_SRC_COLOR = 3
58value: RS_BLEND_DST_SRC_ALPHA = 4
59value: RS_BLEND_DST_ONE_MINUS_SRC_ALPHA = 5
60value: RS_BLEND_DST_DST_ALPHA = 6
61value: RS_BLEND_DST_ONE_MINUS_DST_ALPHA = 7
62value: RS_BLEND_DST_INVALID = 100
63deprecated: 22
64summary: Blend destination function
65description:
66end:
67
68type: rs_cull_mode
69version: 16 22
70size: 32
71enum:
72value: RS_CULL_BACK = 0
73value: RS_CULL_FRONT = 1
74value: RS_CULL_NONE = 2
75value: RS_CULL_INVALID = 100
76deprecated: 22
77summary: Culling mode
78description:
79end:
80
81type: rs_depth_func
82version: 16 22
83size: 32
84enum:
85value: RS_DEPTH_FUNC_ALWAYS = 0, "Always drawn"
86value: RS_DEPTH_FUNC_LESS = 1, "Drawn if the incoming depth value is less than that in the depth buffer"
87value: RS_DEPTH_FUNC_LEQUAL = 2, "Drawn if the incoming depth value is less or equal to that in the depth buffer"
88value: RS_DEPTH_FUNC_GREATER = 3, "Drawn if the incoming depth value is greater than that in the depth buffer"
89value: RS_DEPTH_FUNC_GEQUAL = 4, "Drawn if the incoming depth value is greater or equal to that in the depth buffer"
90value: RS_DEPTH_FUNC_EQUAL = 5, "Drawn if the incoming depth value is equal to that in the depth buffer"
91value: RS_DEPTH_FUNC_NOTEQUAL = 6, "Drawn if the incoming depth value is not equal to that in the depth buffer"
92value: RS_DEPTH_FUNC_INVALID = 100, "Invalid depth function"
93deprecated: 22
94summary: Depth function
95description:
96 Specifies conditional drawing depending on the comparison of the incoming
97 depth to that found in the depth buffer.
98end:
99
100type: rs_primitive
101version: 16 22
102size: 32
103enum:
104value: RS_PRIMITIVE_POINT = 0, "Vertex data will be rendered as a series of points"
105value: RS_PRIMITIVE_LINE = 1, "Vertex pairs will be rendered as lines"
106value: RS_PRIMITIVE_LINE_STRIP = 2, "Vertex data will be rendered as a connected line strip"
107value: RS_PRIMITIVE_TRIANGLE = 3, "Vertices will be rendered as individual triangles"
108value: RS_PRIMITIVE_TRIANGLE_STRIP = 4, "Vertices will be rendered as a connected triangle strip defined by the first three vertices with each additional triangle defined by a new vertex"
109value: RS_PRIMITIVE_TRIANGLE_FAN = 5, "Vertices will be rendered as a sequence of triangles that all share first vertex as the origin"
110value: RS_PRIMITIVE_INVALID = 100, "Invalid primitive"
111deprecated: 22
112summary: How to intepret mesh vertex data
113description:
114 Describes the way mesh vertex data is interpreted when rendering
115end:
116
117type: rs_font
118version: 9 22
119size: 32
120simple: _RS_HANDLE
121deprecated: 22
122summary: Handle to a Font
123description:
124 Opaque handle to a RenderScript font object.
125 See: android.renderscript.Font
126end:
127
128
129type: rs_mesh
130version: 9 22
131size: 32
132simple: _RS_HANDLE
133deprecated: 22
134summary: Handle to a Mesh
135description:
136 Opaque handle to a RenderScript mesh object.
137 See: android.renderscript.Mesh
138end:
139
140type: rs_program_fragment
141version: 9 22
142size: 32
143simple: _RS_HANDLE
144deprecated: 22
145summary: Handle to a ProgramFragment
146description:
147 Opaque handle to a RenderScript ProgramFragment object.
148 See: android.renderscript.ProgramFragment
149end:
150
151type: rs_program_vertex
152version: 9 22
153size: 32
154simple: _RS_HANDLE
155deprecated: 22
156summary: Handle to a ProgramVertex
157description:
158 Opaque handle to a RenderScript ProgramVertex object.
159 See: android.renderscript.ProgramVertex
160end:
161
162type: rs_program_raster
163version: 9 22
164size: 32
165simple: _RS_HANDLE
166deprecated: 22
167summary: Handle to a ProgramRaster
168description:
169 Opaque handle to a RenderScript ProgramRaster object.
170 See: android.renderscript.ProgramRaster
171end:
172
173type: rs_program_store
174version: 9 22
175size: 32
176simple: _RS_HANDLE
177deprecated: 22
178summary: Handle to a ProgramStore
179description:
180 Opaque handle to a RenderScript ProgramStore object.
181 See: android.renderscript.ProgramStore
182end:
183
184function: rsClearObject
185version: 9 22
186size: 32
187t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
188ret: void
189arg: #1* dst
190test: none
191end:
192
193function: rsIsObject
194version: 9 22
195size: 32
196t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
197ret: bool
198arg: #1 v
199test: none
200end:
201
202function: rsSetObject
203version: 9 22
204size: 32
205t: rs_mesh, rs_program_fragment, rs_program_vertex, rs_program_raster, rs_program_store, rs_font
206ret: void
207arg: #1* dst
208arg: #1 src
209test: none
210end:
211
212function: rsgAllocationSyncAll
213version: 9 22
214size: 32
215ret: void
216arg: rs_allocation alloc
217deprecated: 22
218summary: Sync the contents of an allocation
219description:
220 Sync the contents of an allocation.
221
222 If the source is specified, sync from memory space specified by source.
223
224 If the source is not specified, sync from its SCRIPT memory space to its HW
225 memory spaces.
226test: none
227end:
228
229function: rsgAllocationSyncAll
230version: 14 22
231size: 32
232ret: void
233arg: rs_allocation alloc
234arg: rs_allocation_usage_type source
235test: none
236end:
237
238function: rsgBindColorTarget
239version: 14 22
240size: 32
241ret: void
242arg: rs_allocation colorTarget
243arg: uint slot
244deprecated: 22
245summary: Set the color target
246description:
247 Set the color target used for all subsequent rendering calls
248test: none
249end:
250
251function: rsgBindConstant
252version: 9 22
253size: 32
254ret: void
255arg: rs_program_fragment ps, "program fragment object"
256arg: uint slot, "index of the constant buffer on the program"
257arg: rs_allocation c, "constants to bind"
258deprecated: 22
259summary: Bind a constant allocation
260description:
261 Bind a new Allocation object to a ProgramFragment or ProgramVertex.
262 The Allocation must be a valid constant input for the Program.
263test: none
264end:
265
266function: rsgBindConstant
267version: 9 22
268size: 32
269ret: void
270arg: rs_program_vertex pv, "program vertex object"
271arg: uint slot
272arg: rs_allocation c
273test: none
274end:
275
276function: rsgBindDepthTarget
277version: 14 22
278size: 32
279ret: void
280arg: rs_allocation depthTarget
281deprecated: 22
282summary: Set the depth target
283description:
284 Set the depth target used for all subsequent rendering calls
285test: none
286end:
287
288function: rsgBindFont
289version: 9 22
290size: 32
291ret: void
292arg: rs_font font, "object to bind"
293deprecated: 22
294summary: Bind a font object
295description:
296 Binds the font object to be used for all subsequent font rendering calls
297test: none
298end:
299
300function: rsgBindProgramFragment
301version: 9 22
302size: 32
303ret: void
304arg: rs_program_fragment pf
305deprecated: 22
306summary: Bind a ProgramFragment
307description:
308 Bind a new ProgramFragment to the rendering context.
309test: none
310end:
311
312function: rsgBindProgramRaster
313version: 9 22
314size: 32
315ret: void
316arg: rs_program_raster pr
317deprecated: 22
318summary: Bind a ProgramRaster
319description:
320 Bind a new ProgramRaster to the rendering context.
321test: none
322end:
323
324function: rsgBindProgramStore
325version: 9 22
326size: 32
327ret: void
328arg: rs_program_store ps
329deprecated: 22
330summary: Bind a ProgramStore
331description:
332 Bind a new ProgramStore to the rendering context.
333test: none
334end:
335
336function: rsgBindProgramVertex
337version: 9 22
338size: 32
339ret: void
340arg: rs_program_vertex pv
341deprecated: 22
342summary: Bind a ProgramVertex
343description:
344 Bind a new ProgramVertex to the rendering context.
345test: none
346end:
347
348function: rsgBindSampler
349version: 9 22
350size: 32
351ret: void
352arg: rs_program_fragment fragment
353arg: uint slot
354arg: rs_sampler sampler
355deprecated: 22
356summary: Bind a sampler
357description:
358 Bind a new Sampler object to a ProgramFragment.  The sampler will
359 operate on the texture bound at the matching slot.
360test: none
361end:
362
363function: rsgBindTexture
364version: 9 22
365size: 32
366ret: void
367arg: rs_program_fragment v
368arg: uint slot
369arg: rs_allocation alloc
370deprecated: 22
371summary: Bind a texture allocation
372description:
373 Bind a new Allocation object to a ProgramFragment.  The
374 Allocation must be a valid texture for the Program.  The sampling
375 of the texture will be controled by the Sampler bound at the
376 matching slot.
377test: none
378end:
379
380function: rsgClearAllRenderTargets
381version: 14 22
382size: 32
383ret: void
384deprecated: 22
385summary: Clear all color and depth targets
386description:
387 Clear all color and depth targets and resume rendering into
388 the framebuffer
389test: none
390end:
391
392function: rsgClearColor
393version: 9 22
394size: 32
395ret: void
396arg: float r
397arg: float g
398arg: float b
399arg: float a
400deprecated: 22
401summary: Clear the specified color from the surface
402description:
403 Clears the rendering surface to the specified color.
404test: none
405end:
406
407function: rsgClearColorTarget
408version: 14 22
409size: 32
410ret: void
411arg: uint slot
412deprecated: 22
413summary: Clear the color target
414description:
415 Clear the previously set color target
416test: none
417end:
418
419function: rsgClearDepth
420version: 9 22
421size: 32
422ret: void
423arg: float value
424deprecated: 22
425summary: Clear the depth surface
426description:
427 Clears the depth suface to the specified value.
428test: none
429end:
430
431function: rsgClearDepthTarget
432version: 14 22
433size: 32
434ret: void
435deprecated: 22
436summary: Clear the depth target
437description:
438 Clear the previously set depth target
439test: none
440end:
441
442function: rsgDrawMesh
443version: 9 22
444size: 32
445ret: void
446arg: rs_mesh ism, "mesh object to render"
447deprecated: 22
448summary: Draw a mesh
449description:
450 Draw a mesh using the current context state.
451
452 If primitiveIndex is specified, draw part of a mesh using the current context state.
453
454 If start and len are also specified, draw specified index range of part of a mesh using the current context state.
455
456 Otherwise the whole mesh is rendered.
457test: none
458end:
459
460function: rsgDrawMesh
461version: 9 22
462size: 32
463ret: void
464arg: rs_mesh ism
465arg: uint primitiveIndex, "for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw."
466test: none
467end:
468
469function: rsgDrawMesh
470version: 9 22
471size: 32
472ret: void
473arg: rs_mesh ism
474arg: uint primitiveIndex
475arg: uint start, "starting index in the range"
476arg: uint len, "number of indices to draw"
477test: none
478end:
479
480function: rsgDrawQuad
481version: 9 22
482size: 32
483ret: void
484arg: float x1
485arg: float y1
486arg: float z1
487arg: float x2
488arg: float y2
489arg: float z2
490arg: float x3
491arg: float y3
492arg: float z3
493arg: float x4
494arg: float y4
495arg: float z4
496deprecated: 22
497summary: Draw a quad
498description:
499 Low performance utility function for drawing a simple quad.  Not intended for
500 drawing large quantities of geometry.
501test: none
502end:
503
504function: rsgDrawQuadTexCoords
505version: 9 22
506size: 32
507ret: void
508arg: float x1
509arg: float y1
510arg: float z1
511arg: float u1
512arg: float v1
513arg: float x2
514arg: float y2
515arg: float z2
516arg: float u2
517arg: float v2
518arg: float x3
519arg: float y3
520arg: float z3
521arg: float u3
522arg: float v3
523arg: float x4
524arg: float y4
525arg: float z4
526arg: float u4
527arg: float v4
528deprecated: 22
529summary: Draw a textured quad
530description:
531 Low performance utility function for drawing a textured quad.  Not intended
532 for drawing large quantities of geometry.
533test: none
534end:
535
536function: rsgDrawRect
537version: 9 22
538size: 32
539ret: void
540arg: float x1
541arg: float y1
542arg: float x2
543arg: float y2
544arg: float z
545deprecated: 22
546summary: Draw a rectangle
547description:
548 Low performance utility function for drawing a simple rectangle.  Not
549 intended for drawing large quantities of geometry.
550test: none
551end:
552
553function: rsgDrawSpriteScreenspace
554version: 9 22
555size: 32
556ret: void
557arg: float x
558arg: float y
559arg: float z
560arg: float w
561arg: float h
562deprecated: 22
563summary: Draw rectangles in screenspace
564description:
565 Low performance function for drawing rectangles in screenspace.  This
566 function uses the default passthough ProgramVertex.  Any bound ProgramVertex
567 is ignored.  This function has considerable overhead and should not be used
568 for drawing in shipping applications.
569test: none
570end:
571
572function: rsgDrawText
573version: 9 22
574size: 32
575ret: void
576arg: const char* text
577arg: int x
578arg: int y
579deprecated: 22
580summary: Draw a text string
581description:
582 Draws text given a string and location
583test: none
584end:
585
586function: rsgDrawText
587version: 9 22
588size: 32
589ret: void
590arg: rs_allocation alloc
591arg: int x
592arg: int y
593test: none
594end:
595
596function: rsgFinish
597version: 14 22
598size: 32
599ret: uint
600deprecated: 22
601summary: End rendering commands
602description:
603 Force RenderScript to finish all rendering commands
604test: none
605end:
606
607function: rsgFontColor
608version: 9 22
609size: 32
610ret: void
611arg: float r, "red component"
612arg: float g, "green component"
613arg: float b, "blue component"
614arg: float a, "alpha component"
615deprecated: 22
616summary: Set the font color
617description:
618 Sets the font color for all subsequent rendering calls
619test: none
620end:
621
622function: rsgGetHeight
623version: 9 22
624size: 32
625ret: uint
626deprecated: 22
627summary: Get the surface height
628description:
629 Get the height of the current rendering surface.
630test: none
631end:
632
633function: rsgGetWidth
634version: 9 22
635size: 32
636ret: uint
637deprecated: 22
638summary: Get the surface width
639description:
640 Get the width of the current rendering surface.
641test: none
642end:
643
644function: rsgMeasureText
645version: 9 22
646size: 32
647ret: void
648arg: const char* text
649arg: int* left
650arg: int* right
651arg: int* top
652arg: int* bottom
653deprecated: 22
654summary: Get the bounding box for a text string
655description:
656 Returns the bounding box of the text relative to (0, 0)
657 Any of left, right, top, bottom could be NULL
658test: none
659end:
660
661function: rsgMeasureText
662version: 9 22
663size: 32
664ret: void
665arg: rs_allocation alloc
666arg: int* left
667arg: int* right
668arg: int* top
669arg: int* bottom
670test: none
671end:
672
673function: rsgMeshComputeBoundingBox
674version: 9 22
675size: 32
676ret: void
677arg: rs_mesh mesh
678arg: float* minX
679arg: float* minY
680arg: float* min
681arg: float* maxX
682arg: float* maxY
683arg: float* maxZ
684deprecated: 22
685summary: Compute a bounding box
686description:
687 Computes an axis aligned bounding box of a mesh object
688test: none
689end:
690
691function: rsgMeshComputeBoundingBox
692version: 9 22
693size: 32
694attrib: always_inline
695ret: void
696arg: rs_mesh mesh
697arg: float3* bBoxMin
698arg: float3* bBoxMax
699inline:
700 float x1, y1, z1, x2, y2, z2;
701 rsgMeshComputeBoundingBox(mesh, &x1, &y1, &z1, &x2, &y2, &z2);
702 bBoxMin->x = x1;
703 bBoxMin->y = y1;
704 bBoxMin->z = z1;
705 bBoxMax->x = x2;
706 bBoxMax->y = y2;
707 bBoxMax->z = z2;
708test: none
709end:
710
711function: rsgMeshGetIndexAllocation
712version: 16 22
713size: 32
714ret: rs_allocation, "allocation containing index data"
715arg: rs_mesh m, "mesh to get data from"
716arg: uint32_t index, "index of the index allocation"
717deprecated: 22
718summary: Return an allocation containing index data
719description:
720 Returns an allocation containing index data or a null
721 allocation if only the primitive is specified
722test: none
723end:
724
725function: rsgMeshGetPrimitive
726version: 16 22
727size: 32
728ret: rs_primitive, "primitive describing how the mesh is rendered"
729arg: rs_mesh m, "mesh to get data from"
730arg: uint32_t index, "index of the primitive"
731deprecated: 22
732summary: Return the primitive
733description:
734 Returns the primitive describing how a part of the mesh is
735 rendered
736test: none
737end:
738
739function: rsgMeshGetPrimitiveCount
740version: 16 22
741size: 32
742ret: uint32_t, "number of primitive groups in the mesh. This would include simple primitives as well as allocations containing index data"
743arg: rs_mesh m, "mesh to get data from"
744deprecated: 22
745summary: Return the number of index sets
746description:
747 Meshes could have multiple index sets, this function returns
748 the number.
749test: none
750end:
751
752function: rsgMeshGetVertexAllocation
753version: 16 22
754size: 32
755ret: rs_allocation, "allocation containing vertex data"
756arg: rs_mesh m, "mesh to get data from"
757arg: uint32_t index, "index of the vertex allocation"
758deprecated: 22
759summary: Return a vertex allocation
760description:
761 Returns an allocation that is part of the mesh and contains
762 vertex data, e.g. positions, normals, texcoords
763test: none
764end:
765
766function: rsgMeshGetVertexAllocationCount
767version: 16 22
768size: 32
769ret: uint32_t, "number of allocations in the mesh that contain vertex data"
770arg: rs_mesh m, "mesh to get data from"
771deprecated: 22
772summary: Return the number of vertex allocations
773description:
774 Returns the number of allocations in the mesh that contain
775 vertex data
776test: none
777end:
778
779function: rsgProgramFragmentConstantColor
780version: 9 22
781size: 32
782ret: void
783arg: rs_program_fragment pf
784arg: float r
785arg: float g
786arg: float b
787arg: float a
788deprecated: 22
789summary: Set the constant color for a fixed function emulation program
790description:
791 Set the constant color for a fixed function emulation program.
792test: none
793end:
794
795function: rsgProgramVertexGetProjectionMatrix
796version: 9 22
797size: 32
798ret: void
799arg: rs_matrix4x4* proj, "matrix to store the current projection matrix into"
800deprecated: 22
801summary: Get the projection matrix for a fixed function vertex program
802description:
803 Get the projection matrix for a currently bound fixed function
804 vertex program. Calling this function with a custom vertex shader
805 would result in an error.
806test: none
807end:
808
809function: rsgProgramVertexLoadModelMatrix
810version: 9 22
811size: 32
812ret: void
813arg: const rs_matrix4x4* model, "model matrix"
814deprecated: 22
815summary: Load the model matrix for a bound fixed function vertex program
816description:
817 Load the model matrix for a currently bound fixed function
818 vertex program. Calling this function with a custom vertex shader
819 would result in an error.
820test: none
821end:
822
823function: rsgProgramVertexLoadProjectionMatrix
824version: 9 22
825size: 32
826ret: void
827arg: const rs_matrix4x4* proj, "projection matrix"
828deprecated: 22
829summary: Load the projection matrix for a bound fixed function vertex program
830description:
831 Load the projection matrix for a currently bound fixed function
832 vertex program. Calling this function with a custom vertex shader
833 would result in an error.
834test: none
835end:
836
837function: rsgProgramVertexLoadTextureMatrix
838version: 9 22
839size: 32
840ret: void
841arg: const rs_matrix4x4* tex, "texture matrix"
842deprecated: 22
843summary:  Load the texture matrix for a bound fixed function vertex program
844description:
845 Load the texture matrix for a currently bound fixed function
846 vertex program. Calling this function with a custom vertex shader
847 would result in an error.
848test: none
849end:
850
851function: rsgProgramRasterGetCullMode
852version: 16 22
853size: 32
854ret: rs_cull_mode
855arg: rs_program_raster pr, "program raster to query"
856deprecated: 22
857summary: Get program raster cull mode
858description:
859 Get program raster cull mode
860test: none
861end:
862
863function: rsgProgramRasterIsPointSpriteEnabled
864version: 16 22
865size: 32
866ret: bool
867arg: rs_program_raster pr, "program raster to query"
868deprecated: 22
869summary: Get program raster point sprite state
870description:
871 Get program raster point sprite state
872test: none
873end:
874
875function: rsgProgramStoreGetBlendDstFunc
876version: 16 22
877size: 32
878ret: rs_blend_dst_func
879arg: rs_program_store ps, "program store to query"
880deprecated: 22
881summary: Get program store blend destination function
882description:
883 Get program store blend destination function
884test: none
885end:
886
887function: rsgProgramStoreGetBlendSrcFunc
888version: 16 22
889size: 32
890ret: rs_blend_src_func
891arg: rs_program_store ps, "program store to query"
892deprecated: 22
893summary: Get program store blend source function
894description:
895 Get program store blend source function
896test: none
897end:
898
899function: rsgProgramStoreGetDepthFunc
900version: 16 22
901size: 32
902ret: rs_depth_func
903arg: rs_program_store ps, "program store to query"
904deprecated: 22
905summary: Get program store depth function
906description:
907 Get program store depth function
908test: none
909end:
910
911function: rsgProgramStoreIsColorMaskAlphaEnabled
912version: 16 22
913size: 32
914ret: bool
915arg: rs_program_store ps, "program store to query"
916deprecated: 22
917summary: Get program store alpha component color mask
918description:
919 Get program store alpha component color mask
920test: none
921end:
922
923function: rsgProgramStoreIsColorMaskBlueEnabled
924version: 16 22
925size: 32
926ret: bool
927arg: rs_program_store ps, "program store to query"
928deprecated: 22
929summary: Get program store blur component color mask
930description:
931 Get program store blur component color mask
932test: none
933end:
934
935function: rsgProgramStoreIsColorMaskGreenEnabled
936version: 16 22
937size: 32
938ret: bool
939arg: rs_program_store ps, "program store to query"
940deprecated: 22
941summary: Get program store green component color mask
942description:
943 Get program store green component color mask
944test: none
945end:
946
947function: rsgProgramStoreIsColorMaskRedEnabled
948version: 16 22
949size: 32
950ret: bool
951arg: rs_program_store ps, "program store to query"
952deprecated: 22
953summary: Get program store red component color mask
954description:
955 Get program store red component color mask
956test: none
957end:
958
959function: rsgProgramStoreIsDepthMaskEnabled
960version: 16 22
961size: 32
962ret: bool
963arg: rs_program_store ps, "program store to query"
964deprecated: 22
965summary: Get program store depth mask
966description:
967 Get program store depth mask
968test: none
969end:
970
971function: rsgProgramStoreIsDitherEnabled
972version: 16 22
973size: 32
974ret: bool
975arg: rs_program_store ps, "program store to query"
976deprecated: 22
977summary: Get program store dither state
978description:
979 Get program store dither state
980test: none
981end:
982