ResShaderSource class
Base classes
-
template<typename DataType_>class ResCommon<ResShaderSourceData>
Public types
- using DataType = ResShaderSourceData
Constructors, destructors, conversion operators
Public functions
- auto getName() const -> const char*
- auto getText() const -> const char*
- auto isValid() const -> bool
- void verify() const
- auto ptr() -> DataType*
- auto ptr() const -> const DataType*
- auto ptrBytes() const -> u8*
- auto ref() -> DataType&
- auto ref() const -> const DataType&
- auto isValidMagic() const -> bool
- auto isValidVersion() const -> bool
- void assertValid() const
Protected variables
Typedef documentation
using agl:: ResShaderSource:: DataType = ResShaderSourceData
#include <common/aglResCommon.h>
Function documentation
bool agl:: ResShaderSource:: isValid() const
#include <common/aglResCommon.h>
void agl:: ResShaderSource:: verify() const
#include <common/aglResCommon.h>
DataType* agl:: ResShaderSource:: ptr()
#include <common/aglResCommon.h>
const DataType* agl:: ResShaderSource:: ptr() const
#include <common/aglResCommon.h>
u8* agl:: ResShaderSource:: ptrBytes() const
#include <common/aglResCommon.h>
DataType& agl:: ResShaderSource:: ref()
#include <common/aglResCommon.h>
const DataType& agl:: ResShaderSource:: ref() const
#include <common/aglResCommon.h>
bool agl:: ResShaderSource:: isValidMagic() const
#include <common/aglResCommon.h>
bool agl:: ResShaderSource:: isValidVersion() const
#include <common/aglResCommon.h>
void agl:: ResShaderSource:: assertValid() const
#include <common/aglResCommon.h>
Variable documentation
const DataType* agl:: ResShaderSource:: mpData protected
#include <common/aglResCommon.h>