Here is an example of a graphics resource using lazy creation instead of creation explicitly in the constructor.