Home | History | Annotate | Download | only in randomshaders

Lines Matching refs:m_type

77 								StridedValueRead		(const VariableType& type, const Scalar* value) : m_type(type), m_value(value) {}
79 const VariableType& getType (void) const { return m_type; }
83 const VariableType& m_type;
91 ConstStridedValueAccess (void) : m_type(DE_NULL), m_value(DE_NULL) {}
92 ConstStridedValueAccess (const VariableType& type, const Scalar* valuePtr) : m_type(&type), m_value(const_cast<Scalar*>(valuePtr)) {}
94 const VariableType& getType (void) const { return *m_type; }
118 const VariableType* m_type;
200 ConstValueRangeAccess (void) : m_type(DE_NULL), m_min(DE_NULL), m_max(DE_NULL) {}
201 ConstValueRangeAccess (const VariableType& type, const Scalar* minVal, const Scalar* maxVal) : m_type(&type), m_min(const_cast<Scalar*>(minVal)), m_max(const_cast<Scalar*>(maxVal)) {}
203 const VariableType& getType (void) const { return *m_type; }
204 ConstValueAccess getMin (void) const { return ConstValueAccess(*m_type, m_min); }
205 ConstValueAccess getMax (void) const { return ConstValueAccess(*m_type, m_max); }
218 const VariableType* m_type;
225 return ConstValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx);
230 int offset = m_type->getElementScalarOffset(elementNdx);
231 return ConstValueRangeAccess(m_type->getElementType(), m_min + offset, m_max + offset);
236 int offset = m_type->getMemberScalarOffset(memberNdx);
237 return ConstValueRangeAccess(m_type->getMembers()[memberNdx].getType(), m_min + offset, m_max + offset);
246 ValueAccess getMin (void) { return ValueAccess(*m_type, m_min); }
247 ValueAccess getMax (void) { return ValueAccess(*m_type, m_max); }
256 return ValueRangeAccess(m_type->getElementType(), m_min + compNdx, m_max + compNdx);
261 int offset = m_type->getElementScalarOffset(elementNdx);
262 return ValueRangeAccess(m_type->getElementType(), m_min + offset, m_max + offset);
267 int offset = m_type->getMemberScalarOffset(memberNdx);
268 return ValueRangeAccess(m_type->getMembers()[memberNdx].getType(), m_min + offset, m_max + offset);
280 const VariableType& getType (void) const { return m_type; }
282 ValueAccess getMin (void) { return ValueAccess(m_type, getMinPtr()); }
283 ValueAccess getMax (void) { return ValueAccess(m_type, getMaxPtr()); }
285 ConstValueAccess getMin (void) const { return ConstValueAccess(m_type, getMinPtr()); }
286 ConstValueAccess getMax (void) const { return ConstValueAccess(m_type, getMaxPtr()); }
288 ValueRangeAccess asAccess (void) { return ValueRangeAccess(m_type, getMinPtr(), getMaxPtr()); }
289 ConstValueRangeAccess asAccess (void) const { return ConstValueRangeAccess(m_type, getMinPtr(), getMaxPtr()); }
304 VariableType m_type;