Lines Matching defs:const

44 											RenderTarget		(const MultisamplePixelBufferAccess& colorMultisampleBuffer,
45 const MultisamplePixelBufferAccess& depthMultisampleBuffer = MultisamplePixelBufferAccess(),
46 const MultisamplePixelBufferAccess& stencilMultisampleBuffer = MultisamplePixelBufferAccess());
48 int getNumSamples (void) const;
50 const MultisamplePixelBufferAccess& getColorBuffer (int ndx) const { DE_ASSERT(de::inRange(ndx, 0, m_numColorBuffers)); return m_colorBuffers[ndx]; }
51 int getNumColorBuffers (void) const { return m_numColorBuffers; }
52 const MultisamplePixelBufferAccess& getStencilBuffer (void) const { return m_stencilBuffer; }
53 const MultisamplePixelBufferAccess& getDepthBuffer (void) const { return m_depthBuffer; }
57 const int m_numColorBuffers;
58 const MultisamplePixelBufferAccess m_depthBuffer;
59 const MultisamplePixelBufferAccess m_stencilBuffer;
64 Program (const VertexShader* vertexShader_, const FragmentShader* fragmentShader_, const GeometryShader* geometryShader_ = DE_NULL)
71 const VertexShader* vertexShader;
72 const FragmentShader* fragmentShader;
73 const GeometryShader* geometryShader;
78 DrawIndices (const deUint32*, int baseVertex = 0);
79 DrawIndices (const deUint16*, int baseVertex = 0);
80 DrawIndices (const deUint8*, int baseVertex = 0);
81 DrawIndices (const void* ptr, IndexType type, int baseVertex = 0);
83 const void* const indices;
84 const IndexType indexType;
85 const int baseVertex;
91 PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement); // !< primitive list for drawArrays-like call
92 PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices); // !< primitive list for drawElements-like call
94 size_t getIndex (size_t elementNdx) const;
95 bool isRestartIndex (size_t elementNdx, deUint32 restartIndex) const;
97 inline size_t getNumElements (void) const { return m_numElements; }
98 inline PrimitiveType getPrimitiveType (void) const { return m_primitiveType; }
99 inline IndexType getIndexType (void) const { return m_indexType; }
102 const PrimitiveType m_primitiveType;
103 const size_t m_numElements;
104 const void* const m_indices; // !< if indices is NULL, indices is interpreted as [first (== baseVertex) + 0, first + 1, first + 2, ...]
105 const IndexType m_indexType;
106 const int m_baseVertex;
112 DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_, int numVertexAttribs_, const VertexAttrib* vertexAttribs_, const PrimitiveList& primitives_)
122 const RenderState& state;
123 const RenderTarget& renderTarget;
124 const Program& program;
126 const int numVertexAttribs;
127 const VertexAttrib* const vertexAttribs;
129 const PrimitiveList& primitives;
138 void draw (const DrawCommand& command) const;
139 void drawInstanced (const DrawCommand& command, int numInstances) const;